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 }}
Repository navigation
tslib is in devDependencies → Cannot find module 'tslib' when loaded as a csdx plugin #194
The compiled distrequire("tslib") at runtime, but tslib is in devDependencies, not
dependencies. When @contentstack/cli-launch is installed as a plugin of @contentstack/cli,
its devDependencies aren't installed, so tslib is missing and every launch command fails to
load.
Repro:
pnpm add -g @contentstack/cli
csdx launch --help
→ wall of [MODULE_NOT_FOUND] ... Cannot find module 'tslib' for launch, launch:deployments, launch:environments, launch:functions, launch:logs, launch:open, launch:rollback.
Activity
fix(deps): declare tslib as a runtime dependency (#287)