I try to execute the following command:
npm i --save-dev @cryptlex/lexactivator
But I get the error:
npm ERR! code 127
npm ERR! path ..../myapp/node_modules/@cryptlex/lexactivator
npm ERR! command failed
npm ERR! command sh -c ./node_modules/.bin/node-pre-gyp install --msvs_version=2015 --fallback-to-build
npm ERR! sh: 1: ./node_modules/.bin/node-pre-gyp: not found
I use the WSL of Windows:
Windows 10 Pro (1909)
WSL Ubuntu-20.04
node v10.19.0
npm v7.9.0
Do you know what I could do?
Thank you!
PS: I also get the warning
npm WARN deprecated node-pre-gyp@0.17.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
EDIT: I had to downgrade my npm version to 6.14.3
now it works