NPM Package not found but found on website

前端 未结 2 375
遇见更好的自我
遇见更好的自我 2021-01-07 15:46

so I am trying to install

https://www.npmjs.com/package/@progress/kendo-react-grid

the package exists on the website but when I run the command



        
2条回答
  •  花落未央
    2021-01-07 16:05

    It looks like you were not able to reach the npm-public registry, follow below steps:

    1) You can set npm-public registry URL by hitting below command from the terminal.

    npm set registry http://registry.npmjs.org/.

    2) Then clear the npm cache using npm cache clean --force.

    3)Then open your .npmrc file, you can find and open the same using gedit ~/.npmrc command and add below line in it:

    @progress:registry=http://registry.npmjs.org/

    Then hit npm i @progress/kendo-react-grid --verbose command.

    Hope this will work for you!

提交回复
热议问题