question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng breaks with `1.3.0-rc.4`

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

1.3.0-rc.4 ng -vbreaks (see below).

1.3.0-rc.3 works correctly and outputs:

@angular/cli: 1.3.0-rc.3
node: 7.4.0
os: darwin x64

1.2.7 does work too.

Repro steps.

npm uninstall -g @angular/cli && npm i -g @angular/cli@1.3.0-rc.4
ng -v

The log given by the failure.

ng -v breaks with:

ng -v                                                                                                    ✹ ✭
module.js:472
    throw err;
    ^

Error: Cannot find module '../models/config'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/ced-pro/.nvm/versions/node/v7.4.0/lib/node_modules/@angular/cli/bin/ng:7:19)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

Same for ng new.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hanslcommented, Aug 3, 2017

This has been fixed in Angular CLI 1.3.0-rc.5.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 7, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ui-date-format error in angular 1.3.0-rc.4 · Issue #96 - GitHub
"Error: ng-Model value must be a Date object - currently it is a string - use ui-date-format to convert it from a string"...
Read more >
AngularJS 1.3.0-rc.5 breaking example for select using ... - Plunker
var app = angular.module('plunker', []); app.controller('MainCtrl', function($scope, $timeout) { $scope.loading = true; $timeout(function() ...
Read more >
AngularJS: Developer Guide: Migrating from Previous Versions
Minor version releases in AngularJS introduce several breaking changes that may require changes to your application's source code; for instance from 1.0 to ......
Read more >
ng-include onload not working anymore in angularjs 1.2.0 rc
ng-include can't be on the same element as ng-controller. ... Because it's just broken, and there is currently no workaround.
Read more >
ng-packagr/CHANGELOG.md - UNPKG
The CDN for ng-packagr. ... 25, * add support for TypeScript 4 ([eb8b0c2](https://github.com/ng-packagr/ng-packagr/commit/ ... 595, ### BREAKING CHANGES.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found