bili icon indicating copy to clipboard operation
bili copied to clipboard

Error: Cannot find module 'rollup-plugin-0'

Open biigpongsatorn opened this issue 5 years ago • 5 comments

I user bili for build Vue component package. I install bili as global but when I try to run bili src/components/MyComponent.vue I got this error.

Error: Cannot find module 'rollup-plugin-0' 

biigpongsatorn avatar May 16 '19 10:05 biigpongsatorn

me too. did you @biigpongsatorn find a solution for it?

silvio-e avatar Jul 31 '19 19:07 silvio-e

Do you guys have rollup-plugin-vue and vue-template-compiler installed in your project?

hosein2398 avatar Aug 09 '19 13:08 hosein2398

@hosein2398 yes

biigpongsatorn avatar Aug 11 '19 04:08 biigpongsatorn

Try with --plugins.vue see if it changes anything.

hosein2398 avatar Aug 27 '19 18:08 hosein2398

Fixed mine by changing to new plugins format in bili.config.js:

https://bili.egoist.sh/api/interfaces/config.html#plugins

Originally mine was:

plugins: [
 ...
]

nicklandgrebe avatar Sep 04 '19 03:09 nicklandgrebe