Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2313

With the last Node update, local ACS project stop working on Windows

    Details

      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?).

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              mcvendrell Manuel Conde Vendrell
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration