AtomLinter / linter-jshint

Atom linter plugin for JavaScript, using jshint.
147 stars 39 forks source link

cant install linter-jshint package #787

Closed ghost closed 4 years ago

ghost commented 4 years ago

whenever I try to install this package it shows it shows an error in the log and displays the message installing linter-jshint failed and shows( error Unexpected end of JSON input while parsing near GzSWJafJv8XkRm6ax8e8j' )'...n the logs this is the full log 0 info it worked if it ends with ok 1 verbose cli [ 'C:\Users\prajwal mendon\Downloads\Atom x64\resources\app\apm\bin\node.exe', 1 verbose cli 'C:\Users\prajwal mendon\Downloads\Atom x64\resources\app\apm\node_modules\npm\bin\npm-cli.js', 1 verbose cli '--globalconfig', 1 verbose cli 'C:\Users\prajwal mendon\.atom\.apm\.apmrc', 1 verbose cli '--userconfig', 1 verbose cli 'C:\Users\prajwal mendon\.atom\.apmrc', 1 verbose cli 'install', 1 verbose cli 'https://www.atom.io/api/packages/linter-jshint/versions/3.1.17/tarball', 1 verbose cli '--target=4.2.7', 1 verbose cli '--disturl=https://atom.io/download/electron', 1 verbose cli '--arch=x64', 1 verbose cli '--global-style' ] 2 info using npm@6.2.0 3 info using node@v10.2.1 4 verbose npm-session d3e8acd015d012f8 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 200 https://www.atom.io/api/packages/linter-jshint/versions/3.1.17/tarball 5193ms 8 silly pacote remote manifest for undefined@https://www.atom.io/api/packages/linter-jshint/versions/3.1.17/tarball fetched in 5233ms 9 timing stage:loadCurrentTree Completed in 5581ms 10 silly install loadIdealTree 11 silly install cloneCurrentTreeToIdealTree 12 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms 13 silly install loadShrinkwrap 14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms 15 silly install loadAllDepsIntoIdealTree 16 silly resolveWithNewModule linter-jshint@3.1.17 checking installable status 17 http fetch GET 304 https://registry.npmjs.org/atom-linter 916ms (from cache) 18 silly pacote version manifest for atom-linter@10.0.0 fetched in 923ms 19 silly resolveWithNewModule atom-linter@10.0.0 checking installable status 20 http fetch GET 304 https://registry.npmjs.org/jshint 1006ms (from cache) 21 silly pacote version manifest for jshint@2.10.2 fetched in 1009ms 22 silly resolveWithNewModule jshint@2.10.2 checking installable status 23 http fetch GET 304 https://registry.npmjs.org/shelljs 1067ms (from cache) 24 silly pacote version manifest for shelljs@0.8.3 fetched in 1070ms 25 silly resolveWithNewModule shelljs@0.8.3 checking installable status 26 http fetch GET 304 https://registry.npmjs.org/atom-package-deps 1127ms (from cache) 27 silly pacote version manifest for atom-package-deps@5.1.0 fetched in 1128ms 28 silly resolveWithNewModule atom-package-deps@5.1.0 checking installable status 29 http fetch GET 304 https://registry.npmjs.org/minimatch 1258ms (from cache) 30 silly pacote version manifest for minimatch@3.0.4 fetched in 1260ms 31 silly resolveWithNewModule minimatch@3.0.4 checking installable status 32 http fetch GET 304 https://registry.npmjs.org/jshint-json 2371ms (from cache) 33 silly pacote version manifest for jshint-json@2.0.0 fetched in 2375ms 34 silly resolveWithNewModule jshint-json@2.0.0 checking installable status 35 http fetch GET 304 https://registry.npmjs.org/sb-promisify 144ms (from cache) 36 silly pacote range manifest for sb-promisify@^2.0.1 fetched in 145ms 37 silly resolveWithNewModule sb-promisify@2.0.2 checking installable status 38 http fetch GET 304 https://registry.npmjs.org/named-js-regexp 183ms (from cache) 39 silly pacote range manifest for named-js-regexp@^1.3.1 fetched in 186ms 40 silly resolveWithNewModule named-js-regexp@1.3.5 checking installable status 41 http fetch GET 304 https://registry.npmjs.org/sb-exec 233ms (from cache) 42 silly pacote range manifest for sb-exec@^4.0.0 fetched in 236ms 43 silly resolveWithNewModule sb-exec@4.0.0 checking installable status 44 http fetch GET 304 https://registry.npmjs.org/tmp 276ms (from cache) 45 silly pacote range manifest for tmp@~0.0.28 fetched in 278ms 46 silly resolveWithNewModule tmp@0.0.33 checking installable status 47 http fetch GET 304 https://registry.npmjs.org/lodash.uniq 183ms (from cache) 48 silly pacote range manifest for lodash.uniq@^4.5.0 fetched in 186ms 49 silly resolveWithNewModule lodash.uniq@4.5.0 checking installable status 50 http fetch GET 304 https://registry.npmjs.org/sb-npm-path 270ms (from cache) 51 silly pacote range manifest for sb-npm-path@^2.0.0 fetched in 272ms 52 silly resolveWithNewModule sb-npm-path@2.0.0 checking installable status 53 http fetch GET 304 https://registry.npmjs.org/consistent-env 382ms (from cache) 54 silly pacote range manifest for consistent-env@^1.2.0 fetched in 384ms 55 silly resolveWithNewModule consistent-env@1.3.1 checking installable status 56 http fetch GET 304 https://registry.npmjs.org/sb-memoize 155ms (from cache) 57 silly pacote range manifest for sb-memoize@^1.0.2 fetched in 156ms 58 warn deprecated sb-memoize@1.0.2: No longer maintained - Use lodash probably 59 silly resolveWithNewModule sb-memoize@1.0.2 checking installable status 60 http fetch GET 304 https://registry.npmjs.org/os-tmpdir 180ms (from cache) 61 silly pacote range manifest for os-tmpdir@~1.0.2 fetched in 182ms 62 silly resolveWithNewModule os-tmpdir@1.0.2 checking installable status 63 http fetch GET 304 https://registry.npmjs.org/semver 204ms (from cache) 64 silly pacote range manifest for semver@^6.0.0 fetched in 208ms 65 silly resolveWithNewModule semver@6.3.0 checking installable status 66 http fetch GET 304 https://registry.npmjs.org/sb-fs 320ms (from cache) 67 silly pacote range manifest for sb-fs@^4.0.0 fetched in 324ms 68 silly resolveWithNewModule sb-fs@4.0.0 checking installable status 69 http fetch GET 304 https://registry.npmjs.org/strip-bom-buf 252ms (from cache) 70 silly pacote range manifest for strip-bom-buf@^1.0.0 fetched in 280ms 71 silly resolveWithNewModule strip-bom-buf@1.0.0 checking installable status 72 http fetch GET 304 https://registry.npmjs.org/is-utf8 178ms (from cache) 73 silly pacote range manifest for is-utf8@^0.2.1 fetched in 180ms 74 silly resolveWithNewModule is-utf8@0.2.1 checking installable status 75 silly pacote range manifest for shelljs@0.3.x fetched in 8ms 76 silly resolveWithNewModule shelljs@0.3.0 checking installable status 77 http fetch GET 304 https://registry.npmjs.org/cli 708ms (from cache) 78 silly pacote range manifest for cli@~1.0.0 fetched in 710ms 79 silly resolveWithNewModule cli@1.0.1 checking installable status 80 http fetch GET 304 https://registry.npmjs.org/exit 755ms (from cache) 81 silly pacote range manifest for exit@0.1.x fetched in 757ms 82 silly resolveWithNewModule exit@0.1.2 checking installable status 83 http fetch GET 304 https://registry.npmjs.org/htmlparser2 775ms (from cache) 84 silly pacote range manifest for htmlparser2@3.8.x fetched in 778ms 85 silly resolveWithNewModule htmlparser2@3.8.3 checking installable status 86 http fetch GET 304 https://registry.npmjs.org/lodash 803ms (from cache) 87 silly pacote range manifest for lodash@~4.17.11 fetched in 807ms 88 silly resolveWithNewModule lodash@4.17.15 checking installable status 89 http fetch GET 304 https://registry.npmjs.org/console-browserify 817ms (from cache) 90 silly pacote range manifest for console-browserify@1.1.x fetched in 819ms 91 silly resolveWithNewModule console-browserify@1.1.0 checking installable status 92 http fetch GET 304 https://registry.npmjs.org/strip-json-comments 839ms (from cache) 93 silly pacote range manifest for strip-json-comments@1.0.x fetched in 840ms 94 silly resolveWithNewModule strip-json-comments@1.0.4 checking installable status 95 http fetch GET 304 https://registry.npmjs.org/glob 283ms (from cache) 96 silly pacote range manifest for glob@^7.1.1 fetched in 286ms 97 silly resolveWithNewModule glob@7.1.6 checking installable status 98 http fetch GET 304 https://registry.npmjs.org/inherits 121ms (from cache) 99 silly pacote range manifest for inherits@2 fetched in 122ms 100 silly resolveWithNewModule inherits@2.0.4 checking installable status 101 http fetch GET 304 https://registry.npmjs.org/inflight 162ms (from cache) 102 silly pacote range manifest for inflight@^1.0.4 fetched in 164ms 103 silly resolveWithNewModule inflight@1.0.6 checking installable status 104 http fetch GET 304 https://registry.npmjs.org/fs.realpath 206ms (from cache) 105 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 208ms 106 silly resolveWithNewModule fs.realpath@1.0.0 checking installable status 107 http fetch GET 304 https://registry.npmjs.org/path-is-absolute 251ms (from cache) 108 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 253ms 109 silly resolveWithNewModule path-is-absolute@1.0.1 checking installable status 110 http fetch GET 304 https://registry.npmjs.org/once 280ms (from cache) 111 silly pacote range manifest for once@^1.3.0 fetched in 282ms 112 silly resolveWithNewModule once@1.4.0 checking installable status 113 http fetch GET 304 https://registry.npmjs.org/wrappy 396ms (from cache) 114 silly pacote range manifest for wrappy@1 fetched in 398ms 115 silly resolveWithNewModule wrappy@1.0.2 checking installable status 116 http fetch GET 304 https://registry.npmjs.org/brace-expansion 123ms (from cache) 117 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 125ms 118 silly resolveWithNewModule brace-expansion@1.1.11 checking installable status 119 http fetch GET 304 https://registry.npmjs.org/balanced-match 113ms (from cache) 120 silly pacote range manifest for balanced-match@^1.0.0 fetched in 115ms 121 silly resolveWithNewModule balanced-match@1.0.0 checking installable status 122 http fetch GET 304 https://registry.npmjs.org/concat-map 152ms (from cache) 123 silly pacote version manifest for concat-map@0.0.1 fetched in 153ms 124 silly resolveWithNewModule concat-map@0.0.1 checking installable status 125 http fetch GET 304 https://registry.npmjs.org/date-now 1131ms (from cache) 126 silly pacote range manifest for date-now@^0.1.4 fetched in 1134ms 127 silly resolveWithNewModule date-now@0.1.4 checking installable status 128 http fetch GET 304 https://registry.npmjs.org/domelementtype 188ms (from cache) 129 silly pacote range manifest for domelementtype@1 fetched in 190ms 130 silly resolveWithNewModule domelementtype@1.3.1 checking installable status 131 http fetch GET 304 https://registry.npmjs.org/domhandler 230ms (from cache) 132 silly pacote range manifest for domhandler@2.3 fetched in 232ms 133 silly resolveWithNewModule domhandler@2.3.0 checking installable status 134 http fetch GET 304 https://registry.npmjs.org/domutils 302ms (from cache) 135 silly pacote range manifest for domutils@1.5 fetched in 304ms 136 silly resolveWithNewModule domutils@1.5.1 checking installable status 137 http fetch GET 304 https://registry.npmjs.org/entities 409ms (from cache) 138 silly pacote range manifest for entities@1.0 fetched in 410ms 139 silly resolveWithNewModule entities@1.0.0 checking installable status 140 http fetch GET 304 https://registry.npmjs.org/readable-stream 485ms (from cache) 141 silly fetchPackageMetaData error for readable-stream@1.1 Unexpected end of JSON input while parsing near '...GzSWJafJv8XkRm6ax8e8j' 142 timing stage:rollbackFailedOptional Completed in 1ms 143 timing stage:runTopLevelLifecycles Completed in 13555ms 144 silly saveTree apm-install-dir-1191014-4224-1o5imte.a1sm 144 silly saveTree -- linter-jshint@3.1.17 144 silly saveTree +-- atom-linter@10.0.0 144 silly saveTree | +-- named-js-regexp@1.3.5 144 silly saveTree | +-- sb-exec@4.0.0 144 silly saveTree | | +-- consistent-env@1.3.1 144 silly saveTree | | |-- lodash.uniq@4.5.0 144 silly saveTree | | +-- lodash.uniq@4.5.0 144 silly saveTree | | -- sb-npm-path@2.0.0 144 silly saveTree | | +-- sb-memoize@1.0.2 144 silly saveTree | |-- sb-promisify@2.0.2 144 silly saveTree | +-- sb-promisify@2.0.2 144 silly saveTree | -- tmp@0.0.33 144 silly saveTree |-- os-tmpdir@1.0.2 144 silly saveTree +-- atom-package-deps@5.1.0 144 silly saveTree | +-- sb-fs@4.0.0 144 silly saveTree | | -- strip-bom-buf@1.0.0 144 silly saveTree | |-- is-utf8@0.2.1 144 silly saveTree | -- semver@6.3.0 144 silly saveTree +-- jshint-json@2.0.0 144 silly saveTree +-- jshint@2.10.2 144 silly saveTree | +-- cli@1.0.1 144 silly saveTree | | +-- exit@0.1.2 144 silly saveTree | |-- glob@7.1.6 144 silly saveTree | | +-- fs.realpath@1.0.0 144 silly saveTree | | +-- inflight@1.0.6 144 silly saveTree | | | +-- once@1.4.0 144 silly saveTree | | | | -- wrappy@1.0.2 144 silly saveTree | | |-- wrappy@1.0.2 144 silly saveTree | | +-- inherits@2.0.4 144 silly saveTree | | +-- minimatch@3.0.4 144 silly saveTree | | | -- brace-expansion@1.1.11 144 silly saveTree | | | +-- balanced-match@1.0.0 144 silly saveTree | | |-- concat-map@0.0.1 144 silly saveTree | | +-- once@1.4.0 144 silly saveTree | | -- path-is-absolute@1.0.1 144 silly saveTree | +-- console-browserify@1.1.0 144 silly saveTree | |-- date-now@0.1.4 144 silly saveTree | +-- exit@0.1.2 144 silly saveTree | +-- htmlparser2@3.8.3 144 silly saveTree | | +-- domelementtype@1.3.1 144 silly saveTree | | +-- domhandler@2.3.0 144 silly saveTree | | +-- domutils@1.5.1 144 silly saveTree | | -- entities@1.0.0 144 silly saveTree | +-- lodash@4.17.15 144 silly saveTree | +-- minimatch@3.0.4 144 silly saveTree | +-- shelljs@0.3.0 144 silly saveTree |-- strip-json-comments@1.0.4 144 silly saveTree +-- minimatch@3.0.4 144 silly saveTree `-- shelljs@0.8.3 145 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...GzSWJafJv8XkRm6ax8e8j' 145 verbose stack at JSON.parse () 145 verbose stack at parseJson (C:\Users\prajwal mendon\Downloads\Atom x64\resources\app\apm\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17) 145 verbose stack at consumeBody.call.then.buffer (C:\Users\prajwal mendon\Downloads\Atom x64\resources\app\apm\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50) 145 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7) 146 verbose cwd C:\Users\PRAJWA~1\AppData\Local\Temp\apm-install-dir-1191014-4224-1o5imte.a1sm 147 verbose Windows_NT 6.3.9600 148 verbose argv "C:\Users\prajwal mendon\Downloads\Atom x64\resources\app\apm\bin\node.exe" "C:\Users\prajwal mendon\Downloads\Atom x64\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\prajwal mendon\.atom\.apm\.apmrc" "--userconfig" "C:\Users\prajwal mendon\.atom\.apmrc" "install" "https://www.atom.io/api/packages/linter-jshint/versions/3.1.17/tarball" "--target=4.2.7" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style" 149 verbose node v10.2.1 150 verbose npm v6.2.0 151 error Unexpected end of JSON input while parsing near '...GzSWJafJv8XkRm6ax8e8j' 152 verbose exit [ 1, true ]