-
Notifications
You must be signed in to change notification settings - Fork 936
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
Examples npm run dev failing #45
Comments
I believe you didn't type Never mind, I fixed the Please let me know if it works, thanks! |
Thanks for the fast reply, unfortunately it's still not working. The webpack compiles until if fails with this error:
So it seems to be something not compiling right. I'm running on Mac OSX 10.10.1 but wouldn't think that should matter. I actually tried cloning installing and running on 2 Macs and they fail at the same spot. |
Here's a gist of what's happening: |
I was able to find a working version here:
|
Likewise seeing this error when building the example pages.
(This is on a fresh clone/install) |
I'm wondering if this is an issue with what version of node is being used server side. Running this version: Causes "npm run dev" to fail and it is when the app was converted to an isometric one. Looks like it's coming from eval.createScript() not being able to parse the content being passed into it maybe. |
I don't know much about Webpack (I use Browserify)... Is there even a server involved when running just |
webpack-dev-server still uses webpack, it just starts up a dev server for it as well. The problem is that IsomorphicReactPluginFactory.js compiles all the required js into a component and then uses React.renderToString(ServerComponent) to render the client side from the server component. I think eval could be the culprit, but not exactly sure how to fix it at this point. |
I was able to fix the issue on master, I changed line 56 of It's not the best since it uses javascript eval but it allows the server to start. |
Sorry I missed the thread, I'm considering this issue might be related to versioning issues of |
Got the same error today at
|
Thanks @lapint for spotting |
I'd like to contribute to this project with however I'm running into the following error even in
Any quick solutions to fix this or remove the dependency? |
@urban hmm in latest
|
@tomchentw Yes, you are right. When I wrote my earlier post, I didn't realize I was in your |
No worries @urban ! Glad it works now. |
Still having issues building the docs on the latest version and on multiple computers.
|
0 info it worked if it ends with ok getting error while running npm start command |
I have added "scripts": { to start webpack |
@tomchentw |
I've been having troubles running "npm run build" from examples/gh-pages
npm-debug.log outputs the following:
In addition, I found this in the output of the run:
Can you provide any insight into why this might be failing?
Thanks
The text was updated successfully, but these errors were encountered: