# Issues installing particle-dev -

**URL:** <https://community.particle.io/t/issues-installing-particle-dev/33223>\
**Category:** Troubleshooting\
**Created:** [May 28, 2017, 8:34am UTC](https://community.particle.io/t/issues-installing-particle-dev/33223 "2017-05-28T08:34:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisazzopardi](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/chrisazzopardi/32/14511_2.png) [@chrisazzopardi](https://community.particle.io/u/chrisazzopardi)\
**Post date:** [May 28, 2017, 8:34am UTC](https://community.particle.io/t/issues-installing-particle-dev/33223/1 "2017-05-28T08:34:20Z")

</div>

When I try to run the installation file for particle dev (ParticleDevSetup.exe) I get the following error in he error log:

> 2017-05-28 10:30:23\> Program: Starting Squirrel Updater: --install .  
> 2017-05-28 10:30:23\> Program: Starting install, writing to C:\Users\Chris Azzopardi\AppData\Local\SquirrelTemp  
> 2017-05-28 10:30:23\> Program: About to install to: C:\Users\Chris Azzopardi\AppData\Local\particledev  
> 2017-05-28 10:30:23\> Program: Install path C:\Users\Chris Azzopardi\AppData\Local\particledev already exists, burning it to the ground  
> 2017-05-28 10:30:23\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Chris Azzopardi\AppData\Local\particledev\packages\RELEASES'.  
> at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY\_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
> at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)  
> at Squirrel.UpdateManager.CheckForUpdateImpl.d\_\_3f.MoveNext()  
> 2017-05-28 10:30:23\> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Chris Azzopardi\AppData\Local\SquirrelTemp  
> 2017-05-28 10:30:23\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
> 2017-05-28 10:30:23\> ApplyReleasesImpl: Writing files to app directory: C:\Users\Chris Azzopardi\AppData\Local\particledev\app-1.8.0  
> 2017-05-28 10:30:31\> IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.  
> at System.IO.PathHelper.GetFullPathName()  
> at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)  
> at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)  
> at System.IO.Path.GetFullPathInternal(String path)  
> at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractEntry(ZipEntry entry)  
> at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(Stream inputStream, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime, Boolean isStreamOwner)  
> at Squirrel.UpdateManager.ApplyReleasesImpl.\<\>c\_\_DisplayClassb4.\<b\_\_ad\>d\_\_bd.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at Squirrel.Utility.d\_\_50`1.MoveNext() 2017-05-28 10:30:31> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.PathHelper.GetFullPathName() at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.GetFullPathInternal(String path) at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractEntry(ZipEntry entry) at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(Stream inputStream, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime, Boolean isStreamOwner) at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassb4.<<installPackageToAppDir>b__ ad>d__bd.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)  
> at Squirrel.UpdateManager.ApplyReleasesImpl.d\_\_7a.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at Squirrel.UpdateManager.d\_\_f.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)  
> at Squirrel.Update.Program.d\_\_38.MoveNext()  
> --- End of inner exception stack trace ---  
> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)  
> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)  
> at System.Threading.Tasks.Task.Wait()  
> at Squirrel.Update.Program.executeCommandLine(String args)  
> at Squirrel.Update.Program.main(String args)  
> ---\> (Inner Exception #0) System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.  
> at System.IO.PathHelper.GetFullPathName()  
> at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)  
> at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)  
> at System.IO.Path.GetFullPathInternal(String path)  
> at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractEntry(ZipEntry entry)  
> at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(Stream inputStream, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime, Boolean isStreamOwner)  
> at Squirrel.UpdateManager.ApplyReleasesImpl.\<\>c\_\_DisplayClassb4.\<b\_\_ad\>d\_\_bd.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at Squirrel.Utility.d\_\_50`1.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)  
> at Squirrel.UpdateManager.ApplyReleasesImpl.d\_\_7a.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at Squirrel.UpdateManager.d\_\_f.MoveNext()  
> --- End of stack trace from previous location where exception was thrown ---  
> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
> at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)  
> at Squirrel.Update.Program.d\_\_38.MoveNext()\<---

When instead I installed atom separately and tried to install the 'particle-dev' package from the package manager, I still get another error.

> Installing “particle-dev@0.1.21” failed.Hide output…

> > serialport@4.0.1 install C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport  
> > node-pre-gyp install --fallback-to-build

