Closed iyerrama25 closed 7 years ago
The error message gives you the solution!
Error: Use CoffeeScript.register() or require the coffee-script/register module to require .coffee files.
If you need to require a coffee file, just run require('coffee-script/register')
at the top of the file you are requiring into. Or use a regular js file.
Hi there, Referring to the following Docs: http://roots.cx/docs/js_api
I copy paste the create new instance of Roots code into 'app.js' and in a package.json adjoining to it, add 'roots' & 'coffee script' as dependencies.
Am trying to run the app.js and getting the following error:
Not sure how to fix it. Any help would be good.
thanks!