-
Notifications
You must be signed in to change notification settings - Fork 12k
Error after installation #1045
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
Comments
Somehow an empty package.json was initialized in the home directory which was conflicting with it. Once I deleted that file, it started working fine. |
I had the same issue today on Linux (immediately after a new global install). The empty package.json wasn't in my home dir though, it was in the parent of the dir I was in when I issued the install command. I also solved the problem by removing this file. |
I had the same, with a |
I had a similar issue on Windows 10 using npm 3.10.10... I did 2 things that were stated in the discussion: firstly I created the package.json and then I added the "optionalDependencies": {"fsevents: "*" }. Both of these were suggested by posts in this discussion but I can't get back to the top portion of the blog (??). So I can't get the names of the contributors. Now it seems to work without down grading. Thanks |
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. |
Mac OS X Yosemite
ng --version
. If there's nothing outputted, pleaserun in a Terminal:
node --version
And paste the result here.
node --version
v5.11.1
do on your code? etc.
Fresh install of Node via NVM. Ran npm install -g angular-cli, completes without issue (just lodash warnings, no errors).
Unable to run ng --version, ng --help, or any other command without generating the below error.
more information.
The text was updated successfully, but these errors were encountered: