/bin/sh: ./node_modules/.bin/recess: No such file or directory
I followed instructions on http://twitter.github.com/bootstrap/extend.html#compiling to compile 2.3.0-wip branch.
I've installed the following components with sudo npm install -g less jshint recess uglify-js
When running make I get:
192:bootstrap marceloverdijk$ make
##################################################
Building Bootstrap...
##################################################
Running JSHint on javascript... ✔ Done
/bin/sh: ./node_modules/.bin/recess: No such file or directory
make: *** [build] Error 127
192:bootstrap marceloverdijk$ ./node_modules/.bin/recess
As defined in the make file it's pointing to ./node_modules/.bin/recess but when I check the install feedback I see:
[email protected] /usr/local/lib/node_modules/uglify-js
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] /usr/local/lib/node_modules/recess
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] /usr/local/lib/node_modules/jshint
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] /usr/local/lib/node_modules/connect
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])
which is pointing to /usr/local/lib/node_modules/recess
Is there some misconfiguration on my side?
Cheers, Marcel
That page is out of date and will be removed in 3.0. Follow the directions in the readme instead. I'll be updating the page for now in #6346 to remove this section and direct folks to the readme.
Just resolved.
But as far as I could see the README.md is similar then the page I mentioned, which also states to install:
npm install recess connect uglify-js jshint -g
After that I try to run make but I get the error.
Or am I missing something?
#6576 fixes the issue by not forcing you to install locally to use bootstrap
@marceloverdijk - I ran into the same thing - a work around is to drop the -g flag from the npm install to install the modules locally to the node_modules directory. Looks like bootstrap expects that currently for 2.3 at least.
See also: http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/
thanks @atomgiant - that worked for me