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

Cannot resolve dependency 'tslib' #83

Open
dy opened this issue Oct 4, 2019 · 1 comment
Open

Cannot resolve dependency 'tslib' #83

dy opened this issue Oct 4, 2019 · 1 comment

Comments

@dy
Copy link

dy commented Oct 4, 2019

Just installed weightless, getting that error:

C:\projects\wishbox\node_modules\weightless\behavior\overlay\overlay-behavior.js:10:39: Cannot resolve dependency 'tslib'
@jsantell
Copy link

I've ran into this as well when using snowpack.dev -- tslib is listed as a devDependency, so it's not installed when installing weightless as a dependency. Adding tslib to my own devDependencies and building works, although tslib should either be set as dependency in weightless in that case. Since only utility functions __decorate and __metadata are used from tslib, it might be preferable to just self host those rather than have all of tslib as a dep.

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

2 participants