Titanium JIRA Archive
Appcelerator Community (AC)

[AC-555] appc setup throws error on windows 10 (trying to install fsevents an os x only module)...

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2016-01-07T15:44:25.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator CLI, Studio
Labelsinstall, setup
ReporterHenry David Spells III
AssigneeSharif AbuDarda
Created2016-01-06T00:50:23.000+0000
Updated2016-01-07T22:54:50.000+0000

Description

appc setup Finding latest version ...5.1.0 OK Validating security checksum OK Installing ... OK Compiling platform native modules ... └ extract-opts/typechecker ... OK └ bunyan/dtrace-provider ... OK └ extract-opts/typechecker ... OK └ socket.io-client/ws ... OK └ appc-ldapjs/dtrace-provider ... OK └ bunyan/dtrace-provider ... OK └ appc-ldapjs/dtrace-provider ... OK └ ws/bufferutil ... OK └ ws/utf-8-validate ... OK └ chokidar/fsevents ... npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files (x86)\\Nodist/v/nodev0.12.9/node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "fsevents@1.0.5" "--production" npm ERR! node v0.12.9 npm ERR! npm v3.5.2 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32 npm ERR! Please include the following file with any support request: npm ERR! C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\npm-debug.log C:\Users\dspells>nodist ls > nodev0.12.9 (global) nodev4.2.4 nodev5.3.0 C:\Users\dspells>nodist 4.2.4 nodev4.2.4 C:\Users\dspells>appc setup Finding latest version ...5.1.0 OK Validating security checksum OK Installing ... OK Compiling platform native modules ... └ extract-opts/typechecker ... OK └ bunyan/dtrace-provider ... OK └ extract-opts/typechecker ... OK └ socket.io-client/ws ... OK └ appc-ldapjs/dtrace-provider ... OK └ bunyan/dtrace-provider ... OK └ appc-ldapjs/dtrace-provider ... OK └ ws/bufferutil ... OK └ ws/utf-8-validate ... OK └ chokidar/fsevents ... npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files (x86)\\Nodist\\v\\nodev4.2.4\\node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "fsevents@1.0.5" "--production" npm ERR! node v4.2.4 npm ERR! npm v3.5.2 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32 npm ERR! Please include the following file with any support request: npm ERR! C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\npm-debug.log C:\Users\dspells>nodist 5.3.0 nodev5.3.0 C:\Users\dspells>appc setup Finding latest version ...5.1.0 OK Validating security checksum OK Installing ... OK Compiling platform native modules ... └ extract-opts/typechecker ... OK └ bunyan/dtrace-provider ... OK └ extract-opts/typechecker ... OK └ socket.io-client/ws ... OK └ appc-ldapjs/dtrace-provider ... OK └ bunyan/dtrace-provider ... OK └ appc-ldapjs/dtrace-provider ... OK └ ws/bufferutil ... OK └ ws/utf-8-validate ... OK └ chokidar/fsevents ... npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files (x86)\\Nodist\\v\\nodev5.3.0\\node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "fsevents@1.0.5" "--production" npm ERR! node v5.3.0 npm ERR! npm v3.5.2 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32 npm ERR! Please include the following file with any support request: npm ERR! C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\npm-debug.log

Attachments

FileDateSize
npm-debug.log2016-01-06T00:47:17.000+00005036

