Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh install misses dependency tslib #27

Open
kontur opened this issue Feb 10, 2020 · 0 comments
Open

Fresh install misses dependency tslib #27

kontur opened this issue Feb 10, 2020 · 0 comments

Comments

@kontur
Copy link

kontur commented Feb 10, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant