所以我想安装
https://www.npmjs.com/package/@progress/kendo-react-
grid
该软件包存在于网站上,但是当我运行命令时
npm i @progress/kendo-react-grid
我收到404错误
想法?
到目前为止,我认为用户范围是什么
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'i',
1 verbose cli '@progress/kendo-react-grid' ]
2 info using npm@5.7.1
3 info using node@v8.9.4
4 verbose npm-session 8a16ec43dbb6fa7f
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 404 https://registry.npmjs.org/@progress%2fkendo-react-grid 845ms
8 silly fetchPackageMetaData error for @progress/kendo-react-grid@latest 404 Not Found: @progress/kendo-react-grid@latest
9 verbose stack Error: 404 Not Found: @progress/kendo-react-grid@latest
9 verbose stack at fetch.then.res (/usr/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:42:19)
9 verbose stack at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
9 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
9 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
9 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
9 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18)
9 verbose stack at Async._drainQueue (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
9 verbose stack at Async._drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
9 verbose stack at Immediate.Async.drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
第二次尝试
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node',
npm verb cli '/usr/bin/npm',
npm verb cli 'i',
npm verb cli '@progress/kendo-react-grid',
npm verb cli '--verbose' ]
npm info using npm@5.7.1
npm info using node@v8.9.4
npm verb npm-session b5bf7033664f004a
npm verb stack TypeError: Only absolute URLs are supported
npm verb stack at getNodeRequestOptions (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/request.js:131:11)
npm verb stack at fetch.Promise (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/index.js:44:21)
npm verb stack at new Promise (<anonymous>)
npm verb stack at fetch (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/index.js:41:10)
root@NA-MC-PRO4-MA:/mnt/c/Workspace# npm i @progress/kendo-react-grid --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node',
npm verb cli '/usr/bin/npm',
npm verb cli 'i',
npm verb cli '@progress/kendo-react-grid',
npm verb cli '--verbose' ]
npm info using npm@5.7.1
npm info using node@v8.9.4
npm verb npm-session 9c84ebec03e4764f
npm verb stack TypeError: Only absolute URLs are supported
npm verb stack at getNodeRequestOptions (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/request.js:131:11)
npm verb stack at fetch.Promise (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/index.js:44:21)
npm verb stack at new Promise (<anonymous>)
npm verb stack at fetch (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/index.js:41:10)
npm verb stack at retry (/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/index.js:332:14)
npm verb stack at /usr/lib/node_modules/npm/node_modules/pacote/node_modules/promise-retry/index.js:29:24
npm verb stack at <anonymous>
npm verb cwd /mnt/c/Workspace
npm verb Linux 4.4.0-43-Microsoft
npm verb argv "/usr/bin/node" "/usr/bin/npm" "i" "@progress/kendo-react-grid" "--verbose"
npm verb node v8.9.4
npm verb npm v5.7.1
npm ERR! Only absolute URLs are supported
npm verb exit [ 1, true ]
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-03-13T20_30_15_208Z-debug.log
我看着我的~/.npmrc
,这就是里面的东西
//registry.npmjs.org/:_password="XXXXXX"
//registry.npmjs.org/:username=XXXXX
//registry.npmjs.org/:email=XXXXXX@XXXXX.xom
//registry.npmjs.org/:always-auth=false
与~/.npmrc
该#
用于评论查看文档
我注释掉了所有4行,并且能够运行
npm i @progress/kendo-react-grid successfully
无论出于何种原因,我都没有在https://www.npmjs.com上开设帐户
问题内容: 我正在尝试安装一些示例的依赖项:我已经下载了npm ,但是所有应用程序都抛出相同的错误: 堵塞似乎是: 没有这样的文件或目录’c:\ node \ stylus \ package.json 我是否错过了创建的步骤? 我在run: Windows 7 64位 npm 1.1.1 node6.11 express2.5.8 问题答案: 更新2018 这已成为一个很受欢迎的问题,我的回答(
在这个linux服务器上,我有一个名为“myuser”的用户。对于此用户,在回显路径时,我得到这个: /home/myuser/bin:/home/myuser/.local/bin:/home/myuser/.nvm/versions/node/v6.11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/us
问题内容: 我有一个问题:nodemon不能运行npm脚本(例如), 但是如果在npm脚本之外的命令行上调用nodemon ,则nodemon会正常运行。 在npm脚本中如何调用它: 运行npm start脚本时: 我一直在寻找解决方案,但没有找到解决方案。 问题答案: 您可以通过添加以下内容来解决此问题: 在中不存在时会发生问题。 已添加,因为仅在开发期间才需要。
我有一个自动化项目使用Selenium,它将调用ChromeWebDriver并运行testcase 但Chromedriver不能在聚合物框架构建的网站上显示元素, 我们可以通过检查F12查看元素。但chromedriver找不到元素。 这里是网站的urlhttps://shop.polymer-project.org/我们不能使用ChomeDriver来查找元素内部节点“影子根”。此处代码:
当我尝试安装npm与,我得到以下错误: E:找不到包npm 为什么找不到npm?我正在使用Debian 9并且已经运行了
我正在尝试使用Karma进行测试,我正在遵循Angulars自己的测试指南。目前我正在使用最基本的测试类,但在运行它时遇到了问题。 测试类别: 当我使用npm test运行它时,在命令提示符中出现以下错误: 我已经检查了它找不到的文件,它存在于错误所述的目录中,所以我不知道该怎么办。