Comments

  1. Sharif AbuDarda 2016-01-06

    Hello, Tested this issue. This is not a bug. I recommend you upgrade SDK to the latest build. Please follow the steps below and let us know. Test Steps: • Make sure you have the latest Appc CLI from NPM: npm install -g appcelerator • To check which version you are on, run: npm list -g --depth 0 appcelerator • run the setup command with debug and trace flags turned on: DEBUG= appc setup -l trace* •Reconfigure your System variables( $JAVA_HOME) Next, try a clean install of your Appc CLI: • Uninstall Appc CLI from NPM global path 'npm uninstall -g appcelerator' • Remove Appc CLI installed locally 'rm -rf .appcelerator ' • Cache clean from NPM 'npm cache clean' • Then, reinstall Appc CLI from NPM 'npm install -g appcelerator' • Run setup 'appc setup' For more info on [troubleshooting](http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_CLI_Troubleshooting). Thanks.
  2. Henry David Spells III 2016-01-06

    Just because you cannot reproduce this does not mean it is not a bug. It's just CNR for you. I'll go straight to your clean install instructions. *Added correct DEBUG setup for windows* After following the clean install instructions the problem still exists. Also the instructions you gave were not for windows, it was for mac os x or Linux. Also if you read the installation process it is trying to install fsevents which is a mac only module. Why would it do that? The first thing I did before doing appc setup from npm install -g appcelerator but I did it again. It said appcelerator@4.2.2 was already installed. Is that right? npm list -g --depth 0 appcelerator returns C:\Program Files (x86)\Nodist\bin └── appcelerator@4.2.2 Do I need to configure %JAVA_HOME% to point to the 64-bit version of JAVA or the 32-bit version? Does it matter? Per a recommendation on the internet... I set JAVA_HOME to C:\Program Files\Java\jdk1.8.0_66 I set JRE_HOME to C:\Program Files\Java\jre1.8.0_66 C:\Users\dspells>java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b18) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b18, mixed mode) I did a 'npm uninstall -g appcelerator' here I did a del /s /f /q .appcelerator here It did clean out a bunch of files but I did not include the output because it did not seem relevant npm cache clean executed and returned nothing C:\Users\dspells>npm install -g appcelerator C:\Program Files (x86)\Nodist\bin\appcelerator -> C:\Program Files (x86)\Nodist\bin\node_modules\appcelerator\bin\appc C:\Program Files (x86)\Nodist\bin\appc -> C:\Program Files (x86)\Nodist\bin\node_modules\appcelerator\bin\appc C:\Program Files (x86)\Nodist\bin └─┬ appcelerator@4.2.2 ├─┬ chalk@0.5.1 │ ├── ansi-styles@1.1.0 │ ├── escape-string-regexp@1.0.4 │ ├─┬ has-ansi@0.1.0 │ │ └── ansi-regex@0.2.1 │ ├── strip-ansi@0.3.0 │ └── supports-color@0.2.0 ├─┬ debug@2.1.3 │ └── ms@0.7.0 ├── lodash@2.4.1 ├── progress@1.1.8 ├─┬ request@2.55.0 │ ├── aws-sign2@0.5.0 │ ├─┬ bl@0.9.4 │ │ └─┬ readable-stream@1.0.33 │ │ ├── core-util-is@1.0.1 │ │ ├── inherits@2.0.1 │ │ ├── isarray@0.0.1 │ │ └── string_decoder@0.10.31 │ ├── caseless@0.9.0 │ ├─┬ combined-stream@0.0.7 │ │ └── delayed-stream@0.0.5 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@0.2.0 │ │ └── async@0.9.0 │ ├─┬ har-validator@1.7.0 │ │ ├── bluebird@2.9.25 │ │ ├─┬ chalk@1.0.0 │ │ │ ├── ansi-styles@2.0.1 │ │ │ ├── escape-string-regexp@1.0.3 │ │ │ ├─┬ has-ansi@1.0.3 │ │ │ │ ├── ansi-regex@1.1.1 │ │ │ │ └── get-stdin@4.0.1 │ │ │ ├─┬ strip-ansi@2.0.1 │ │ │ │ └── ansi-regex@1.1.1 │ │ │ └── supports-color@1.3.1 │ │ ├─┬ commander@2.8.1 │ │ │ └── graceful-readlink@1.0.1 │ │ └─┬ is-my-json-valid@2.12.0 │ │ ├── generate-function@2.0.0 │ │ ├─┬ generate-object-property@1.2.0 │ │ │ └── is-property@1.0.2 │ │ ├── jsonpointer@1.1.0 │ │ └── xtend@4.0.0 │ ├─┬ hawk@2.3.1 │ │ ├── boom@2.7.1 │ │ ├── cryptiles@2.0.4 │ │ ├── hoek@2.13.0 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@0.10.1 │ │ ├── asn1@0.1.11 │ │ ├── assert-plus@0.1.5 │ │ └── ctype@0.5.3 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.0 │ ├─┬ mime-types@2.0.11 │ │ └── mime-db@1.9.1 │ ├── node-uuid@1.4.3 │ ├── oauth-sign@0.6.0 │ ├── qs@2.4.2 │ ├── stringstream@0.0.4 │ ├── tough-cookie@1.1.0 │ └── tunnel-agent@0.4.0 ├── semver@3.0.1 ├─┬ tar@1.0.3 │ ├── block-stream@0.0.7 │ ├─┬ fstream@1.0.4 │ │ ├── graceful-fs@3.0.6 │ │ ├─┬ mkdirp@0.5.0 │ │ │ └── minimist@0.0.8 │ │ └─┬ rimraf@2.3.2 │ │ └─┬ glob@4.5.3 │ │ ├─┬ inflight@1.0.4 │ │ │ └── wrappy@1.0.1 │ │ ├─┬ minimatch@2.0.4 │ │ │ └─┬ brace-expansion@1.1.0 │ │ │ ├── balanced-match@0.2.0 │ │ │ └── concat-map@0.0.1 │ │ └─┬ once@1.3.1 │ │ └── wrappy@1.0.1 │ └── inherits@2.0.1 └── which@1.0.8 npm WARN In appcelerator@4.2.2 replacing bundled version of chalk with chalk@0.5.1 C:\Users\dspells>cmd /C "set DEBUG=* && appc setup -l trace" appc:bin install bin is undefined +0ms appc:bin main subcommand setup +4ms appc:bin main setup found +2ms appc:bin main - !installBin or couldn't find it null +1ms appc:install preflight checks, is this windows? 1 +2ms appc:install home directory located at C:\Users\dspells +2ms appc:install install, wantVersion: , url: https://software.appcelerator.com/api/appc/install/, bin: +6ms appc:download download start, quiet 0, banner 1 +3ms appc:download download called with arguments: { '0': false, '1': false, '2': '', '3': 'C:\\Users\\dspells\\AppData\\Local\\Temp\\appc-1452098223254.tar.gz', '4': WriteStream { _writableState: WritableState { objectMode: false, highWaterMark: 16384, needDrain: false, ending: false, ended: false, finished: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, bufferedRequest: null, lastBufferedRequest: null, pendingcb: 0, prefinished: false, errorEmitted: false }, writable: true, domain: null, _events: { finish: [Object] }, _eventsCount: 1, _maxListeners: undefined, path: 'C:\\Users\\dspells\\AppData\\Local\\Temp\\appc-1452098223254.tar.gz', fd: null, flags: 'w', mode: 438, start: undefined, pos: undefined, bytesWritten: 0 }, '5': 'https://software.appcelerator.com/api/appc/install/', '6': [Function], '7': false } +1ms Finding latest version ... appc:download connection attempt 1 of 10 +23ms appc:util request {"url":{"protocol":"https:","slashes":true,"auth":null,"host":"software.appcelerator.com","port":443,"hostname":"software.appcelerator.com","hash":null,"search":null,"query":null,"pathname":"/api/appc/install/","path":"/api/appc/install/","href":"https://software.appcelerator.com/api/appc/install/"},"headers":{"user-agent":"Appcelerator CLI/4.2.2 (win32)","host":"software.appcelerator.com","appc-token":null}} +140ms | appc:util request response received +1s appc:download response status code was: 200 +1ms appc:download response status code: 200 with headers: {"x-amz-id-2":"xbsyLTetefTG39lMwFZymnHRufpnJ9YKo5ycH9UU7xB9ODmRmZ/3YGK3SP6j62M8e7U3OMSCf0w=","x-amz-request-id":"30DEF3F6BEA34D19","date":"Wed, 06 Jan 2016 16:37:05 GMT","x-amz-meta-platform":"all","x-amz-meta-component":"appc-cli/appcelerator","x-amz-meta-org_id":"14301","x-amz-meta-version":"5.1.0","x-amz-meta-shasum":"f832157fe6f6f0196b4f22bd128c2058790901e0","x-amz-meta-filesize":"47307392","last-modified":"Fri, 20 Nov 2015 23:48:34 GMT","etag":"\"91ad75987e159cb5f97ee92a87dc6e87\"","accept-ranges":"bytes","content-type":"application/octet-stream","content-length":"47307392","server":"AmazonS3","connection":"close"} +1ms appc:download download version: 5.1.0, shasum: f832157fe6f6f0196b4f22bd128c2058790901e0 +16ms 5.1.0 OK appc:download download content-length: 47307392 +3ms Downloading [█████████████████████████████████████████████████████████████] 100% 0.1s appc:download download end +21s appc:download download checkshasum: f832157fe6f6f0196b4f22bd128c2058790901e0 +9ms Validating security checksum OK appc:install after download, installationDir C:\Users\dspells\.appcelerator\install\5.1.0 +5ms appc:install calling extract on C:\Users\dspells\AppData\Local\Temp\appc-1452098223254.tar.gz, dir=C:\Users\dspells\.appcelerator\install\5.1.0 +15ms Installing ... appc:install targz source=C:\Users\dspells\AppData\Local\Temp\appc-1452098223254.tar.gz, dest=C:\Users\dspells\.appcelerator\install\5.1.0 +33ms OK appc:install compileNativeModules C:\Users\dspells\.appcelerator\install\5.1.0 +3m Compiling platform native modules ... appc:install found version 2.0.8 +2s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\appc-platform-sdk\node_modules\getmac\node_modules\extract-opts\node_modules\typechecker +2ms appc:install exec: npm install typechecker@2.0.8 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\appc-cli-titanium\node_modules\appc-platform-sdk\node_modules\getmac\node_modules\extract-opts +9ms └ extract-opts/typechecker ... OK appc:install found version 0.6.0 +5s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\appc-logger\node_modules\bunyan\node_modules\dtrace-provider +1ms appc:install exec: npm install dtrace-provider@0.6.0 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\appc-logger\node_modules\bunyan +31ms └ bunyan/dtrace-provider ... OK appc:install found version 2.0.8 +4s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\appc-platform-sdk\node_modules\getmac\node_modules\extract-opts\node_modules\typechecker +1ms appc:install exec: npm install typechecker@2.0.8 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\appc-platform-sdk\node_modules\getmac\node_modules\extract-opts +8ms └ extract-opts/typechecker ... OK appc:install found version 0.4.32 +1s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\acs\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws +1ms appc:install exec: npm install ws@0.4.32 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\acs\node_modules\socket.io\node_modules\socket.io-client +26ms └ socket.io-client/ws ... OK appc:install found version 0.5.0 +5s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-ldapauth\node_modules\appc-ldapjs\node_modules\dtrace-provider +1ms appc:install exec: npm install dtrace-provider@0.5.0 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-ldapauth\node_modules\appc-ldapjs +26ms └ appc-ldapjs/dtrace-provider ... OK appc:install found version 0.5.0 +2s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-ldapjs\node_modules\bunyan\node_modules\dtrace-provider +2ms appc:install exec: npm install dtrace-provider@0.5.0 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-ldapjs\node_modules\bunyan +29ms └ bunyan/dtrace-provider ... OK appc:install found version 0.6.0 +3s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-ldapjs\node_modules\dtrace-provider +1ms appc:install exec: npm install dtrace-provider@0.6.0 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-ldapjs +55ms └ appc-ldapjs/dtrace-provider ... OK appc:install found version 1.2.1 +2s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-pubsub\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil +1ms appc:install exec: npm install bufferutil@1.2.1 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-pubsub\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws +24ms └ ws/bufferutil ... OK appc:install found version 1.2.1 +3s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-pubsub\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate +0ms appc:install exec: npm install utf-8-validate@1.2.1 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\appc-pubsub\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws +26ms └ ws/utf-8-validate ... OK appc:install found version 1.0.5 +2s appc:install rmdir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\node_modules\fsevents +1ms appc:install exec: npm install fsevents@1.0.5 --production in dir C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar +422ms └ chokidar/fsevents ... - appc:install error during npm install fsevents@1.0.5 --production, was: { [Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "npm install fsevents@1.0.5 --production" npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files (x86)\\Nodist\\v\\nodev4.2.4\\node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "fsevents@1.0.5" "--production" npm ERR! node v4.2.4 npm ERR! npm v3.5.2 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32 npm ERR! Please include the following file with any support request: npm ERR! C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\npm-debug.log ] killed: false, code: 1, signal: null, cmd: 'C:\\WINDOWS\\system32\\cmd.exe /s /c "npm install fsevents@1.0.5 --production"' } +2s appc:install stdout: +65ms appc:install stderr: npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files (x86)\\Nodist\\v\\nodev4.2.4\\node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "fsevents@1.0.5" "--production" npm ERR! node v4.2.4 npm ERR! npm v3.5.2 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32 npm ERR! Please include the following file with any support request: npm ERR! C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\npm-debug.log +3ms npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files (x86)\\Nodist\\v\\nodev4.2.4\\node.exe" "C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js" "install" "fsevents@1.0.5" "--production" npm ERR! node v4.2.4 npm ERR! npm v3.5.2 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32 npm ERR! Please include the following file with any support request: npm ERR! C:\Users\dspells\.appcelerator\install\5.1.0\package\node_modules\arrow\node_modules\babel\node_modules\chokidar\npm-debug.log I double checked the appcelerator installation C:\Users\dspells>npm list -g --depth 0 appcelerator C:\Program Files (x86)\Nodist\bin └── appcelerator@4.2.2
  3. Sharif AbuDarda 2016-01-07

    Hello, do you have 2 (32bit and 64bit) JIVA installed in your system? Appcelerator only support 32bit version of JAVA. The 32-bit version of the JDK is required regardless of whether Appcelerator is running on a 32-bit or 64-bit Windows system. Here is the [link](http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Oracle_JDK). Keep only 32bit java installed, and set your JAVA_HOME according to it. Now reinstall node.js. You can download node from [here](https://nodejs.org/download/). Try with node version 0.12.7 and npm 2.11.3. Make sure you fully [uninstall the previous version](http://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows). Follow the instructions 1. Uninstall from Programs & Features with the uninstaller. 2. Reboot (or you probably can get away with killing all node-related processes from Task Manager). 3. Look for these folders and remove them (and their contents) if any still exist. Depending on the version you installed, UAC settings, and CPU architecture, these may or may not exist: C:\Program Files (x86)\Nodejs C:\Program Files\Nodejs C:\Users\{User}\AppData\Roaming\npm (or %appdata%\npm) C:\Users\{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache) 4. Check your %PATH% environment variable to ensure no references to Nodejs or npm exist. 5. If it's still not uninstalled, type where node at the command prompt and you'll see where it resides -- delete that (and probably the parent directory) too. 6. Reboot, for good measure. Follow the instruction [here](http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Node) for reinstallation of node and npm. Reply with your findings, Thanks.
  4. Henry David Spells III 2016-01-07

    The process you specified did not work but I finally found a sequence that did work. I think that it is complicated by the fact that I had nodist installed previously and it was somehow messing it up. I did the following

    Install windows 10 leaving only my personal files on the disk

    Install 32-bit java

    # Set JAVA_HOME, JRE_HOME in the Environment variables

    # Add the JDK bin folder to the path (it wasn't added by the installer for some reason)

    Install appcelerator studio

    # At this point appcelerator studio couldn't find npm / node even though I could see it installed in the apps so I had to fix that

    # Calling npm -g ls got some error that said it was trying to create the nodist directory

    Install nodist

    # Execute nodist 0.12.7

    execute npm -g install appcelerator because appcelerator could not be found (appcelerator studio still does not run)

    execute appc setup

    Finally appcelerator studio will run now I still don't understand why the studio and CLI got so confused but this sequence fixed it. Thanks for your help

JSON Source