RWOverdijk / AssetManager

AssetManager written for zf2. Managing assets for zend framework 2
BSD 2-Clause "Simplified" License
211 stars 83 forks source link

node: Permission denied #210

Closed pensiero closed 7 years ago

pensiero commented 7 years ago

Hi, I used AssetManager for a long time with an Ubuntu docker image + NVM, and it worked fine. However, I'm trying to use now the standard php docker image and when I run the app it says:

<b>Fatal error</b>:  Uncaught Assetic\Exception\FilterException: An error occurred while running:
--
  | '/usr/local/bin/node' 'node_modules/.bin/uglifyjs' '-o' '/tmp/assetic_uglifyjs2_outdTqML7' '/tmp/assetic_uglifyjs2_in4ywEFa'
  |  
  | Error Output:
  | sh: 1: /usr/local/bin/node: Permission denied

I do not expect anybody to solve the problem here, it depends for sure by the specific docker image, but in order to understand what is causing the problem, I need to understand who and where is calling the node bin.

Any hint about the methods used?

Thanks

pensiero commented 7 years ago

Wrong repo, assetic is the right one :)