Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Missing dependency 'tslib' #59

Closed
saurabh-deep opened this issue Oct 29, 2018 · 1 comment
Closed

Missing dependency 'tslib' #59

saurabh-deep opened this issue Oct 29, 2018 · 1 comment

Comments

@saurabh-deep
Copy link

This module (cli-ux) makes makes use of 'tslib', but doesn't list 'tslib' as a dependency in package.json. cli-ux is used by salesforce-alm. As a result, when we use salesforce-alm in one of our node modules, it causes the below run-time error and to work around it, we have to add tslib as dependency in our own module even when we don't directly depend on it. Please look into this.

{ Error: Cannot find module 'tslib' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/Users/sdeep3/Code/practice/node_modules/cli-ux/lib/index.js:3:17) 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/sdeep3/Code/practice/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:17:18) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)

jdx added a commit that referenced this issue Oct 29, 2018
@jdx jdx mentioned this issue Oct 29, 2018
@jdx jdx closed this as completed in #61 Oct 29, 2018
jdx added a commit that referenced this issue Oct 29, 2018
@oclif-bot
Copy link
Contributor

🎉 This issue has been resolved in version 4.9.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants