example_cml icon indicating copy to clipboard operation
example_cml copied to clipboard

Error install as a package

Open kurniarahmattt opened this issue 3 years ago • 1 comments

# npm i -g @dvcorg/cml
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 127
npm ERR! path /root/.nvm/versions/node/v16.0.0/lib/node_modules/@dvcorg/cml/node_modules/ssh2
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! sh: 1: node: Permission denied

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-04-05T12_04_56_558Z-debug.log

before that error I change version node from >17.x to 16.0, what version should I install for node, npm, or other dependencies for installing process?

thanks

kurniarahmattt avatar Apr 05 '22 12:04 kurniarahmattt

Generally LTS versions of Node should work. 16 is best for now :)

casperdcl avatar Apr 21 '22 14:04 casperdcl