Closed jagged3dge closed 8 years ago
Same issue for when I just attempted to update:
> spawn-sync@1.0.15 postinstall C:\Users\GeorgeWL\AppData\Local\Temp\apm-install-dir-116515-10064-1rhjtls\node_modules\linter-js-standard\node_modules\happiness\node_modules\happiness-format\node_modules\esformatter\node_modules\npm-run\node_modules\spawn-sync
> node postinstall
Installing native dependencies (this may take up to a minute)
> spawn-sync@1.0.15 postinstall C:\Users\GeorgeWL\AppData\Local\Temp\apm-install-dir-116515-10064-1rhjtls\node_modules\linter-js-standard\node_modules\standard\node_modules\standard-format\node_modules\esformatter\node_modules\npm-run\node_modules\spawn-sync
> node postinstall
Installing native dependencies (this may take up to a minute)
> spawn-sync@1.0.15 postinstall C:\Users\GeorgeWL\AppData\Local\Temp\apm-install-dir-116515-10064-1rhjtls\node_modules\linter-js-standard\node_modules\semistandard\node_modules\semistandard-format\node_modules\standard-format\node_modules\esformatter\node_modules\npm-run\node_modules\spawn-sync
> node postinstall
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine get-stdin@5.0.1: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine get-stdin@5.0.1: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine is-buffer@1.1.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\GeorgeWL\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\GeorgeWL\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\GeorgeWL\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\GeorgeWL\\.atom\\.apmrc" "install" "C:\\Users\\GeorgeWL\\AppData\\Local\\Temp\\d-116515-10064-1kq1are\\package.tgz" "--target=0.36.8" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! file C:\Windows\system32\cmd.exe
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! spawn-sync@1.0.15 postinstall: `node postinstall`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the spawn-sync@1.0.15 postinstall script 'node postinstall'.
npm ERR! This is most likely a problem with the spawn-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node postinstall
npm ERR! You can get their info via:
npm ERR! npm owner ls spawn-sync
npm ERR! There is likely additional logging output above.
3.3.232,095
linter-js-standard
Linter plugin for JavaScript Standard Style
ricardofbarros
UPDATE TO 3.3.3SETTINGSUNINSTALLDISABLE
Settings
11:15 AM
So thinking it might be package manager throwing a hissy fit, attempted uninstalling in order to reinstall, this also kicked out an error
Failed to delete linter-js-standard: ENOTEMPTY, directory not empty 'C:\Users\GeorgeWL\.atom\packages\linter-js-standard\node_modules\babel-eslint\node_modules\babel-core\node_modules\regenerator\node_modules\commoner\node_modules\glob\node_modules\once\node_modules'
Hey @jagged3dge and @Georgiel, the packaged node.js and npm bins on apm are still very primitive versions of themselves. There is an weird error with node postinstall
on lower npm
versions with windows users. You can track the whole thing here on this issue.
Luckily we had this two PR 1 2 that updated the packaged ´node.js´ and npm
bins.
As you can see on the tagged versions of apm the latest one is v1.12.5
, this versions already has those two PR's merged.
If you run on your console apm -v
you should have something like this:
apm 1.9.2
npm 2.13.3
node 0.10.40
python ...
As you can see apm is still on a lower version with the node.js and npm bin outdated as well.
You could fix this if you update manually the apm bin to the latest version, but I can tell you that can be daunting task.
I would just wait for the next atom
to release, which will bring the newest apm
.
Also there is an active discussion here with this same issue. Please discuss there. Thanks. ❤️
Trying to install linter-js-standard@3.3.1 on my Windows 7 Ultimate Edition box...