You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing with $ npm install -g less I get the following error:
internal/modules/cjs/loader.js:626
throw err;
^
Error: Cannot find module 'tslib'
Require stack:
- /Users/johannes/.npm-global/lib/node_modules/less/bin/lessc
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
at Function.Module._load (internal/modules/cjs/loader.js:527:27)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/Users/johannes/.npm-global/lib/node_modules/less/bin/lessc:9:13)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:837:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/johannes/.npm-global/lib/node_modules/less/bin/lessc' ]
After installing with
$ npm install -g less
I get the following error:Installing
$ npm install -g tslib
lessc runs fine,$ lessc --version
> 3.11.0The text was updated successfully, but these errors were encountered: