-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Unexpected token "<" on index.js after npm eject. #3491
Comments
Unfortunately we'll need a copy of your project to help diagnose this. You can probably strip out everything but index.js. |
I guess you might have changed either |
Here is my project: https://bitbucket.org/christopherdumas/kairos. I'll create an |
I haven't modified the webpack config at all, in fact the reason I ejected was in order to do that, but I haden't gotten to doing that when the error happened. |
@Timer, I was able to reproduce the behavior by deleting everything from my project except the basic files, |
@ChristopherDumas it's because you have a This commit would've caused the break. Altering your |
As for your master branch, you removed vital configuration out of your On a fresh eject you can find your |
Oh, okay. Thank you! |
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Yes
Which terms did you search for in User Guide?
token, eject, start, server, webpack, <
Environment
node -v
: 8.9.1npm -v
: 5.5.1Then, specify:
Steps to Reproduce
npm start
s.npm start.
Expected Behavior
I expected the development server to run like normal and serve up my application with no errors, since I hadn't changed my project at all since
eject
ion.Actual Behavior
Instead, the development server spat out this error:
Reproducible Demo
I was able to reproduce this behaviour by deleting everything from my project except the basic files,
index.js
andApp.js
(which I made as basic as possible). You can get it here:https://bitbucket.org/christopherdumas/kairos/branch/eject.
The text was updated successfully, but these errors were encountered: