Issues installing particle-dev -

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.__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__501.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__501.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
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!

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