> Failed to execute 'C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\node.exe C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\..\node\_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport\build\Release\serialport.node --module\_name=serialport --module\_path=C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport\build\Release --msvs\_version=2015' (1)  
> C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9  
> `-- (empty)

> npm WARN deprecated spark@0.5.10: Use particle-api-js instead  
> npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue  
> npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -\> ../../../ie8-polyfill.js  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> (node:92828) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit  
> npm WARN excluding symbolic link test\server\static\ie8-polyfill.js -\> ../../../ie8-polyfill.js  
> node-pre-gyp ERR! Tried to download(404): [https://github.com/suda/node-serialport/releases/download/4.0.1/serialport-v4.0.1-electron-v1.3-win32-x64.tar.gz](https://github.com/suda/node-serialport/releases/download/4.0.1/serialport-v4.0.1-electron-v1.3-win32-x64.tar.gz)  
> node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.1 and electron@1.3.15 (electron-v1.3 ABI) (falling back to source compile with node-gyp)  
> gyp ERR! configure error  
> gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.  
> gyp ERR! stack at failNoPython (C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\node\_modules\node-gyp\lib\configure.js:449:14)  
> gyp ERR! stack at C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\node\_modules\node-gyp\lib\configure.js:404:11  
> gyp ERR! stack at C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\node\_modules\graceful-fs\polyfills.js:284:29  
> gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)  
> gyp ERR! System Windows\_NT 10.0.14393  
> gyp ERR! command "C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\node.exe" "C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\node\_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport\build\Release\serialport.node" "--module\_name=serialport" "--module\_path=C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport\build\Release" "--msvs\_version=2015"  
> gyp ERR! cwd C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport  
> gyp ERR! node -v v6.9.5  
> gyp ERR! node-gyp -v v3.4.0  
> gyp ERR! not ok  
> node-pre-gyp ERR! build error  
> node-pre-gyp ERR! stack Error: Failed to execute 'C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\node.exe C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\..\node\_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport\build\Release\serialport.node --module\_name=serialport --module\_path=C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport\build\Release --msvs\_version=2015' (1)  
> node-pre-gyp ERR! stack at ChildProcess. (C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\node-pre-gyp\lib\util\compile.js:83:29)  
> node-pre-gyp ERR! stack at emitTwo (events.js:106:13)  
> node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)  
> node-pre-gyp ERR! stack at maybeClose (internal/child\_process.js:877:16)  
> node-pre-gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:226:5)  
> node-pre-gyp ERR! System Windows\_NT 10.0.14393  
> node-pre-gyp ERR! command "C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\node.exe" "C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"  
> node-pre-gyp ERR! cwd C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\node\_modules\particle-dev\node\_modules\serialport  
> node-pre-gyp ERR! node -v v6.9.5  
> node-pre-gyp ERR! node-pre-gyp -v v0.6.34  
> node-pre-gyp ERR! not ok  
> npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\package.json'  
> npm WARN apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9 No description  
> npm WARN apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9 No repository field.  
> npm WARN apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9 No README data  
> npm WARN apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9 No license field.  
> npm ERR! Windows\_NT 10.0.14393  
> npm ERR! argv "C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\bin\node.exe" "C:\Users\Chris Azzopardi\AppData\Local\atom\app-1.17.2\resources\app\apm\node\_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Chris Azzopardi\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Chris Azzopardi\.atom\.apmrc" "install" "C:\Users\CHRISA~1\AppData\Local\Temp\d-117428-94576-sk04b0.pu1o9wwmi\package.tgz" "--runtime=electron" "--target=1.3.15" "--arch=x64" "--global-style" "--msvs\_version=2015"  
> npm ERR! node v6.9.5  
> npm ERR! npm v3.10.5  
> npm ERR! code ELIFECYCLE

> npm ERR! serialport@4.0.1 install: `node-pre-gyp install --fallback-to-build`  
> npm ERR! Exit status 1  
> npm ERR!  
> npm ERR! Failed at the serialport@4.0.1 install script 'node-pre-gyp install --fallback-to-build'.  
> npm ERR! Make sure you have the latest version of node.js and npm installed.  
> npm ERR! If you do, 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  
> npm ERR! You can get information on how to open an issue for this project with:  
> npm ERR! npm bugs serialport  
> npm ERR! Or if that isn't available, you can get their info via:  
> npm ERR! npm owner ls serialport  
> npm ERR! There is likely additional logging output above.

> npm ERR! Please include the following file with any support request:  
> npm ERR! C:\Users\CHRISA~1\AppData\Local\Temp\apm-install-dir-117428-94576-6g1pnj.5ey9rltyb9\npm-debug.log  
> npm ERR! code 1

Anyone got an idea what this might be?  
Thanks!

---

<div class="post-metadata">

**Author:** ![damien1](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@damien1](https://community.particle.io/u/damien1)\
**Post date:** [July 27, 2017, 4:33am UTC](https://community.particle.io/t/issues-installing-particle-dev/33223/2 "2017-07-27T04:33:49Z")

</div>

I am suggesting to try “Long Path Tool” program.
