convector-rest-api icon indicating copy to clipboard operation
convector-rest-api copied to clipboard

typescript issue when trying to run lerna bootstrap

Open Merrick17 opened this issue 4 years ago • 1 comments

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

image

Merrick17 avatar Sep 08 '20 14:09 Merrick17

  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.

bernardo9999 avatar Sep 14 '20 01:09 bernardo9999