Spark-Dev failes to install Windows 10

It seems that there’s issue with package update caused by PathWatcher. I filed an issue and will fix it ASAP.

Just released v0.0.31 after which update should work property.
Updating to 0.0.31 requires uninstalling spark-dev package and installing it again.

@suda spark-dev uninstalled, when i tried to install i got this output.
Installing “spark-dev@0.0.31” failed.Hide output…

serialport@1.7.4 install C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport
node-pre-gyp install --fallback-to-build --runtime=atom-shell

C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport>if not defined npm_config_node_gyp (node "C:\Users\Mulvaney\AppData\Local\atom\app-1.0.19\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node clean )

C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport>if not defined npm_config_node_gyp (node "C:\Users\Mulvaney\AppData\Local\atom\app-1.0.19\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build --runtime=atom-shell --module=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32\serialport.node --module_name=serialport --module_path=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32 --msvs_version=2013 ) else (node configure --fallback-to-build --runtime=atom-shell --module=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32\serialport.node --module_name=serialport --module_path=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32 --msvs_version=2013 )

C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport>if not defined npm_config_node_gyp (node "C:\Users\Mulvaney\AppData\Local\atom\app-1.0.19\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" build --fallback-to-build --runtime=atom-shell --module=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32\serialport.node --module_name=serialport --module_path=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32 ) else (node build --fallback-to-build --runtime=atom-shell --module=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32\serialport.node --module_name=serialport --module_path=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32 )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Failed to execute 'node-gyp.cmd build --fallback-to-build --runtime=atom-shell --module=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32\serialport.node --module_name=serialport --module_path=C:\Users\Mulvaney\AppData\Local\Temp\apm-install-dir-115914-1496-1xol5nr\node_modules\spark-dev\node_modules\serialport\build\serialport\v1.7.4\Release\electron-v0.30-win32-ia32' (1)

npm WARN installMany node-pre-gyp was bundled with serialport@1.7.4, but bundled package wasn't found in unpacked tree
npm WARN installMany nopt was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany npmlog was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany request was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany semver was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany tar was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany tar-pack was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany mkdirp was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany rc was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
npm WARN installMany rimraf was bundled with node-pre-gyp@0.6.12, but bundled package wasn't found in unpacked tree
gypnode-pre-gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\Mulvaney\AppData\Local\atom\app-1.0.19\resources\app\apm\bin\node.exe" "C:\Users\Mulvaney\AppData\Local\atom\app-1.0.19\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Mulvaney\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Mulvaney\.atom\.apmrc" "install" "C:\Users\Mulvaney\AppData\Local\Temp\d-115914-1496-1nylalu\package.tgz" "--target=0.30.7" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! serialport@1.7.4 install: node-pre-gyp install --fallback-to-build --runtime=atom-shell
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@1.7.4 install script 'node-pre-gyp install --fallback-to-build --runtime=atom-shell'.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build --runtime=atom-shell
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.

So it looks like theres still problems with it.

@tezza do you have both GitHub for Windows and Visual Studio mentioned in requirements?

yep both installed and working fine

Out of curiosity, was this ever fixed or figured out? Particle Dev is giving me issues (has been since the last update) and I thought I’d try the Atom route. I am getting this same error on spark-dev install. I noticed neither repo has been updated for months. I can’t do what I need to do with the Cloud IDE, and without a local development environment where I don’t have to restart it twice just to flash the device, this platform is nonviable.

Have you tried CLI (particle compile)?

Just if you want to give it another go (since I have Particle DEV running on Win10Pro 64bit, so it does work):

  • try uninstalling Dev and Node and remove all references to it in PATH.
  • remove all folders in Program Files and %appdata% (local & roaming) that belong to Dev and Node
  • restart Windows (maybe required in between too)
  • reinstall Node 4.2.4 (no less no more, just to be absolutely sure, as this was the only one for me that worked back then)
  • reinstall Dev
  • report back :wink:
1 Like

Oooh Node. You know, now that you mention this, I’m sure my Node environment is all kinds of screwed up. I will report back on success/failure. Thanks for the assistance!

1 Like