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

tslib required #14

Closed
k3ssen opened this issue Apr 21, 2021 · 2 comments
Closed

tslib required #14

k3ssen opened this issue Apr 21, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@k3ssen
Copy link
Owner

k3ssen commented Apr 21, 2021

After installing the demo today, I got the following error:

 ERROR  Failed to compile with 3 errors                                                                       4:33:59 PM

Module build failed: Module not found:
"./node_modules/@k3ssen/symfony-vuetified/components/Form/FormWidgetMixin.ts" contains a reference to the file "tslib".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/babel-loader/lib/index.js??clonedRuleSet-14[0].rules[0].use[0]!./node_modules/ts-loader/index.js??clonedRuleSet-14[0].rules[0].use[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/components/SvTextEditor.vue?vue&type=script&lang=ts&" contains a reference to the file "tslib".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/babel-loader/lib/index.js??clonedRuleSet-14[0].rules[0].use[0]!./node_modules/ts-loader/index.js??clonedRuleSet-14[0].rules[0].use[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./node_modules/@k3ssen/symfony-vuetified/components/SvApp.vue?vue&type=script&lang=ts&" contains a reference to the file "tslib".
This file can not be found, please check it for typos or update it if the file got moved.

it is resolved by yarn add tslib, but this wasn't nessessary before. TODO: find out why (perhaps a dependency version that has changed) and add it to package and/or instruction if needed.

@k3ssen k3ssen self-assigned this Apr 21, 2021
@k3ssen
Copy link
Owner Author

k3ssen commented Apr 25, 2021

Cause:
There's a difference in "chrome-trace-event":
In version v1.0.2 there's a "tslib": "^1.9.0" dependency, which has been removed in version v1.0.3, which happened in samccone/chrome-trace-event@d5e472c#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

TODO: if possibile, remove the need for the tslib; Otherwise it must be added to packages.json

@k3ssen
Copy link
Owner Author

k3ssen commented Apr 25, 2021

@k3ssen k3ssen closed this as completed Apr 25, 2021
@k3ssen k3ssen added the bug Something isn't working label Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant