Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2313] With the last Node update, local ACS project stop working on Windows

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-12-05T21:55:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI
LabelsSupportTeam, node-acs
ReporterManuel Conde Vendrell
AssigneeChris Barber
Created2013-11-27T15:20:22.000+0000
Updated2016-03-08T07:41:19.000+0000

Description

Yesterday I upgrade Node (an upgrade was offered) after then, the acs command line don't works. I try to know why, and I found that the script for DOS is incorrect: it calls linux commands, like "sh". Here is the code for acs and for alloy, see the differences: ACS.CMD @IF EXIST "%~dp0\/bin/sh.exe" ( "%~dp0\/bin/sh.exe" "%~dp0\node_modules\acs\bin\acs" %* ) ELSE ( /bin/sh "%~dp0\node_modules\acs\bin\acs" %* ) ALLOY.CMD @IF EXIST "%~dp0\node.exe" ( "%~dp0\node.exe" "%~dp0\node_modules\alloy\bin\alloy" %* ) ELSE ( node "%~dp0\node_modules\alloy\bin\alloy" %* ) Changing acs to something equivalent to the alloy.cmd didn't work. Also, in that folders seems to be errors, for example in the folder npm\node_modules\acs\bin: #!/bin/sh exec node --harmony_proxies --debug /Users/kshi/Development/node-acs-tests/node-acs/nettle/lib/nettle.js "$@" What seems incorrect (a personal path for a user kshi?).

Comments

  1. Manuel Conde Vendrell 2013-11-28

    Ok, was in version 1.0.8 of Node.ACS Fixed in the today release 1.0.9 Can be closed

JSON Source