1

我在第二点添加了文档中描述的包:

$ npm install @here/maps-api-for-javascript --save

之后我进入package.json

//...
    "dependencies": {
        "@here/maps-api-for-javascript": "^1.17.2"
    }
//...

经过一些更改后,我将代码部署到远程服务器并键入:

$ npm install

并得到错误:

/...
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@here%2fmaps-api-for-javascript - Not found
npm ERR! 404 
npm ERR! 404  '@here/maps-api-for-javascript@1.17.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
4

0 回答 0