Skip to content

error after updating to 6.0.0-rc.1 #10214

@aciccarello

Description

@aciccarello

Versions

_                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
/ ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
|___/

Angular CLI: 6.0.0-rc.1
Node: 8.9.1
OS: win32 x64
Angular: 6.0.0-rc.1
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router, upgrade

@angular/cdk: 6.0.0-rc.0
@angular/flex-layout: 5.0.0-beta.14
@angular/material: 6.0.0-rc.0
@angular-devkit/architect: 0.5.1
@angular-devkit/build-angular: 0.5.1
@angular-devkit/build-optimizer: 0.5.1
@angular-devkit/core: 0.5.1
@angular-devkit/schematics: 0.5.1
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.1
@schematics/angular: 0.5.1
@schematics/update: 0.5.1
typescript: 2.7.2
webpack-bundle-analyzer: 2.10.0
webpack: 4.5.0

Repro steps

  • Install project using angular-cli 1.6.8 on windows
  • npm install angular-cli@next and latest angular packages
  • run ng update @angular/cli --migrate-only --from=1.6.8 command
  • ng serve

Observed behavior

> ng serve --proxy-config proxy.config.json

** Angular Live Development Server is listening on localhost: 4200, open your browser on http://localhost:4200/ **
Date: 2018-04-06T16:42:07.104Z
Hash: 98214584febaabfd54d1
Time: 147074ms
chunk {main} main.js, main.js.map (main) 1.99 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 711 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.09 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.67 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered]

ERROR in ENOENT: no such file or directory, stat 'C:\C\Users\username\Documents\Projects\projectname\src\app\app.module.ts'
i 「wdm」: Failed to compile.

Desired behavior

The extra C/\ should be removed from the C:\C\Users path so app.module.ts can be found.

Mention any other details that might be useful (optional)

When I initially updated to 6.0.0-rc.1 I did not get a warning to run ng update. I only ran that because ng serve was not working.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentneeds: repro stepsWe cannot reproduce the issue with the information givenseverity3: broken

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions