-
Notifications
You must be signed in to change notification settings - Fork 843
Your example doesn't work #31
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
Comments
Are you using Node >= 4 and an up to date git checkout video13
npm i
npm run start
open localhost:8080/webpack-dev-server |
Node 4.5.0 and npm was a part of Node (Windows installation) On Mon, Sep 26, 2016 at 5:25 PM, Pierre [email protected] wrote:
|
http://localhost:8080/webpack-dev-server/ ERROR in ./app/config/routes.js |
I will be very appreciate if somebody can give me an idea what is wrong with compiling code under windows. |
The error info you provided says there is an unexpected token in line 14 of the routes file. Go look there and try to find out what is going on. |
You didn't read my last message. Video 12 works on Linux box and doesn't work on any windows computer. |
I read your message and I'm saying the issue appears to be on line 14 of your routes file according to the error and you should look there. It could be a line ending issue or something like that. |
I'm using PyCharm IDE on Windows. When I run your code, I get the following error:
Hash: 21e367e251c35209471c ERROR in ./app/index.js Is there a problem with modules? --- Fix -- npm install --save-dev babel-preset-react |
I've unfortunately hit the same issue. Seems to be a common issue on windows: I first got the error in video12 when setting up react-addons-css-transition-group, style-loader, and css-loader. |
I ran into the same error while working through video 12 - on windows 10. @rohitpujar's solution solved the issue for me: |
Thanks. It solved issue. |
Hi! Thanks for filing this. As of tomorrow morning, the entire course will have been re-built and re-recorded from scratch. That means that this issue is no longer valid. Thanks again! |
I downloaded your repository.
Executed npm install
when I tried to execute npm run I got error
ERROR in ./app/config/routes.js
Module parse failed: C:\React-Fundamentals-video12\app\config\routes.js Unexpected token (14:2)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (14:2)
at Parser.pp$4.raise (C:\React-Fundamentals-video12\node_modules\webpack\node_modules\acorn\dist\acorn.js:2221:15)
The text was updated successfully, but these errors were encountered: