-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
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' ]
Installing $ npm install -g tslib lessc runs fine, $ lessc --version > 3.11.0
Metadata
Metadata
Assignees
Labels
No labels