-
Notifications
You must be signed in to change notification settings - Fork 183
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
Asset compiler doesn't work #483
Comments
What documentation? On Saturday, March 23, 2013, Deniz KALFA wrote:
|
This documentation: http://compoundjs.com/docs/#asset-compiler-basic-usage |
Thanks for spotting. This doc outdated. I've created issue this issue in asset-compiler module: compoundjs/assets-compiler#6 |
Thanks for the quick response. |
Asset compiler doesn't compile .coffe and .styl files when added "app.use(compound.assetsCompiler.init());" to environment.js as per documentation. It is throwing an exception as following:
TypeError: Cannot call method 'init' of undefined
at Function. (/home/vagrant/tmp/my-compound-01/config/environment.js:7:41)
at Function.app.configure (/home/vagrant/tmp/my-compound-01/node_modules/express/lib/application.js:396:61)
at module.exports (/home/vagrant/tmp/my-compound-01/config/environment.js:6:9)
at evalInContextOf (/home/vagrant/tmp/my-compound-01/node_modules/compound/lib/compound.js:187:9)
at requireIfExists (/home/vagrant/tmp/my-compound-01/node_modules/compound/lib/compound.js:165:9)
at configureApp (/home/vagrant/tmp/my-compound-01/node_modules/compound/lib/compound.js:147:5)
at CompoundServer.initCompound (/home/vagrant/tmp/my-compound-01/node_modules/compound/lib/compound.js:91:9)
at CompoundServer.initCompoundServer as init
at /home/vagrant/tmp/my-compound-01/node_modules/compound/lib/compound.js:61:18
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:901:3
The text was updated successfully, but these errors were encountered: