create-react-app ERR! 404 Object Not Found - javascript

I'm trying to run create-react-app (npx create-react-app fetching-images), it loads for a while then I get this error every time:
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code E404
npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/cyclist/-/cyclist-1.0.1.tgz - not_found
npm ERR! 404
npm ERR! 404 'cyclist#https://skimdb.npmjs.com/registry/cyclist/-/cyclist-1.0.1.tgz' 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.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Eric/.npm/_logs/2021-03-14T10_02_15_171Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
I completely uninstalled node, npm and npx, and then reinstalled the newest version from https://nodejs.org/en/ but still get the this error. I'm on macOS(v.11.2.2), npm v.7.6.0, node v.15.11.0.
How do I fix this error?

Please try setting this:
npm config set registry http://registry.npmjs.org

Related

How to install movie-trailer npm package without these errors?

How do you install the movie-trailer npm package without getting these errors:
$ npm I movie-trailer
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/movie-tralier - Not found
npm ERR! 404
npm ERR! 404 'movie-tralier#*' is not in this registry.
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! C:\Users\CCS LAPTOP HYD\AppData\Local\npm-cache\_logs\2022-08-19T21_09_44_170Z-debug-0.log
You are using wrong arguments and/or a package that cannot be found.
You misspelled word movie-trailer in that command, try this npm i movie-trailer

Not able to install bootstrap version 5.1.3 using npm install react-bootstrap bootstrap#5.1.3

These are the errors that are returnend. I need help help fixing them so I can continue my project for my institute
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/react-bootsrtap - Not found
npm ERR! 404
npm ERR! 404 'react-bootsrtap#*' is not in this 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.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jaund\AppData\Local\npm-cache_logs\2021-12-11T07_09_08_861Z-debug.log

npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! errno ERR_SOCKET_TIMEOUT

Creating a new React app in /home/abhijith/Desktop/React/firstReact/myapp.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/find-cache-dir failed, reason: Socket timeout
npm ERR! A complete log of this run can be found in:
npm ERR! /home/abhijith/.npm/_logs/2021-04-08T17_06_38_087Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting myapp/ from /home/abhijith/Desktop/React/firstReact
Done.
i tried sudo npm update npm -g,
npm cache clean --force
still showing this error
I've faced the same issue in node V16.14.0, then I've found two solutions.
Using timeout flag for weak internet connection
npx create-react-app clients -timeout=100000
Downgrade my nodejs version from v16.14.0 to v16.0.0. In v16.0.0, I didn't face the issue.

How to fix npm ERR! Cannot find module './src/table' when running npx create-react-app

On Windows 10, I am getting this error: npm ERR! Cannot find module './src/table' when trying to start a new project with
npx create-react-app my-app. I searched around but really couldn't find anything about this module './src/table'
Here is the log:
$ npx create-react-app my-app
Creating a new React app in D:\reandomDirectory.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module './src/table'
npm ERR! Require stack:
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\node_modules\cli-table3\index.js
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\node_modules\npm-audit-report\reporters\detail.js
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\node_modules\npm-audit-report\index.js
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\lib\install\audit.js
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\lib\install.js
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\lib\npm.js
npm ERR! - C:\Users\MyPC\AppData\Roaming\nvm\v12.16.1\node_modules\npm\bin\npm-cli.js
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MyPC\AppData\Roaming\npm-cache\_logs\2021-05-24T01_01_52_667Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting my-app/ from D:\reandomDirectory
Done.
I have version 3.4.1 globally installed and even if I try to uninstall it I get the same error.
Also, the directory where I am trying to start the project is completely empty.
Any idea of how I could fix this?

How can i install node_modules?

I used npm i command to install node_modules in my vue.js project, but I am getting the error shown below:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/#fds%2flima-ticket-validator - Not found
npm ERR! 404
npm ERR! 404 '#fds/lima-ticket-validator#^2.0.0' 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 'cef_frontend'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
The #fds/lima-ticket-validator package doesn't exist on the public NPM registry. Is it possible this is an internal package hosted by your companies internal registry?
You may need to do something like:
npm config set registry https://example.your-registry.com/
https://www.npmjs.com/package/#fds/lima-ticket-validator

Categories