Skip to content
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

Cannot npm start/build after npm install: node_modules/@babel/compat-data/data/corejs3-shipped-proposals #91

Closed
heberleh opened this issue May 6, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@heberleh
Copy link

heberleh commented May 6, 2022

Error: Cannot find module '... /lineup_app/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'

After cloning and npm install, the npm start and npm build give this error.

@heberleh
Copy link
Author

heberleh commented May 6, 2022

After deleting package.lock and node_modules, to try to force an update, npm install gave this error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: lineup_app@4.0.0
npm ERR! Found: tslint@6.1.3
npm ERR! node_modules/tslint
npm ERR! dev tslint@"^6.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer tslint@"^5.0.0" from tslint-consistent-codestyle@1.16.0
npm ERR! node_modules/tslint-consistent-codestyle
npm ERR! dev tslint-consistent-codestyle@"^1.16.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

@heberleh
Copy link
Author

heberleh commented May 6, 2022

sudo npm update --depth 5 @babel/preset-env
sudo npm update --depth 5 @babel/compat-data

locally 'solved the problem'

@thinkh thinkh added the bug Something isn't working label May 6, 2022
@sgratzl
Copy link
Member

sgratzl commented May 7, 2022

this project is optimized in using https://yarnpkg.com/

@heberleh
Copy link
Author

heberleh commented May 9, 2022

README points user to use npm

@sgratzl
Copy link
Member

sgratzl commented May 11, 2022

in the development branch it correctly points to yarn: https://github.com/lineupjs/lineup_app/tree/develop#development-environment

@sgratzl sgratzl closed this as not planned Won't fix, can't repro, duplicate, stale Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants