[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [flux-dev] Trouble installing Flux-server
|
The npm install is supposed to install 'bower' as a dev depencency and then use it to download/install some client-side js dependencies.
Seems like something is going wrong with that for you.
Try this on the commandline: "npm bin"
What do you see?
Should be directory, something like this:
/home/kdvolder/commandline-dev/flux/node.server/node_modules/.bin
Then check what is in that directory. On Unix-flavoured os there would be a bower executable (shell script) in that directory. In my case I am finding a link like the following:
lrwxrwxrwx 1 kdvolder kdvolder 18 Oct 14 15:03 bower -> ../bower/bin/bower
That is how the bower command "$(npm bin)/bower" can then be executed.
For some reason this is not working in your case (Windows). Not sure why, but maybe with this information you can figure it out.
Kris
---------------------
Hello folks,
I synced up the flux repo after a while and started facing trouble when installing the flux-server modules. I get the following error on "npm install"
> flux-server@xxxxx prepublish c:\work\Flux\repo\flux\flux\node.server
> cd flux.orion.integration; $(npm bin)/bower install
The system cannot find the path specified.
npm ERR! flux-server@xxxxx prepublish: `cd flux.orion.integration; $(npm bin)/bo
wer install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the flux-server@xxxxx prepublish script.
npm ERR! This is most likely a problem with the flux-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd flux.orion.integration; $(npm bin)/bower install
I am running this on a windows machine inside cygwin. Is anyone aware of this problem and guide me through the set up? I appreciate the help.
Thanks,
Jay