tylerkrupicka / vue-json-component

Component for rendering a tree view of JSON.
http://tylerkrupicka.com/vue-json-component/
MIT License
84 stars 13 forks source link

Error: Can't resolve 'tslib' in '/var/www/node_modules/vue-json-component/dist' #42

Open likemusic opened 3 years ago

likemusic commented 3 years ago
ERROR in ./node_modules/vue-json-component/dist/index.module.js
Module not found: Error: Can't resolve 'tslib' in '/var/www/node_modules/vue-json-component/dist'
 @ ./node_modules/vue-json-component/dist/index.module.js 1:0-33 429:40-48
 @ ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/Domain/Log/LogTable.vue?vue&type=script&lang=js&
 @ ./resources/js/Domain/Log/LogTable.vue?vue&type=script&lang=js&
 @ ./resources/js/Domain/Log/LogTable.vue
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js ./resources/sass/app.scss

yarn add tslib helped but seems that this is tricky workaround.

likemusic commented 3 years ago

30 - The same but in my case Vue 2 used.

SergkeiM commented 2 years ago

@likemusic I guess the project is dead @tylerkrupicka ?

likemusic commented 2 years ago

@Froxz As far as I remember I fixed this by: npm install tslib.

SergkeiM commented 2 years ago

Hi @likemusic the strang part it doesn't happen on my local env, only on CI