Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [flux-dev] Fwd: FLUX Server NPM Install on Windows

Hello Pavan,

 

the JSON has problems under Windows. It cannot install the bower package. Just install it by hand:

 

Delete the line

 

"prepublish": "cd flux.orion.integration; $(npm bin)/bower install"

 

from the package.json in the node.server folder and save it.

 

Then do the npm install again. No errors should happen then. I’m not sure whether a new npm install is necessary if you have done one before, but this is how I got it to run.

 

Then manually install the bower package via the following command

 

> node_modules/.bin/bower install --config.https-proxy=<your_proxy> --config.proxy=<your_proxy> --config.strict-ssl=false --config.cwd=flux.orion.integration

 

This worked on my Win machine. Note that you have to insert your proxy in <your_proxy> if you need one.

 

Ciao, Michael

 

 

From: flux-dev-bounces@xxxxxxxxxxx [mailto:flux-dev-bounces@xxxxxxxxxxx] On Behalf Of Pavan Daga
Sent: Donnerstag, 5. Februar 2015 14:08
To: flux-dev@xxxxxxxxxxx
Subject: [flux-dev] Fwd: FLUX Server NPM Install on Windows

 

Hi Team,

     I am trying to get started with FLUX on Windows.

I have taken the master copy from GIT. Installed Rabbit MQ and Node JS.

Now when I do an npm install from the windows command line I am getting errors.

Attached is the debug log.

From one of the forums I did notice running the npm bin command to get

"C:\flux-master\node.server\node_modules\.bin".

Inside this location  I change the backslashes to forward slashes for it to work in Windows. Yet I have the same problems. 

 

Can you help me get started.

 

Thanks,

Pavan

 


Back to the top