javascript - error TS5023: Unknown compiler option moduleResolution, lib after npm start -


i have issue when try call npm start in angular 2 project. console show me:

$ npm start

angular-quickstart@1.0.0 prestart c:\users\jan\desktop\study\ztw lab\ang\myapp npm run build

angular-quickstart@1.0.0 build c:\users\jan\desktop\study\ztw lab\ang\myapp tsc -p src/

**error ts5023: unknown compiler option 'moduleresolution'.**  **error ts5023: unknown compiler option 'lib'.**  npm err! windows_nt 10.0.14393  npm err! argv "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"  npm err! node v6.10.1  npm err! npm  v3.10.10  npm err! code elifecycle npm err! angular-quickstart@1.0.0 build: `tsc -p src/` npm err! exit status 1 npm err! npm err! failed @ angular-quickstart@1.0.0 build script 'tsc -p src/'. npm err! make sure have latest version of node.js , npm installed. npm err! if do, problem angular-quickstart package, npm err! not npm itself. npm err! tell author fails on system: npm err!     tsc -p src/ npm err! can information on how open issue project with: npm err!     npm bugs angular-quickstart npm err! or if isn't available, can info via: npm err!     npm owner ls angular-quickstart npm err! there additional logging output above.  npm err! please include following file support request: npm err!     c:\users\jan\desktop\study\ztw lab\ang\myapp\npm-debug.log  npm err! windows_nt 10.0.14393 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.1 npm err! npm  v3.10.10 npm err! code elifecycle npm err! angular-quickstart@1.0.0 prestart: `npm run build` npm err! exit status 1 npm err! npm err! failed @ angular-quickstart@1.0.0 prestart script 'npm run build'. npm err! make sure have latest version of node.js , npm installed. npm err! if do, problem angular-quickstart package, npm err! not npm itself. npm err! tell author fails on system: npm err!     npm run build npm err! can information on how open issue project with: npm err!     npm bugs angular-quickstart npm err! or if isn't available, can info via: npm err!     npm owner ls angular-quickstart npm err! there additional logging output above.  npm err! please include following file support request:  npm err!     c:\users\jan\desktop\study\ztw lab\ang\myapp\npm-debug.log 

any idea?

it's strange because 2 days ago ok. created new project based on quickstart . called npm install , npm start , working project. today unluckily npm start don't work , error :/ advance help.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -