Skip to content

Getting the error (Emitted value instead of an instance of Error) Cannot find source file 'compiler.es5.ts' after ejecting webpack.config.js #7115

@maxkoretskyi

Description

@maxkoretskyi

Bug Report or Feature Request (mark with an x)

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

Versions.

@angular/cli: 1.2.1
node: 6.9.5
os: win32 x64

Repro steps.

$ ng new somerepo
$ cd somerepo
$ npm i
$ ng eject
$ npm start

The log given by the failure.

WARNING in /@angular/compiler/@angular/compiler.es5.js
(Emitted value instead of an instance of Error) Cannot find source file 'compiler.es5.ts': Error: Can't resolve './compiler.es5.ts' in 'D:\Projects\innovation-studio-packages\packages\innovation-studio\node_modules@angular\compi
ler@angular'
@ ./~/@angular/platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js 7:0-72
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://localhost:4200 ./src/main.ts

Desired functionality.

No errors

Mention any other details that might be useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions