Open accetone opened 9 years ago
@accetone
The node_modules
folder distributed with Web Essentials is broken and missing everything that is not a .js
file. That includes the .json
datasources in the packages that handle file-extension to content type mapping.
See https://github.com/madskristensen/WebEssentials2013/issues/1917
@madskristensen This wasn't fixed yet? I reported this broken as far back as 2.6.12 ...
There is a work-around on stackoverflow that describes how to get it to work again in case someone runs into this problem until it is fixed.
http://stackoverflow.com/questions/32909014/less-error-evaluating-function-data-uri-cannot-find-module-types-json
There is a work-around on stackoverflow that describes how to get it to work again in case someone runs into this problem until it is fixed.
That workaround is incomplete. #1917 contains the full workaround, which basically amounts to building downloading and building the node_modules folder that WebEssentials needs, yourself.
I've provided a canned batch file to do the job though. However, now that NPM v3 handles flattening folder structure itself, it's a bit outdated.
Less data-uri function not more compile with one parameter (in previous version of WE all work good)