I am a beginner in python and just started learning it since yesterday and I am facing this below error:
Installing “platformio-ide-terminal#2.10.0” failed.
> node-pty-prebuilt-multiarch#0.9.0-beta21.legacy install C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-
multiarch
> prebuild-install || node scripts/install.js
C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch>if not defined npm_config_node_gyp (node "C:\Users\***\AppData\Local\atom\app-1.52.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\***\AppData\Local\atom\app-1.52.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch\build\conpty.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch\build\conpty_console_list.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch\build\deps\winpty\src\winpty.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch\build\deps\winpty\src\winpty-agent.vcxproj]
prebuild-install WARN install No prebuilt binaries found (target=6.1.12 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\***\AppData\Local\atom\app-1.52.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Users\\***\\AppData\\Local\\atom\\app-1.52.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\indra\\AppData\\Local\\atom\\app-1.52.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\***\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\indra\AppData\Local\Temp\apm-install-dir-2020914-12224-l2dhgv.ez4lo\package.json'
npm WARN apm-install-dir-2020914-12224-l2dhgv.ez4lo No description
npm WARN apm-install-dir-2020914-12224-l2dhgv.ez4lo No repository field.
npm WARN apm-install-dir-2020914-12224-l2dhgv.ez4lo No README data
npm WARN apm-install-dir-2020914-12224-l2dhgv.ez4lo No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty-prebuilt-multiarch#0.9.0-beta21.legacy install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty-prebuilt-multiarch#0.9.0-beta21.legacy install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\***\.atom\.apm\_logs\2020-10-14T12_05_28_400Z-debug.log
Atom Version: 1.52.0
platformio-ide-terminal Version: 2.10.0
Please help me here.
Firstly
Same issue happened to me today. Now after uninstalling it i can't install it back. In some github discussion, i've seen some were suggesting to uninstall atom and then reinstall previous version of atom.
Check out more here:
https://discuss.atom.io/t/cannot-install-platformio-ide-terminal-2-9-1-on-atom/67012/7
Second Option:
(Uninstall whatever package you are using for terminal [optional].)
Now,
Open Atom and Go to File -> Setting -> install
Search for terminus and click install
After installing terminus, find Shell Override and write C:\WINDOWS\System32\cmd.exe in it
Restart Atom
Find a plus (+) sign at the left-bottom of Atom window. Then click on it! Hurray! Terminal is opened!
I've followed the second option and now working in terminal on Atom!
Close and uninstall the Atom editor and then, delete the 'atom' directory in 'C:\Users\current_user\AppData'.
Now re-install the Atom editor again and it should work.
(PS: "AppData" is a hidden directory)
Related
This morning when I tried opening up the terminal in atom-editor from the package platformio-ide-terminal it was just blank. I uninstalled the package and when I tried to reinstall it the following failure message was shown:
Installing “platformio-ide-terminal#2.10.0” failed.Hide output…
> node-pty-prebuilt-multiarch#0.9.0-beta21.legacy install C:\Users\User\AppData\Local\Temp\apm-install-dir-2020914-9448-8l0dac.72tzp\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js
C:\Users\User\AppData\Local\Temp\apm-install-dir-2020914-9448-8l0dac.72tzp\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch>if not defined npm_config_node_gyp (node "C:\Users\User\AppData\Local\atom\app-1.52.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\User\AppData\Local\atom\app-1.52.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
prebuild-install WARN install No prebuilt binaries found (target=6.1.12 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS checking VS2019 (16.6.30128.74) found at:
gyp ERR! find VS "G:\VisualStudio"
gyp ERR! find VS - "Visual Studio C++ core features" missing
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS looking for Visual Studio 2013
gyp ERR! find VS - not found
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\User\AppData\Local\Temp\apm-install-dir-2020914-9448-8l0dac.72tzp\package.json'
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No description
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No repository field.
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No README data
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No license field.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\.atom\.apm\_logs\2020-10-14T02_21_59_681Z-debug.log
How do I fix this?
Use the link below to install Visual Studio Code :-
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools
It worked for me.
When I try to install any packages at all the program shows an error. I have provided the error output below. I have already tried to uninstall and reinstall the editor to see if that out work but it unfortunately didnt. I also tried to look it up online to see if there were any solutions but was unable to find any. What shall I do to fix this error?
> prebuild-install || node scripts/install.js
C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false ) else (node "C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Users\\User\\AppData\\Local\\atom\\app-1.39.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\User\\AppData\\Local\\atom\\app-1.39.1\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\package.json'
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No description
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No repository field.
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No README data
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty-prebuilt#0.7.6 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty-prebuilt#0.7.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\.atom\.apm\_logs\2019-07-26T23_05_19_362Z-debug.log
Update, August 20, 2019
The issue was fixed in Atom v1.40.1
Old answer
The said package is currently not working with Atom v1.39, since it includes a major update for the underlying Electron framework.
You can try and rebuild some of the package's native modules. To do so, run apm rebuild inside the ~/.atom/packages/platformio-ide-terminal folder.
If that doesn't work, a workaround is to downgrade Atom to v1.38.x and wait for a fix. You can follow this discussion or subscribe to the issue on GitHub for updates.
I'm attempting a routine-test of a customized WordPress-installation on a localhost production supported by the node package-manager. After instantiating the WordPress core-files, ensuring successful connection to the database and updating a few assets, I attempted to change-directory into the corresponding WordPress-theme files to run the node-package-manager install command with npm install (which was successful) and then attempted to execute the CSS-compiler with npm run buildas per routine; however, on this attempt, I encountered the following errors within my below terminal output:
vetsi npm run build
> # build /Users/alexsingleton/Sites/vetsi/wp-content/themes/vetsi
> npm-run-all --silent compile:css compile:js
/Users/alexsingleton/Sites/vetsi/wp-content/themes/vetsi/node_modules/stylus/bin/stylus:715
if (err) throw err;
^
Error: ENOENT: no such file or directory, open 'build/bundle.css'
at Error (native)
ERROR: compile:css: None-Zero Exit(1);
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/alexsingleton/.nvm/versions/node/v4.4.4/bin/node" "/Users/alexsingleton/.nvm/versions/node/v4.4.4/bin/npm" "run" "build"
npm ERR! node v4.4.4
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! # build: `npm-run-all --silent compile:css compile:js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the # build script 'npm-run-all --silent compile:css compile:js'.
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 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm-run-all --silent compile:css compile:js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/alexsingleton/.npm/_logs/2017-02-15T17_48_20_907Z-debug.log
➜ vetsi
I've tried updating both the node package manager with npm install -g npm and verified the correct version corresponding to another successful localhost production with nvm ls generating the below output:
vetsi nvm ls
v0.12.7
-> v4.4.4
system
default -> 4.4.4 (-> v4.4.4)
node -> stable (-> v4.4.4) (default)
stable -> 4.4 (-> v4.4.4) (default)
iojs -> iojs- (-> N/A) (default)
➜ vetsi
Needless to say, the above-errors preclude any localhost pages from rendering, though I can successfully access and navigate within the WordPress Content Management system. I would appreciate any guidance- thank you!
After investigating the localhost-production within the console of Google Chrome Inspector Tools, the error reported that the entire node package-manager folder and dependencies were missing. Since neither npm-install nor npm build didn't instantiate the package-folder or dependencies, I simply copied the files from my other working localhost production, specifically bundle.css where it was apparently missing from the appropriate path (wp/themes/vetsi/build). For now, this hack is the best solution to my problem but I welcome alternative analysis or clarification as to why the aforementioned commands didn't correctly execute according to my previous successes. Thanks!
Why installing term3 on atom (Windows 10, Visual Studio 2015) I get the following error. I tried all the solution available on the internet but can't help the issue. Can someone help me fix this?
C:\Users\JoyLal>apm install term3
Installing term3 to C:\Users\JoyLal\.atom\packages failed
> ptyw.js#0.4.1 install C:\Users\JoyLal\AppData\Local\Temp\apm-install-dir-1161015-1108-j516r8\node_modules\term3\node_modules\ptyw.js
> node-gyp rebuild
C:\Users\JoyLal\AppData\Local\Temp\apm-install-dir-1161015-1108-j516r8\node_modules\term3\node_modules\ptyw.js>if not defined npm_config_node_gyp (node "C:\Users\JoyLal\AppData\Local\atom\app-
1.12.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\JoyLal\AppData\Local\atom\app-1.12.2\resources\app\apm\
bin\\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the requir
ed version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\JoyLal\AppData\Local\Temp\apm-i
nstall-dir-1161015-1108-j516r8\node_modules\term3\node_modules\ptyw.js\build\vendor\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the requir
ed version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\JoyLal\AppData\Local\Temp\apm-i
nstall-dir-1161015-1108-j516r8\node_modules\term3\node_modules\ptyw.js\build\vendor\winpty\winpty.vcxproj]
C:\Users\JoyLal\AppData\Local\Temp\apm-install-dir-1161015-1108-j516r8
`-- (empty)
npm WARN deprecated react-tools#0.11.2: react-tools is deprecated. For more information,
npm ERR! registry error parsing json
npm WARN deprecated graceful-fs#2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs#^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to fi
nd it in the tree.
npm WARN deprecated minimatch#0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\JoyLal\AppData\Local\atom\app-1.12.2\resources\app\apm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Users\\JoyLal\\AppData\\Local\\atom\\app-1.12.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\JoyLal\\AppData\\Local\\atom\\app-1.12.2\\resources\\app\\apm\\node_modul
es\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\JoyLal\AppData\Local\Temp\apm-install-dir-1161015-1108-j516r8\node_modules\term3\node_modules\ptyw.js
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\JoyLal\AppData\Local\Temp\apm-install-dir-1161015-1108-j516r8\package.json'
npm WARN apm-install-dir-1161015-1108-j516r8 No description
npm WARN apm-install-dir-1161015-1108-j516r8 No repository field.
npm WARN apm-install-dir-1161015-1108-j516r8 No README data
npm WARN apm-install-dir-1161015-1108-j516r8 No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Users\\JoyLal\\AppData\\Local\\atom\\app-1.12.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\JoyLal\\AppData\\Local\\atom\\app-1.12.2\\resources\\app\\apm\\node_modules\
\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\JoyLal\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\JoyLal\\.atom\\.apmrc" "install" "C:\\Users\\JoyLal\\AppData\\Local\\Temp\\d-1161015
-1108-dbjp4i\\package.tgz" "--runtime=electron" "--target=1.3.6" "--arch=ia32" "--global-style" "--msvs_version=2015"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! ptyw.js#0.4.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ptyw.js#0.4.1 install script 'node-gyp rebuild'.
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 ptyw.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ptyw.js
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ptyw.js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\JoyLal\AppData\Local\Temp\apm-install-dir-1161015-1108-j516r8\npm-debug.log
npm ERR! code 1
I already have visual studio installed npm msvs_version is set to 2015 and python 2.7.3 installed on my PC.
Here is the error message by your logs:
The Windows SDK version 8.1 was not found.
So the Workaround is to:
Install Visual C++ projects support to Visual Studio 2015 (requires 3GB space).
Credits.
Info
$ apm -v
apm 1.6.0
npm 2.13.3
node 0.10.40
python 2.7.10
git 2.6.4
$ apm update
Package Updates Available (1)
└── nuclide 0.124.0 -> 0.125.0
Would you like to install these updates? (yes)
Error:
npm WARN engine nuclide#0.125.0: wanted: {"atom":">=1.5.3","node":">=4.1.1"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm ERR! Darwin 15.4.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/chandan/.atom/.apm/.apmrc" "--userconfig" "/Users/chandan/.atom/.apmrc" "install" "/private/var/folders/jx/80gvpbb525z56t19l_n172hw0000gn/T/d-116223-40264-1wsir87/package.tgz" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! version not found: relative-date#1.1.2
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/jx/80gvpbb525z56t19l_n172hw0000gn/T/apm-install-dir-116223-40264-17hzbk1/npm-debug.log
Please let me know if i am doing something wrong or if there is a workaround on how to upgrade this nuclide package.
For now I built nuclide manually according to this guide: http://nuclide.io/docs/advanced-topics/building-from-source.
git clone https://github.com/facebook/nuclide.git
cd nuclide
npm install
apm link
It has solved the problem for me.
This is resolved.
This error occurred during the infamous 'left-pad' unpublishing of March 2016. 'left-pad' received the most mentions, but 'relative-date' was among the packages that were unpublished as well.
This was not a problem in Nuclide itself but rather in the downloading of its dependencies.