eolant / vuetify-toast-snackbar

Basic Vue toast service that uses Vuetify Snackbar component.
MIT License
128 stars 36 forks source link

Cannot find module '../node_modules/style-inject/dist/style-inject.es.js #12

Closed catelina95 closed 5 years ago

catelina95 commented 5 years ago

Cannot find module '../node_modules/style-inject/dist/style-inject.es.js

eolant commented 5 years ago

I can't replicate this issue, probably related to how you bundle your assets. I'd suggest trying to install style inject manually npm install style-inject.

catelina95 commented 5 years ago

image image npm install style-inject can't solve this problem.

catelina95 commented 5 years ago

哈哈, 谢谢啦.. 我解决这个问题了... 我用你的项目里的源文件解决的. thank you very much..☺️

aldarund commented 5 years ago

@eolant in your dist you are referencing style-inject while there no peer dep for it. And its referenced really wrong way e.g. ../node_modules/styles_inject - which would end up into non existing path. So your dist is broken..

eolant commented 5 years ago

@aldarund Looks like rollup postcss and bili doing something weird. I was able to find and import statement in rollup-plugin-postcss but i'm not sure yet how to resolve this.


Actually there is a way to bundle modules in all builds. I think I will go with this option.