-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local setup #35
Comments
@PhilGarb Sorry for the hassle getting your local env setup. I'll put together a contributors guide so this is a little more seamless in the future. For now though, the main thing is you'll need to use |
Thank you so much! It worked right away. I have never seen this syntax. Is this like npm or yarn link just in the package.json? |
Yeah exactly, it tells it to treat the directory you specify as if it were a node module under the provided name. Pretty handy! It does have a couple pitfalls, and one of those is that the syntax for it is different between npm and yarn for some reason. |
I would like to try out different theming approaches to help out with #18. I see that there is an example directory to test the library during development. I do however have difficulties running it. I see, that flume (node-editor), react and react-dom are linked locally. Is that necessary to run the example? I have tried installing react and react-dom and npm linking the node-editor to the example, but I get the error:
Cannot read property 'thisCompilation' of undefined
when runningnpm run start
.@chrisjpatty could you elaborate on how to setup the library for local development?
The text was updated successfully, but these errors were encountered: