NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

Response timeout while trying to fetch https://registry.npmjs.com/pacote #5300

Open itismohammadreza opened 4 years ago

itismohammadreza commented 4 years ago

Hi I cant install nativescript-cli with npm when I run npm install nativescript -g. I dont know what is the reason. node --version => 12.16.2 npm --version => 6.14.4

I tried : -delete cache folder and npm cache clean --force -npm config set registry http://registry.npmjs.com -turn off anti malware but the issue is still unresolved.

here is npm log file output

10980 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\abstractRule.d.ts'
10981 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\abstractRule.js'
10982 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\optionallyTypedRule.d.ts'
10983 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\optionallyTypedRule.js'
10984 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\rule.d.ts'
10985 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\rule.js'
10986 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\typedRule.d.ts'
10987 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\rule\typedRule.js'
10988 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\blockScopeAwareRuleWalker.d.ts'
10989 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\blockScopeAwareRuleWalker.js'
10990 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\index.d.ts'
10991 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\index.js'
10992 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\programAwareRuleWalker.d.ts'
10993 http fetch GET 200 https://registry.npmjs.org/tslint/-/tslint-5.14.0.tgz 17734ms
10994 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\programAwareRuleWalker.js'
10995 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\ruleWalker.d.ts'
10996 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\ruleWalker.js'
10997 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\scopeAwareRuleWalker.d.ts'
10998 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\scopeAwareRuleWalker.js'
10999 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\syntaxWalker.d.ts'
11000 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\syntaxWalker.js'
11001 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\walkContext.d.ts'
11002 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\walkContext.js'
11003 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\walker.d.ts'
11004 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\language\walker\walker.js'
11005 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\arrowReturnShorthand.examples.d.ts'
11006 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\arrowReturnShorthand.examples.js'
11007 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\banTsIgnore.examples.d.ts'
11008 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\banTsIgnore.examples.js'
11009 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\className.examples.d.ts'
11010 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\className.examples.js'
11011 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\curly.examples.d.ts'
11012 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\curly.examples.js'
11013 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\functionConstructor.examples.d.ts'
11014 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\functionConstructor.examples.js'
11015 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noAny.examples.d.ts'
11016 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noAny.examples.js'
11017 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noEmptyInterface.examples.d.ts'
11018 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noEmptyInterface.examples.js'
11019 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noObjectLiteralTypeAssertion.examples.d.ts'
11020 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noObjectLiteralTypeAssertion.examples.js'
11021 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noSparseArrays.examples.d.ts'
11022 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noSparseArrays.examples.js'
11023 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noStringThrowRule.examples.d.ts'
11024 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noStringThrowRule.examples.js'
11025 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noUnnecessaryCallbackWrapper.examples.d.ts'
11026 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noUnnecessaryCallbackWrapper.examples.js'
11027 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noUseBeforeDeclare.examples.d.ts'
11028 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\noUseBeforeDeclare.examples.js'
11029 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\objectLiteralSortKeys.examples.d.ts'
11030 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\objectLiteralSortKeys.examples.js'
11031 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\oneVariablePerDeclaration.examples.d.ts'
11032 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\oneVariablePerDeclaration.examples.js'
11033 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\onlyArrowFunctions.examples.d.ts'
11034 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\onlyArrowFunctions.examples.js'
11035 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\preferTemplate.examples.d.ts'
11036 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\preferTemplate.examples.js'
11037 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\preferWhile.examples.d.ts'
11038 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\preferWhile.examples.js'
11039 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\radix.examples.d.ts'
11040 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\radix.examples.js'
11041 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\staticThis.examples.d.ts'
11042 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\staticThis.examples.js'
11043 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\switchDefault.examples.d.ts'
11044 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\switchDefault.examples.js'
11045 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\typedef.examples.d.ts'
11046 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\typedef.examples.js'
11047 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\unnecessaryElse.examples.d.ts'
11048 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\unnecessaryElse.examples.js'
11049 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\useIsnan.examples.d.ts'
11050 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\code-examples\useIsnan.examples.js'
11051 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\blockExclusion.d.ts'
11052 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\blockExclusion.js'
11053 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\classExclusion.d.ts'
11054 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\classExclusion.js'
11055 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\exclusion.d.ts'
11056 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\exclusion.js'
11057 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\exclusionDescriptors.d.ts'
11058 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\exclusionDescriptors.js'
11059 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\exclusions.d.ts'
11060 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\exclusions.js'
11061 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\tagExclusion.d.ts'
11062 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471\lib\rules\completed-docs\tagExclusion.js'
11063 silly extract tslint@5.14.0 extracted to C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\tslint-3ba14471 (33959ms)
11064 http fetch GET 200 https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz 1414ms
11065 http fetch GET 200 https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz 12ms (from cache)
11066 silly extract es6-map@0.1.5 extracted to C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es6-map-ce00816f (3902ms)
11067 http fetch GET 200 https://registry.npmjs.com/@types%2frequest 28248ms
11068 http fetch GET 200 https://registry.npmjs.org/@types/request/-/request-0.0.45.tgz 217ms
11069 http fetch GET 200 https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz 1144ms
11070 http fetch GET 200 https://registry.npmjs.org/raw-body/-/raw-body-2.1.7.tgz 45ms (from cache)
11071 silly extract raw-body@2.1.7 extracted to C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\raw-body-ad64ecdb (7051ms)
11072 http fetch GET 200 https://registry.npmjs.org/@sinonjs/commons/-/commons-1.6.0.tgz 2474ms
11073 http fetch GET 200 https://registry.npmjs.com/snapdragon 8262ms
11074 http fetch GET 200 https://registry.npmjs.org/pako/-/pako-1.0.6.tgz 33278ms
11075 silly extract pako@1.0.6 extracted to C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\pako-f0c06805 (34230ms)
11076 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\_is-extensible.js'
11077 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\_sub-array-dummy-safe.js'
11078 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\_sub-array-dummy.js'
11079 warn tar ENOENT: no such file or directory, lstat 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\jimp-d740c2ee\fonts\open-sans\open-sans-128-white'
11080 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\binary-search.js'
11081 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\binary-search.js'
11082 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\clear.js'
11083 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\clear.js'
11084 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\compact.js'
11085 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\compact.js'
11086 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\contains.js'
11087 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\contains.js'
11088 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\diff.js'
11089 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\diff.js'
11090 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\e-index-of.js'
11091 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\e-index-of.js'
11092 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\e-last-index-of.js'
11093 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\e-last-index-of.js'
11094 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\exclusion.js'
11095 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\exclusion.js'
11096 http fetch GET 200 https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz 1497ms
11097 silly extract underscore@1.9.1 extracted to C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\underscore-3c6e0b18 (6518ms)
11098 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\first-index.js'
11099 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\first-index.js'
11100 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\fs-extra-168f7b04\LICENSE'
11101 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\fs-extra-168f7b04\README.md'
11102 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\first.js'
11103 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\first.js'
11104 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\flatten.js'
11105 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\flatten.js'
11106 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\math\floor-10.js'
11107 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\date\#\floor-day.js'
11108 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\date\#\floor-month.js'
11109 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\date\#\floor-year.js'
11110 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\for-each-right.js'
11111 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\for-each-right.js'
11112 http fetch GET 200 https://registry.npmjs.org/@types/request/-/request-0.0.45.tgz 8ms (from cache)
11113 silly extract @types/request@0.0.45 extracted to C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\@types\request-1628eb24 (29466ms)
11114 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\date\#\format.js'
11115 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\generate.js'
11116 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\generate.js'
11117 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\group.js'
11118 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\array\#\group.js'
11119 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\string\#\hyphen-to-camel.js'
11120 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\string\#\hyphen-to-camel.js'
11121 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\function\identity.js'
11122 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\function\identity.js'
11123 http fetch GET 200 https://registry.npmjs.com/uglify-js 6612ms
11124 http fetch GET 200 https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz 2180ms
11125 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\string\#\normalize\implement.js'
11126 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\string\#\normalize\implement.js'
11127 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\@@iterator\index.js'
11128 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\concat\index.js'
11129 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\copy-within\index.js'
11130 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\entries\index.js'
11131 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\fill\index.js'
11132 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\filter\index.js'
11133 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\date\#\index.js'
11134 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\date\index.js'
11135 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\function\#\index.js'
11136 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\function\index.js'
11137 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\iterable\index.js'
11138 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\object\assign\index.js'
11139 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\object\entries\index.js'
11140 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\object\index.js'
11141 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\object\keys\index.js'
11142 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\object\set-prototype-of\index.js'
11143 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\string\#\normalize\index.js'
11144 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\string\#\normalize\index.js'
11145 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\indexes-of.js'
11146 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\array\#\intersection.js'
11147 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\function\invoke.js'
11148 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\test\function\invoke.js'
11149 warn tar ENOENT: no such file or directory, open 'C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging\es5-ext-57d686a6\function\is-arguments.js'
11150 http fetch GET 200 https://registry.npmjs.org/@sinonjs/commons/-/commons-1.6.0.tgz 22ms (from cache)
11151 verbose unlock done using C:\Users\Mohammad Reza\AppData\Roaming\npm-cache\_locks\staging-60ffea16dce7f1cb.lock for C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\.staging
11152 timing stage:rollbackFailedOptional Completed in 2ms
11153 timing stage:runTopLevelLifecycles Completed in 200098ms
11154 warn optional SKIPPING OPTIONAL DEPENDENCY: @types/node@8.10.30 (node_modules\nativescript\node_modules\@types\node):
11155 warn optional SKIPPING OPTIONAL DEPENDENCY: Response timeout while trying to fetch https://registry.npmjs.com/@types%2fnode (over 30000ms)
11156 warn optional SKIPPING OPTIONAL DEPENDENCY: typescript@3.3.4000 (node_modules\nativescript\node_modules\typescript):
11157 warn optional SKIPPING OPTIONAL DEPENDENCY: Response timeout while trying to fetch https://registry.npmjs.com/typescript (over 30000ms)
11158 verbose type body-timeout
11159 verbose stack FetchError: Response timeout while trying to fetch https://registry.npmjs.com/pacote (over 30000ms)
11159 verbose stack     at Timeout._onTimeout (C:\Users\Mohammad Reza\AppData\Roaming\npm\node_modules\npm\node_modules\node-fetch-npm\src\body.js:189:16)
11159 verbose stack     at listOnTimeout (internal/timers.js:549:17)
11159 verbose stack     at processTimers (internal/timers.js:492:7)
11160 verbose cwd C:\Windows\system32
11161 verbose Windows_NT 10.0.18363
11162 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Mohammad Reza\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "nativescript" "-g"
11163 verbose node v12.16.2
11164 verbose npm  v6.14.4
11165 error Response timeout while trying to fetch https://registry.npmjs.com/pacote (over 30000ms)
11166 verbose exit [ 1, true ]

