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
{{ message }}
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: