# ParticleDevSetup.exe: Installation has failed

**URL:** <https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349>\
**Category:** Troubleshooting\
**Created:** [April 23, 2016, 7:05am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349 "2016-04-23T07:05:14Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 23, 2016, 7:05am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/1 "2016-04-23T07:05:14Z")

</div>

Particle Dev Setup giving this error… Tried on 2 different PC’s and getting the same error! Also refer to the attached SquirrelSetup Log

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/9/900e175bc85da8c88230e2d49f8fdcffff17649c.png)

**SquirrelSetup Log:-**

```auto
2016-04-23 12:21:30> Program: Starting Squirrel Updater: --install .
2016-04-23 12:21:30> Program: Starting install, writing to C:\Users\Ragava\AppData\Local\SquirrelTemp
2016-04-23 12:21:30> Program: About to install to: C:\Users\Ragava\AppData\Local\particle
2016-04-23 12:21:30> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Ragava\AppData\Local\particle\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.<CheckForUpdate>d__3d.MoveNext()
2016-04-23 12:21:30> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Ragava\AppData\Local\SquirrelTemp
2016-04-23 12:21:30> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-04-23 12:21:30> ApplyReleasesImpl: Writing files to app directory: C:\Users\Ragava\AppData\Local\particle\app-1.5.1
2016-04-23 12:21:47> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<>c __DisplayClassb6.<installPackageToAppDir>b__ ad(DirectoryInfo subdir)
   at Squirrel.Utility.<>c __DisplayClass18`1.<>c__ DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.<>c __DisplayClass1e`1.<>c__ DisplayClass20.<<ForEachAsync>b __1d>d__ 22.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 Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<installPackageToAppDir>b__ac(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<<installPackageToAppDir>b__ a8>d__b8.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__54`1.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<>c __DisplayClassb6.<installPackageToAppDir>b__ ad(DirectoryInfo subdir)
   at Squirrel.Utility.<>c __DisplayClass18`1.<>c__ DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.<>c __DisplayClass1e`1.<>c__ DisplayClass20.<<ForEachAsync>b __1d>d__ 22.MoveNext()<---

2016-04-23 12:21:47> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<>c __DisplayClassb6.<installPackageToAppDir>b__ ad(DirectoryInfo subdir)
   at Squirrel.Utility.<>c __DisplayClass18`1.<>c__ DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.<>c __DisplayClass1e`1.<>c__ DisplayClass20.<<ForEachAsync>b __1d>d__ 22.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 Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<installPackageToAppDir>b__ac(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<<installPackageToAppDir>b__ a8>d__b8.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__54`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.<ApplyReleases>d__78.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.<FullInstall>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.<Install>d__37.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.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<>c __DisplayClassb6.<installPackageToAppDir>b__ ad(DirectoryInfo subdir)
   at Squirrel.Utility.<>c __DisplayClass18`1.<>c__ DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.<>c __DisplayClass1e`1.<>c__ DisplayClass20.<<ForEachAsync>b __1d>d__ 22.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 Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<installPackageToAppDir>b__ac(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<<installPackageToAppDir>b__ a8>d__b8.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__54`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.<ApplyReleases>d__78.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.<FullInstall>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.<Install>d__37.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassaf.<>c__ DisplayClassb4.<>c __DisplayClassb6.<installPackageToAppDir>b__ ad(DirectoryInfo subdir)
   at Squirrel.Utility.<>c __DisplayClass18`1.<>c__ DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.<>c __DisplayClass1e`1.<>c__ DisplayClass20.<<ForEachAsync>b __1d>d__ 22.MoveNext()<---
<---

```

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [April 23, 2016, 10:09pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/2 "2016-04-23T22:09:27Z")

</div>

Try installing [Atom](https://atom.io/), the text editor that Particle Dev is based on and then install the following packages:

- [console-panel](https://atom.io/packages/console-panel)
- [tool-bar](https://atom.io/packages/tool-bar)
- [particle-dev](https://atom.io/packages/particle-dev)
- [particle-dev-cloud-functions](https://atom.io/packages/particle-dev-cloud-functions)
- [particle-dev-cloud-variables](https://atom.io/packages/particle-dev-cloud-variables)

After installation of `particle-dev` package, restart Atom. If you see a red bug icon in status bar, click it, then click `Rebuild Modules` button and `Restart Atom` again.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 24, 2016, 2:58am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/3 "2016-04-24T02:58:03Z")

</div>

Thanks! I did try Atom, and the following packages wouldn’t install…  
particle-dev 0.1.0  
particle-dev-local-compiler 0.0.4

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/8/805d57283999336bc29f75cd214d5e81c06ddfe6.png)

**Installing “particle-dev@0.1.0” failed:**

```auto
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-05e96c9d C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c6c69101f511\53c615628a635c895e0413acda0e5dff3b5a5a9d: Cloning into 'C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c6c69101f511\53c615628a635c895e0413acda0e5dff3b5a5a9d'...
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-05e96c9d C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c6c69101f511\53c615628a635c895e0413acda0e5dff3b5a5a9d: error: cannot spawn sh: No such file or directory
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-05e96c9d C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c6c69101f511\53c615628a635c895e0413acda0e5dff3b5a5a9d: fatal: unable to fork
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-05e96c9d C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c6c69101f511\53c615628a635c895e0413acda0e5dff3b5a5a9d: 
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-spec-stubs-git-84fb2ebd C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c4f7ef8dde71\9a38178961ec6958311156b4bc5193c003c45d5b: Cloning into 'C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c4f7ef8dde71\9a38178961ec6958311156b4bc5193c003c45d5b'...
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-spec-stubs-git-84fb2ebd C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c4f7ef8dde71\9a38178961ec6958311156b4bc5193c003c45d5b: error: cannot spawn sh: No such file or directory
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-spec-stubs-git-84fb2ebd C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c4f7ef8dde71\9a38178961ec6958311156b4bc5193c003c45d5b: fatal: unable to fork
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-spec-stubs-git-84fb2ebd C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c4f7ef8dde71\9a38178961ec6958311156b4bc5193c003c45d5b: 
npm WARN deprecated spark@0.5.10: Use particle-api-js instead
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "F:\\Work\\IoT Project\\particle-dev-windows-1.5.1\\ParticleDev\\resources\\app\\apm\\bin\\node.exe" "F:\\Work\\IoT Project\\particle-dev-windows-1.5.1\\ParticleDev\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\Lakshmanan Chandran\\.particledev\\.apm\\.apmrc" "--userconfig" "C:\\Users\\Lakshmanan Chandran\\.particledev\\.apmrc" "install" "C:\\Users\\LAKSHM~1\\AppData\\Local\\Temp\\d-116324-44436-6qovho\\package.tgz" "--target=0.34.5" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code 128

npm ERR! Command failed: Cloning into 'C:\Users\LAKSHM~1\AppData\Local\Temp\npm-47084-b4d41c6b\git-cache-c6c69101f511\53c615628a635c895e0413acda0e5dff3b5a5a9d'...
npm ERR! error: cannot spawn sh: No such file or directory
npm ERR! fatal: unable to fork
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

```

**Installing “particle-dev-local-compiler@0.0.4” failed:**

```auto
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-2c3bfa02 C:\Users\LAKSHM~1\AppData\Local\Temp\npm-46296-25cd84fe\git-cache-1c70eb8c7091\a09ad71ece8d9e8ce9e3823186e1a1fec3a5406c: Cloning into 'C:\Users\LAKSHM~1\AppData\Local\Temp\npm-46296-25cd84fe\git-cache-1c70eb8c7091\a09ad71ece8d9e8ce9e3823186e1a1fec3a5406c'...
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-2c3bfa02 C:\Users\LAKSHM~1\AppData\Local\Temp\npm-46296-25cd84fe\git-cache-1c70eb8c7091\a09ad71ece8d9e8ce9e3823186e1a1fec3a5406c: error: cannot spawn sh: No such file or directory
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-2c3bfa02 C:\Users\LAKSHM~1\AppData\Local\Temp\npm-46296-25cd84fe\git-cache-1c70eb8c7091\a09ad71ece8d9e8ce9e3823186e1a1fec3a5406c: fatal: unable to fork
npm ERR! git clone C:\Users\Lakshmanan Chandran\.particledev\.apm\_git-remotes\git-github-com-spark-particle-dev-views-git-2c3bfa02 C:\Users\LAKSHM~1\AppData\Local\Temp\npm-46296-25cd84fe\git-cache-1c70eb8c7091\a09ad71ece8d9e8ce9e3823186e1a1fec3a5406c: 
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "F:\\Work\\IoT Project\\particle-dev-windows-1.5.1\\ParticleDev\\resources\\app\\apm\\bin\\node.exe" "F:\\Work\\IoT Project\\particle-dev-windows-1.5.1\\ParticleDev\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\Lakshmanan Chandran\\.particledev\\.apm\\.apmrc" "--userconfig" "C:\\Users\\Lakshmanan Chandran\\.particledev\\.apmrc" "install" "C:\\Users\\LAKSHM~1\\AppData\\Local\\Temp\\d-116324-42440-1huj727\\package.tgz" "--target=0.34.5" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code 128

npm ERR! Command failed: Cloning into 'C:\Users\LAKSHM~1\AppData\Local\Temp\npm-46296-25cd84fe\git-cache-1c70eb8c7091\a09ad71ece8d9e8ce9e3823186e1a1fec3a5406c'...
npm ERR! error: cannot spawn sh: No such file or directory
npm ERR! fatal: unable to fork
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

```

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [April 24, 2016, 9:58am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/4 "2016-04-24T09:58:53Z")

</div>

@ilak2k It looks like you have an out of date version of [node and npm](https://nodejs.org/en/). Try installing a [new version of node](https://nodejs.org/en/download/stable/).

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 24, 2016, 10:52am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/5 "2016-04-24T10:52:06Z")

</div>

@nrobinson2000 I’ve already installed the Stable Version v5.11.0, from the page you mentioned…

Its node-v5.11.0-x64.msi from the link  
[https://nodejs.org/dist/v5.11.0/node-v5.11.0-x64.msi](https://nodejs.org/dist/v5.11.0/node-v5.11.0-x64.msi)

Should I have installed the LTS v4.4.3 from this link instead?  
[https://nodejs.org/dist/v4.4.3/node-v4.4.3-x64.msi](https://nodejs.org/dist/v4.4.3/node-v4.4.3-x64.msi)

I have some projects ready with Arduino, and trying to port them all with the Particle…  
I’m glad you’re helping me here… Thanks!

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [April 24, 2016, 11:59am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/6 "2016-04-24T11:59:25Z")

</div>

> [@ilak2k](#):
>
> npm ERR! node v0.10.40  
> npm ERR! npm v2.13.3

In your log it says that you have an old version. Try:

```auto
node -v

```

and

```auto
npm -v

```

To check which versions you have installed. It should say something like `v5.11.0` and `3.8.6`.

If not, try uninstalling node and reinstalling.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 24, 2016, 12:02pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/7 "2016-04-24T12:02:08Z")

</div>

Yes it says…  
node Version: v5.11.0  
npm Version: 3.8.6

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/c/c72d37fcb045730b0262520e3bb47b8d50f2dbe0.png)

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [April 24, 2016, 12:03pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/8 "2016-04-24T12:03:43Z")

</div>

Strange… I don’t see why you should be having a problem then.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 24, 2016, 12:06pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/9 "2016-04-24T12:06:24Z")

</div>

Should I set an Environment Variable? Or something like path read/write permissions? I’m the Admin User… That shouldn’t be an issue right? Why is it so complicated to even start?

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [April 24, 2016, 12:13pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/10 "2016-04-24T12:13:43Z")

</div>

Maybe @suda can help you. He is the main developer for Particle Dev.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 24, 2016, 12:16pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/11 "2016-04-24T12:16:36Z")

</div>

Cool! Will he be notified? Can you ask him to look in to this issue?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [April 24, 2016, 1:59pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/12 "2016-04-24T13:59:44Z")

</div>

Since @nrobinson2000 has used the `@` symbol in conjunction with `suda` user name, he'll already have got a ping.

But I guess you've already got the right idea here

> [@ilak2k](#):
>
> Should I set an Environment Variable?

Check your PATH whether you have multiple instances of node referenced in there or if you executed the install from within a folder where the old node version would be picked over your intended version.  
Also, if you don't need the old version, save yourself future grief and remove it.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 24, 2016, 2:46pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/13 "2016-04-24T14:46:13Z")

</div>

@ScruffR I checked the Environment Variables… And I’ve noticed references of node.js and npm…

Under "User variables for "  
PATH - C:\Users\Lakshmanan Chandran\AppData\Roaming\npm

Under “System variables”  
Path - C:\Program Files\nodejs\

Also refer to the attached screenshots here…  
 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/b/b1f2ad1ea2c681b3c78741dbd4bddd9e904587f6.png)

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/2/276e473e48ed0e99f092ff3275bd4ab50cc57516.png)

I’ll try installing from a different folder, as suggested…

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [April 25, 2016, 11:27am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/14 "2016-04-25T11:27:36Z")

</div>

Sorry for having those issues. You can try using a zipped Particle Dev for Windows instead of installer: [https://github.com/spark/particle-dev-app/releases/tag/v1.5.1](https://github.com/spark/particle-dev-app/releases/tag/v1.5.1)

As for Node version Particle Dev and Atom bundle their own and the ones you have are correct. Are you able to install any other Atom packages? This looks like some general issue with Atom permissions.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 25, 2016, 11:41am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/15 "2016-04-25T11:41:31Z")

</div>

@suda I’ll try the zip package you’ve shown here… I did install  
console-panel  
tool-bar  
particle-dev-cloud-functions  
particle-dev-cloud-variables

Let me try to install some other package just to confirm… I’ll have to try all these, once I’m back from work… Around 3 hrs from now… Thanks for your help!

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 27, 2016, 3:35am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/16 "2016-04-27T03:35:21Z")

</div>

@suda I’ve downloaded the zip from the link you mentioned and the particle-dev package installation didn’t happen… Trying to install it throws exactly the same error as before… Tried installing “power-mode” package and it went through… So other packages install just fine… What could be the issue?

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/6/659fea96771bd2504e970c129f552f4730e4a573.png)

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [April 27, 2016, 3:29pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/17 "2016-04-27T15:29:06Z")

</div>

Zipped app already contains Particle Dev package (previously called `spark-dev`) and you can see its UI on the left tool bar and status bar.

---

<div class="post-metadata">

**Author:** ![ilak2k](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ilak2k/32/9992_2.png) [@ilak2k](https://community.particle.io/u/ilak2k)\
**Post date:** [April 28, 2016, 8:55pm UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/18 "2016-04-28T20:55:57Z")

</div>

I did try. It doesn’t compile… I’ve tried copying the blynk.h & cpp files to the same folder as the \*.ino file. I tried including the same set of files in different folders. It just doesn’t take the \*.h files…

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/4/458a8b22297cae12fdf162aa29ad798bfce6969d.png)

Can you help me in this? The Web IDE is not all bad, but the local editors are always much quicker…

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [April 29, 2016, 11:23am UTC](https://community.particle.io/t/particledevsetup-exe-installation-has-failed/22349/19 "2016-04-29T11:23:55Z")

</div>

You seem to be building the wrong project.  
Look at the file name in the error message.  
BTW, if you want to include files from a subfolder you should also provide a file called `particle.include` that tells the build command which files to upload to the build farm.

Also remove the `examples` folder from the `blynk` folder, just to prevent building any of the `.ino` files in there.
