我有一个Node.js应用程序.当我尝试运行时,npm install它会挂起:
loadIdealTree:loadAllDepsIntoIdealTree: sill install loadIdealTree
Run Code Online (Sandbox Code Playgroud)
npm install --verbose 给了我一些额外的信息:
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'install',
npm verb cli '--verbose',
npm verb cli 'aws-sdk-js' ]
npm info using npm@5.8.0
npm info using node@v8.9.2
npm verb npm-session ea38310110279de7
npm http fetch GET 404 https://registry.npmjs.org/aws-sdk-js 2211ms
npm verb stack Error: 404 Not Found: aws-sdk-js@latest
npm verb stack at fetch.then.res (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:42:19)
npm verb stack at …Run Code Online (Sandbox Code Playgroud)