error TS5023: Unknown compiler option 'moduleResolution'.

852 views
Skip to first unread message

T Enright

unread,
Mar 24, 2017, 3:51:42 AM3/24/17
to Angular and AngularJS discussion
Angular 2. None of the solutions I find work.

> angular-q...@1.0.0 start C:\Users\.....
> tsc && concurrently "tsc -w" "lite-server"

error TS5023: Unknown compiler option 'moduleResolution'.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! angular-q...@1.0.0 start: `tsc && concurrently "tsc -w" "lite-server" `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-q...@1.0.0 start script 'tsc && concurrently "tsc -w" "lite-server" '

updated everything. No luck. Any ideas. This error is just the latest. Getting old. Trying to learn to develop apps. Is reactjs any better? Thanks

Sander Elias

unread,
Mar 25, 2017, 4:55:50 AM3/25/17
to Angular and AngularJS discussion
Hi T,

Did you try
rd /s node_modules
del yarn.lock
yarn install

Or the NPM equivalent?
(if you use NPM you might need to add an `npm clear cache` to that.

Regards
Sander

Reply all
Reply to author
Forward
0 new messages