Closed faeb187 closed 10 years ago
Seems that your coffee-script
dependency is out of date. Try npm update
.
I had 1.7.1... now 1.8.0... forgot to npm update -g for global modules.. But this didn't solve the problem...
I think you have to modify your package.json? ~1.6.2 means for me 1.6.x but misses 1.7.x and 1.8.x?? That's why my coffee-script is ignored and 1.6.3 gets loaded in your express-minify subdirectory in node_modules ;) ^1.6.2 looks correct for me?
REF http://stackoverflow.com/questions/22343224/difference-between-tilde-and-caret-in-package-json
Hello, 0.0.11 version has already changed to "coffee-script": "^1.7.1"
. You might need to update express-minify first? :-)
Emm..
npm install express-minify
express-minify@0.0.11 node_modules/express-minify
├── on-headers@1.0.0
├── cssmin@0.4.1
├── coffee-script@1.8.0 (mkdirp@0.3.5)
├── uglify-js@2.4.15 (uglify-to-browserify@1.0.2, async@0.2.10, source-map@0.1.34, optimist@0.3.7)
├── stylus@0.47.3 (css-parse@1.7.0, mkdirp@0.3.5, debug@2.0.0, sax@0.5.8, glob@3.2.11)
├── node-sass@0.9.5-rc1 (get-stdin@3.0.0, object-assign@0.3.1, node-watch@0.3.4, mkdirp@0.3.5, nan@1.3.0, chalk@0.4.0, shelljs@0.2.6, yargs@1.3.1, node-sass-middleware@0.2.0, mocha@1.18.2, sinon@1.9.1)
└── less@1.7.5 (graceful-fs@3.0.2, mime@1.2.11, mkdirp@0.5.0, clean-css@2.2.16, source-map@0.1.39, request@2.40.0)
just found an error chain... my npm seems to be corrupted... I'm going to solve that now.
UPDATE After repairing my npm I finally could update to the newest version of express-minify and everything works perfectly. THX
Sometimes codes which are compiled correctly at coffeescript.org, fail with your module... Not sure if it's the coffee-script dependency or the minification afterwards.. please check for this.
Example
Workaround
If the issue lays in the coffee-script dependency, please forward this issue, thx !!