-
Notifications
You must be signed in to change notification settings - Fork 429
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
npm start
failed after npm run eject
and (Invalid Host header)
#261
Comments
i have fixed this proplem by run |
npm start
failed after npm run eject
npm start
failed after npm run eject
and (Invalid Host header)
i have fixed this issue by add a new file called |
Once you have run By ejecting, you have just converted your project into a completely stand-alone project. react-app-rewired is used so that you don't need to eject to make changes, since it is not possible to "uneject". Further, I can normally use You did not need to use eject for this. |
after |
you can check package.json file, 2 files have changes before and after npm eject |
React-app-rewired is not needed for an ejected project. It is designed to let you make changes to the configuration without having to eject. |
npm install -g react-scripts after that run npm run eject, or you can use npx instead of npm |
My issues was having my dependancies in a parent folders
|
My project was build through
create-react-app my-app
and i usereact-app-rewired
to manage a css library. When i want to modify host from 'localhost:3000' to 'localhost.xxxxx.cn:3000' so that i runnpm run eject
to find if possible. But afetr that, i can't usenpm start
(react-app-rewired start) to start my project cause it's turns out an error:my package.json is:
The text was updated successfully, but these errors were encountered: