Project startup error: related to modules and node versions

programme1:

1. The code uses the master branch.

2. Delete node_ module ,   Yarn lock file, package lock file.

3. Use NPM install or yarn

programme2

1. Find other people’s nodes_ modules

2. Look for other people’s yarn.lock and package-lock.json files and try to install yarn again   And NPM install

3. Open the process management program and close the applications that occupy a large amount of memory in the computer

 

programme3

1. Including node version upgrade

2. Expand node memory: export node_ OPTIONS=”–max-old-space-size=10240″

 

programme4:

Close the project, restart the computer and operate again

Similar Posts: