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

typescript issue when trying to run lerna bootstrap #20

Open
Merrick17 opened this issue Sep 8, 2020 · 1 comment
Open

typescript issue when trying to run lerna bootstrap #20

Merrick17 opened this issue Sep 8, 2020 · 1 comment

Comments

@Merrick17
Copy link

when I try to to add the package and run lern bootstrap I receive this

image

@bernardo9999
Copy link

  1. Check if you´ve got the Node 8.11.0 installed.
  2. Check in the package.json of the nodes_modules/@types/node is the required of the server package.json. Should be "@types/node": "^12.0.8", in the "devDependencies".
  3. If the the package.json of the nodes_modules/@types/node is not the "12.0.8" version, install the node 8.11.0 version (you might want to use nvm)
  4. Clean the node_modules in the root of your project and install it again: npm install
  5. Check if the package.json of the nodes_modules/@types/node now is the correct "12.0.8" version.
  6. Run npx lerna clean --yes
  7. npx lerna bootstrap

This should solve your problem.

@worldsibu: recommend update the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants