Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Updating CLI to ^1.2.6#36

Open
pratikthecook wants to merge 1 commit intoadeora:masterfrom
pratikthecook:master
Open

Updating CLI to ^1.2.6#36
pratikthecook wants to merge 1 commit intoadeora:masterfrom
pratikthecook:master

Conversation

@pratikthecook
Copy link

Current Scenario : Angular CLI 1.1.2 Throws Issue #35

ERROR in ./src/main.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
at Object.getNewLineCharacter (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:9618:20)
at Object.createCompilerHost (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:66867:26)
at Object.ngcLoader (/home/pratik/WebstormProjects/playground/playground/node_modules/@ngtools/webpack/src/loader.js:397:33)
@ multi webpack-dev-server/client?http://localhost:4201 ./src/main.ts

ERROR in ./src/polyfills.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
at Object.getNewLineCharacter (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:9618:20)
at Object.createCompilerHost (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:66867:26)
at Object.ngcLoader (/home/pratik/WebstormProjects/playground/playground/node_modules/@ngtools/webpack/src/loader.js:397:33)
@ multi ./src/polyfills.ts

Node -> 8.2.1
Npm-> 5.2.3
Ubuntu 17.04

------------Fix---------
Upgraded CLI to 1.2.6

Current Scenario : Angular CLI 1.1.2 Throws
-------------------------------------------------------------------------------------------------------
ERROR in ./src/main.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:9618:20)
    at Object.createCompilerHost (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:66867:26)
    at Object.ngcLoader (/home/pratik/WebstormProjects/playground/playground/node_modules/@ngtools/webpack/src/loader.js:397:33)
 @ multi webpack-dev-server/client?http://localhost:4201 ./src/main.ts

ERROR in ./src/polyfills.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:9618:20)
    at Object.createCompilerHost (/home/pratik/WebstormProjects/playground/playground/node_modules/typescript/lib/typescript.js:66867:26)
    at Object.ngcLoader (/home/pratik/WebstormProjects/playground/playground/node_modules/@ngtools/webpack/src/loader.js:397:33)
 @ multi ./src/polyfills.ts
--------------------------------------------------------------------------------
Node -> 8.2.1
Npm-> 5.2.3
Ubuntu 17.04

------------Fix---------
Upgraded CLI to 1.2.6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant