Skip to content

Due to changes in the router, route generation has been temporarily disabled. #1103

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
neerajyadav opened this issue Jun 16, 2016 · 6 comments

Comments

@neerajyadav
Copy link

Environment:

  • Os: Windows 10
  • angular-cli: 1.0.0-beta.6
    node: 6.2.1
    npm: 3.9.3
    os: win32 x64

This app was created with angular-cli.
package.json

"dependencies": { "@angular/common": "2.0.0-rc.2", "@angular/compiler": "2.0.0-rc.2", "@angular/core": "2.0.0-rc.2", "@angular/http": "2.0.0-rc.2", "@angular/platform-browser": "2.0.0-rc.2", "@angular/platform-browser-dynamic": "2.0.0-rc.2", "@angular/router": "2.0.0-rc.2", "@angular/router-deprecated": "2.0.0-rc.2", "@angular/upgrade": "2.0.0-rc.2", "angular2-universal": "^0.102.1", "body-parser": "^1.15.1", "es6-shim": "0.35.1", "express": "^4.13.4", "preboot": "^2.1.2", "reflect-metadata": "0.1.3", "rxjs": "5.0.0-beta.6", "systemjs": "0.19.26", "zone.js": "0.6.12" }, "devDependencies": { "angular-cli": "1.0.0-beta.6", "codelyzer": "0.0.20", "ember-cli-inject-live-reload": "1.4.0", "jasmine-core": "2.4.1", "jasmine-spec-reporter": "2.5.0", "karma": "0.13.22", "karma-chrome-launcher": "0.2.3", "karma-jasmine": "0.3.8", "protractor": "3.3.0", "ts-node": "0.5.5", "tslint": "3.11.0", "typescript": "1.8.10", "typings": "0.8.1" }

while generating new route from cli, it gives error:

Due to changes in the router, route generation has been temporarily disabled. You can find more information about the new router here: http://victorsavkin.com/post/145672529346/angular-router

@alexandrearc
Copy link

Is this related? It happens while create a new app:

@angular/router@3.0.0-alpha.3 postinstall: typings install
spawn ENOENT
Error: @angular/router@3.0.0-alpha.3 postinstall: typings install
spawn ENOENT
at ChildProcess. (/usr/local/lib/node_modules/angular-cli/node_modules/npm/lib/utils/spawn.js:17:16)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:827:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

@tagazok
Copy link

tagazok commented Jun 16, 2016

@alexandrearc it happened to me also.
I removed typings and reinstalled it :

rm -rf /usr/local/bin/typings
npm install typings --global

@alexandrearc
Copy link

alexandrearc commented Jun 16, 2016

@tagazok i will give it a try. I had opened a new issue for it, maybe invalid then.

@jasonswett
Copy link

I think this might be a dup of #1093.

I'm experiencing the same issue.

@filipesilva
Copy link
Contributor

Closing as dup of #1093.

@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

5 participants