I would recommend upgrading to at least Node 6, since that's the latest LTS
release.

Additionally, you may need to use sudo when installing packages globally
with npm.

- Josh

On Sep 1, 2017 6:52 AM, "Peter Spierenburg" <peter.spierenb...@nautel.com>
wrote:

https://cwiki.apache.org/confluence/display/FLEX/
Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller

Getting Started With FlexJS - Apache Flex - Apache ...<
https://cwiki.apache.org/confluence/display/FLEX/
Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller>
cwiki.apache.org
Application developers can create applications with Apache FlexJS via a
number IDEs, from the command line, with Ant, and soon, Maven. Below are
links to instructions ...

I am trying to follow the instructions above, and I am failing miserably.


When I follow the instructions under "Installing FlexJS via the Node
Package Manager (npm)" I get the following error:


npm ERR! Linux 4.10.0-33-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "flexjs" "-g"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
dependencies.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the flexjs@0.8.0 postinstall script 'node
dependencies/download_dependencies.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 flexjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node dependencies/download_dependencies.js
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR!     npm bugs flexjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls flexjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/user/npm-debug.log


When I follow the instructions under "Installing FlexJS by Downloading a
Binary Package" I get the following error:

Buildfile: /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml
      [get] Getting: http://flex.apache.org/installer/properties/flexjs/
en_US.properties
      [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/en_US.properties

get-data:
      [get] Getting: http://flex.apache.org/installer/sdk-installer-
config-4.0.xml?ts=201709011343
      [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/sdk-installer-
config-4.0.xml

BUILD FAILED
/home/user/apache-flex-flexjs-0.8.0-bin/installer.xml:158: Reference
air.sdk.server.linux.14.0 not found.

Total time: 1 second


I don't suppose there is a debian package that I can just install?

Peter.

This communication, including any attached documentation, is intended only
for the person or entity to which it is addressed, and may contain
confidential, personal, and/or privileged information. Any unauthorized
disclosure, copying, or taking action on the contents is strictly
prohibited. If you have received this message in error, please contact us
immediately so we may correct our records. Please then delete or destroy
the original transmission and any subsequent reply. Thank you.

Reply via email to