Npm-Typescript installation

人盡茶涼 提交于 2019-12-08 06:01:56

问题


Tried to run ">npm install" in command line but ı got error like this cb() never called

I tried;

npm cache clear --force

but it didnt work

also ı tried to install typescript like this

npm install -g typescript

but same error occured

npm -v :6.4.1

node -v:10.15.0

npm WARN tar ENOENT: no such file or directory, open 'C:\Users\KAL-MET KALİBRASYON\AppData\Roaming\npm\node_modules\.staging\typescript-443b24ed\bin\tsc'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\KAL-MET KALİBRASYON\AppData\Roaming\npm\node_modules\.staging\typescript-443b24ed\bin\tsserver'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\KAL-MET KALİBRASYON\AppData\Roaming\npm\node_modules\.staging\typescript-443b24ed\lib\cancellationToken.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\KAL-MET KALİBRASYON\AppData\Roaming\npm\node_modules\.staging\typescript-443b24ed\lib\cs\diagnosticMessages.generated.json'

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\KAL-MET KALİBRASYON\AppData\Roaming\npm-cache\_logs\2019-01-24T08_36_15_783Z-debug.log

C:\Users\KAL-MET KALİBRASYON>

来源:https://stackoverflow.com/questions/54342624/npm-typescript-installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!