Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! 404 Not Found - GET https://registry.npmjs.org/swagger-ui-react/-/swagger-ui-react-3.23.1.tgz #186

Open
jackwander opened this issue Feb 18, 2020 · 1 comment

Comments

@jackwander
Copy link

When i ran npm install this is the result

npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/camelcase-42eef4ae/package.json'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/camelcase-42eef4ae/index.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-parser-d052f658/package.json'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/camelcase-42eef4ae/license'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-parser-d052f658/README.md'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/camelcase-42eef4ae/readme.md'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-parser-d052f658/index.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/slate-react-aad7bf68/dist/slate-react.min.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/socket.io-client-17c153b2/dist/socket.io.js.map'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/video-react-99260cf1/dist/video-react.es.js.map'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/zeroclipboard-3a28fa7d/dist/ZeroClipboard.min.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/react-dom-0574f510/cjs/react-dom-server.node.production.min.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/xlsx-574f4ea5/jszip.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/react-dom-0574f510/cjs/react-dom-test-utils.development.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-85c01b6d/completion.sh.hbs'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/immutable-b6473ad8/dist/immutable.es.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-85c01b6d/index.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-85c01b6d/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/react-router-dom-7ac70fa4/umd/react-router-dom.min.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-85c01b6d/README.md'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/yargs-85c01b6d/yargs.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/semantic-ui-css-ddd766c3/semantic.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/slate-fb0102db/dist/slate.min.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/blockstack-e835fff2/.nyc_output/f26f046f-f9e9-4817-b9fa-80c796b0cefb.json'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/html-docx-js-f2439f6e/gulpfile.coffee'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/superagent-7caa2346/lib/agent-base.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/superagent-7caa2346/lib/client.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/mammoth-522f7375/mammoth.browser.min.js'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/superagent-7caa2346/lib/is-object.js'
npm WARN tar ENOENT: no such file or directory, lstat '/var/www/sites/graphite/node_modules/.staging/superagent-7caa2346/lib/node'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/emoji-mart-5a179078/data/emojione.json'
npm WARN tar ENOENT: no such file or directory, open '/var/www/sites/graphite/node_modules/.staging/superagent-7caa2346/lib/request-base.js'
npm WARN tar ENOENT: no such file or directory, lstat '/var/www/sites/graphite/node_modules/.staging/semantic-ui-react-6120e1b0/dist/es/elements/Segment'
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/swagger-ui-react/-/swagger-ui-react-3.23.1.tgz
npm ERR! 404
npm ERR! 404 'swagger-ui-react@3.23.1' 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 It was specified as a dependency of 'graphite'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-18T15_59_09_699Z-debug.log

@Deep3543
Copy link

I ran into the same problem and found out that the swagger-ui-react@3.23.1 is not registered anymore.
So, I did some findings and found a updated version available which is: swagger-ui-react@3.34.0
Go to the package.json file and under the dependencies, update the version.
As well as install the package from console by writing the following: npm install swagger-ui-react@3.34.0
It should work fine then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants