# Particle Dev in/out Atom - cant install

**URL:** <https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968>\
**Category:** Troubleshooting\
**Created:** [May 19, 2017, 1:42pm UTC](https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968 "2017-05-19T13:42:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Postler](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/postler/32/13693_2.png) [@Postler](https://community.particle.io/u/Postler)\
**Post date:** [May 19, 2017, 1:42pm UTC](https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968/1 "2017-05-19T13:42:06Z")

</div>

I intended to use the Atom editor and - according to the description in other threads and[this guide](https://atom.io/packages/particle-dev) created the prerequisites for Windows 10 64bit with GitHub Desktop and Visual Studio Community 2017 with .Net Framework 4.7.x. However, I get the following error:

> 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\Ingo\AppData\Local\Temp\apm-install-dir-117419-3708-2dj7pp.zniajg7gb9\npm-debug.log  
> npm ERR! code 1

Have it then as a separate download of [IoT Command Center —&nbsp;Particle](http://particle.io/dev) tried: I get the following error during Squirrel installation:  
Snip:

```
---> (Interne Ausnahme #0) System.IO.IOException: Der Zugriff auf den Pfad "resources" wurde verweigert.
   bei System.IO.DirectoryInfo.MoveTo(String destDirName)
   bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c __DisplayClassb4.<>c__ DisplayClassb9.<>c __DisplayClassbb.<installPackageToAppDir>b__ b2(DirectoryInfo subdir)
   bei Squirrel.Utility.<>c __DisplayClass18`1.<>c__ DisplayClass1a.<ForEachAsync>b__17()
   bei System.Threading.Tasks.Task.InnerInvoke()
   bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei Squirrel.Utility.<>c __DisplayClass1e`1.<>c__ DisplayClass20.<<ForEachAsync>b __1d>d__ 22.MoveNext()<---
<---

```

Is there a how to available?

---

<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:** [May 19, 2017, 2:59pm UTC](https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968/2 "2017-05-19T14:59:33Z")

</div>

What does

```nohighlight
node --version
npm --version

```

tell?

---

<div class="post-metadata">

**Author:** ![Postler](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/postler/32/13693_2.png) [@Postler](https://community.particle.io/u/Postler)\
**Post date:** [May 19, 2017, 4:11pm UTC](https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968/3 "2017-05-19T16:11:21Z")

</div>

Downloaded Node.Js v6.10.3 LTS for Windows which installs npm@3.10.10.  
After Reboot I checked Atom to install particle-dev again: but fails again.

Begin Snip:

```
> serialport@4.0.1 install C:\Users\Ingo\AppData\Local\Temp\apm-install-dir-117419-14028-lileqw.avnda8xgvi\node_modules\particle-dev\node_modules\serialport
> node-pre-gyp install --fallback-to-build

Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu erm�glichen, m�ssen Sie den Schalter "/m" hinzuf�gen.
MSBUILD : error MSB3428: Die Visual C++-Komponente "VCBuild.exe" konnte nicht geladen werden. Um dieses Problem zu beheben, installieren Sie entweder 1) .NET Framework 2.0 SDK oder 2) Microsoft Visual Studio 2005 oder 3) f�gen Sie den Speicherort der Komponente zum Systempfad hinzu, falls er vom Standardspeicherort abweicht. [C:\Users\Ingo\AppData\Local\Temp\apm-install-dir-117419-14028-lileqw.avnda8xgvi\node_modules\particle-dev\node_modules\serialport\build\binding.sln]
Failed to execute 'C:\Users\Ingo\AppData\Local\atom\app-1.17.0\resources\app\apm\bin\node.exe C:\Users\Ingo\AppData\Local\atom\app-1.17.0\resources\app\apm\bin\\..\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\Ingo\AppData\Local\Temp\apm-install-dir-117419-14028-lileqw.avnda8xgvi\node_modules\particle-dev\node_modules\serialport\build\Release\serialport.node --module_name=serialport --module_path=C:\Users\Ingo\AppData\Local\Temp\apm-install-dir-117419-14028-lileqw.avnda8xgvi\node_modules\particle-dev\node_modules\serialport\build\Release' (1)
C:\Users\Ingo\AppData\Local\Temp\apm-install-dir-117419-14028-lileqw.avnda8xgvi
`-- (empty)
```

---

<div class="post-metadata">

**Author:** ![Postler](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/postler/32/13693_2.png) [@Postler](https://community.particle.io/u/Postler)\
**Post date:** [May 24, 2017, 2:05pm UTC](https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968/4 "2017-05-24T14:05:24Z")

</div>

This external thread helps: [https://github.com/spark/particle-dev/issues/151](https://github.com/spark/particle-dev/issues/151)

to solve the node-gyp dependencies used the following:  
On Windows: Option 1: Install all the required tools and configurations using Microsoft’s windows-build-tools using **npm install --global --production windows-build-tools** from an elevated PowerShell or CMD.exe ( **run as Administrator** ).

---

<div class="post-metadata">

**Author:** ![KyleG](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kyleg/32/11077_2.png) [@KyleG](https://community.particle.io/u/KyleG)\
**Post date:** [May 24, 2017, 9:40pm UTC](https://community.particle.io/t/particle-dev-in-out-atom-cant-install/32968/5 "2017-05-24T21:40:56Z")

</div>

Thanks for posting your answer!
