A project built using react's official scaffolding will not start after running npm run eject

  1. the project I created with create-react-app my-app official scaffolding

in the beginning, there are only three folders: node_modules and public,src, and no configuration files such as config and webpack.base.conf.js are found. What if I want to configure the global ip address?
for example:

in vue

clipboard.png
the picture above is vue

< hr >

later, I ran npm run eject and said I could expose the configuration file
, but after running it, I couldn"t start the project with npm start

.

=
2. Now I"m going to start create-react-app my-app and stop npm run eject.
how can I configure cross-domain agents and global url?

Mar.28,2021

what has been reported wrong after 1.run eject, can you post the error
2. If you don't want eject, you can use https://github.com/timarney/r.


have you solved the problem


eject, you need to re-load
npm install


I also use scaffolding, but what to do without that webapck.config.prod.js file after npm run eject

Menu