jescalan / accord

(unmaintained) a unified interface for compiled languages and templates in javascript
Other
137 stars 29 forks source link

not supporting less3+ #340

Closed BananaAcid closed 6 years ago

BananaAcid commented 6 years ago

using less version 2.7.2 it worked, but not anything newer.

Error: less version 3.8.1 is not currently supported
    at Object.exports.load (/Users/bananaacid/project3442/src/node_modules/accord/lib/index.js:29:13)
    at Object.<anonymous> (/Users/bananaacid/project3442/src/node_modules/gulp-less/index.js:9:29)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/bananaacid/project3442/src/dev/gulpfile.js:7:14)
jescalan commented 6 years ago

Hey there @BananaAcid! Are you on the most recent version of accord? The adapter should support anything through the 3.x semver range: https://github.com/jescalan/accord/tree/master/lib/adapters/less

BananaAcid commented 6 years ago

hi @jescalan sorry, all gulp related. Manually forcing the install of gulp@4.0.0 and less/pug/all plugins as newest versions, fixes this.

jescalan commented 6 years ago

Nice! Glad it worked out 😬