Here are the steps on how to test the npm flexjs module.
1. If you don't have Node and/or npm installed, first install it
- Windows: Use the Installer from https://nodejs.org. Ensure that
you select the 'npm package manager' option during installation. Use the
Command Prompt here on.
- Mac: Run *brew install node* from the terminal
2. Make sure npm is available by running *npm -v*
3. Now run *npm install -g
http://bigosmallm.github.io/flexjs/npm/flexjs-0.5.0.tgz
<http://bigosmallm.github.io/flexjs/npm/flexjs-0.5.0.tgz>* (It takes a
while to download all the dependencies and there are a couple of prompts
you need to answer)
This will install the entire FlexJS SDK and register asjsc and asjscompc
as global binaries.
4. Now run
*asjsc <your_actionscript_file_name.as
<http://your_actionscript_file_name.as>> *You should at least see some
relevant error messages. Once you have this running, you are at the same
page as me.
5. Run *asjscompc <args> *This seems to work, but would be nice to have
confirmation
Now you can help me debug the issues (especially Alex) :-)
Thanks,
Om