weixin_39712969 2020-11-21 18:42
浏览 0

npm install command shows some error

while I give command npm install it shows some errors. Please let me know.

npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ETARGET

npm ERR! notarget No compatible version found: append-transform@^0.4.3 npm ERR! notarget Valid install targets: npm ERR! notarget 0.4.0, 0.3.0, 0.2.2, 0.2.1, 0.2.0 npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'istanbul-lib-hook' npm ERR! notarget

npm ERR! Please include the following file with any support request: npm ERR! /Users/apple/.Trash/tree-master/npm-debug.log

该提问来源于开源项目:react-component/tree

  • 写回答

5条回答 默认 最新

  • weixin_39712969 2020-11-21 18:42
    关注

    over come this error by using the command

    npm install npm -g

    which installs the dependencies

    评论

报告相同问题?