Please help !

Sakshibane commented 4 years ago

Yes, even i m getting same problem since last two days ;( please help !

Pyakz commented 4 years ago

i have the same problem, and i can't solve it, maybe it is my slow internet connection, is there anyway to config the downloading for npm that it wont break even if i have slow internet?????

NathanaelA commented 4 years ago

Hi All, I totally feel your pain, I have incredibly slow and crappy internet that has many times corrupted my npm cache.. So, I totally get the frustration you are all having... ;-(

Here are a couple ways to work around NPM issues that I use.

  1. Try a npm cache verify before you try a clean. Much better to have it detect a single bad package then have to clear all your packages... (This isn't foolproof; I've had it tell me everything is good; and it wasn't so you might still have to do a npm cache clean)

  2. Create a blank "temp" install directory and manually install the component it fails on: So in the above error stack if shows:

    11159 verbose stack FetchError: Response timeout while trying to fetch https://registry.npmjs.com/pacote (over 30000ms)

This means that it failed to download pacote. So in your new "temp" folder, just do a: npm i pacote@9.5.4 (Check the package.json typically for the version you need) I would also install the optional dependencies it is looking for so that they are in your cache: npm i @types/node@8.10.30 and npm i typescript@3.3.4000

Then you can delete the "temp" folder; as you really only needed it to get npm to download and cache the modules it failed on...

Once you get npm to download it; it will then be in your cache... So then you can try the initial install again and see if you are good...