Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommandException: Something went wrong while executing the command '/usr/bin/bower' 'install' env: node: No such file or directory #68

Closed
tlherr opened this issue Dec 13, 2013 · 2 comments

Comments

@tlherr
Copy link

tlherr commented Dec 13, 2013

OSX 10.9 Build 13A603

$ which node
/usr/local/bin/node
$ node -v
v0.10.21
$ which bower
/usr/bin/bower
$ bower --v
1.2.7

config .yml

sp_bower:
    install_on_warmup: true
    bundles:
        MyBundleName: ~

Node installed via nvm. Tried symlinking to make sure paths are ok similar to issue #44. Happens every time cache is cleared.Thanks!

Error: CommandException: Something went wrong while executing the command '/usr/bin/bower' 'install' env: node: No such file or directory

Stacktrace:

in project/vendor/sp/bower-bundle/Sp/BowerBundle/Bower/Bower.php line 217
at Bower->execCommand(object(Configuration), array('install'), null) in project/vendor/sp/bower-bundle/Sp/BowerBundle/Bower/Bower.php line 82
at Bower->install(object(Configuration)) in project/vendor/sp/bower-bundle/Sp/BowerBundle/CacheWarmer/DependencyCacheWarmer.php line 66
at DependencyCacheWarmer->warmUp('project/app/cache/dev') in project/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php line 47
at CacheWarmerAggregate->warmUp('project/app/cache/dev') in project/app/bootstrap.php.cache line 2443
at Kernel->initializeContainer() in project/app/bootstrap.php.cache line 2215
at Kernel->boot() in project/app/bootstrap.php.cache line 2246
at Kernel->handle(object(Request)) in project/web/app_dev.php line 28
@tlherr
Copy link
Author

tlherr commented Dec 13, 2013

See nodejs/node-v0.x-archive#3911 for more info, this seems to be tied to nvm

@Spea
Copy link
Owner

Spea commented Feb 13, 2014

closing since it is not a problem of this bundle

@Spea Spea closed this as completed Feb 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants