Skip to content

Mac OSX Yosemite, node - v6.1.0, ng --version is not working (ng: command not found) #788

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

Closed
info007 opened this issue May 16, 2016 · 2 comments

Comments

@info007
Copy link

info007 commented May 16, 2016

step:1 - Installed angular-cli gloablly and used below commad to create my-app structure

step:2 - sudo /Users/xxx/node_modules/angular-cli/bin/ng new my-app

Getting Error as:
(node:84630) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
installing ng2
create .clang-format
create .editorconfig
create src/app/lego-search6.component.css
create src/app/lego-search6.component.html
create src/app/lego-search6.component.spec.ts
create src/app/lego-search6.component.ts
create src/app/environment.ts
create src/app/index.ts
create src/app/shared/index.ts
create src/favicon.ico
create src/index.html
create src/main.ts
create src/system-config.ts
create src/tsconfig.json
create src/typings.d.ts
create angular-cli-build.js
create angular-cli.json
create config/environment.dev.ts
create config/environment.js
create config/environment.prod.ts
create config/karma-test-shim.js
create config/karma.conf.js
create config/protractor.conf.js
create e2e/app.e2e.ts
create e2e/app.po.ts
create e2e/tsconfig.json
create e2e/typings.d.ts
create .gitignore
create package.json
create public/.npmignore
create tslint.json
create typings.json
getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup as oncomplete

@hansl
Copy link
Contributor

hansl commented May 16, 2016

Node 6 isn't fully supported yet. We have to test it properly. There's a PR in the work but it's still a way to be 100% compatible. We'll update the README when we have full support.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants