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

Added node_paths /usr/lib/node_modules REQUIRED #2832

Closed
wants to merge 1 commit into from

Conversation

JoeRobles
Copy link
Contributor

I proposed this patch for branch 2.2 and is already patched f148324, please apply to branch 2.3 and master

I was testing, testing and testing one and another method or posibility, until I reached that page: kriswallsmith/assetic#185 that opened my eyes, and one value was missing:

node_paths /usr/lib/node_modules

I continously received:
[exception] 500 | Internal Server Error | Assetic\Exception\FilterException
[message] An error occurred while running:
'/usr/bin/node' '/tmp/assetic_styluswWvcnS'
Error Output:
module.js:340
throw err;
^
Error: Cannot find module 'stylus'

so, this fixes and finishes my 6 hours quest.

I proposed this patch for branch 2.2 and is already patched symfony@f148324, please apply to branch 2.3

I was testing, testing and testing one and another method or posibility, until I reached that page: kriswallsmith/assetic#185 that opened my eyes, and one value was missing:

node_paths /usr/lib/node_modules

I continously received:
[exception] 500 | Internal Server Error | Assetic\Exception\FilterException
[message] An error occurred while running:
&symfony#39;/usr/bin/node&symfony#39; &symfony#39;/tmp/assetic_styluswWvcnS&symfony#39;
Error Output:
module.js:340
throw err;
^
Error: Cannot find module &symfony#39;stylus&symfony#39;

so, this fixes and finishes my 6 hours quest.
node="/usr/bin/node" />
bin="/usr/bin/coffee/"
node="/usr/bin/node/">
<assetic:node-paths>/usr/lib/node_modules</assetic:node-paths>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be assetic:node-path

weaverryan added a commit that referenced this pull request Jul 19, 2013
@weaverryan
Copy link
Member

Hi Joe!

This is a duplicate - as you know - of #2775 because - the good news is - that when we merged things into the 2.2 branch, I also then merge 2.2 up to 2.3 then up to master. So, your change is now on every version.

I have made the one tweak pointed out here by @wouterj to the 2.2 branch also at sha: 4eeec12

Thanks!

@weaverryan weaverryan closed this Jul 19, 2013
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

Successfully merging this pull request may close these issues.

3 participants