-
Notifications
You must be signed in to change notification settings - Fork 12k
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
"ng new" throws an error while installing dependencies, dependency "error-ex" not found #16944
Comments
This seems like a problem with your node/npm and not with Angular CLI. Please have a look at the fixing npm permissions page, common errors page, npm issue tracker, or open a new issue in that issue tracker if the problem you are experiencing isn't known. |
facing the same problem |
i got the same error |
Note this line in your log:
Try going to that URL and see if you can access it. For me the request does not 404. If it does then there is some problem with you npm registry connection. |
the request does error 404 |
the url get 404 |
as a temporary fix you can manually install "error-ex" module directly from GitHub then install your dependencies as mentioned here facebook/create-react-app#8465 (comment) $ npm i https://github.com/Qix-/node-error-ex |
refer mentioned thread, |
I had a similar problem. It appears to be an npm problem. Then I changed my package manager for Angular by running ng config -g cli.packageManager yarn. I literally shouted, "Thank you Yarn" |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I installed angular 9 cli, my node.js is on latest version. While I try to create a new angular project im getting the following error.
/ Installing packages...npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex
npm ERR! 404
npm ERR! 404 'error-ex@^1.3.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 'parse-json'
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\user\AppData\Roaming\npm-cache_logs\2020-02-12T04_52_40_200Z-debug.log
× Package install failed, see above.
The Schematic workflow failed. See above.
The text was updated successfully, but these errors were encountered: