vite-plugin-style-import icon indicating copy to clipboard operation
vite-plugin-style-import copied to clipboard

Error: Cannot find module 'consola'

Open Trojan0523 opened this issue 3 years ago • 8 comments

  • upgrade the plugin version from 1.4.1 to 2.0.0 , cause failed to load config from vite.config.ts
  • Error message: Cannot find module 'consola'
  • i open node_modules/vite-plugin-style-import/package.json, find it`s dependencies is “console”: "^0.7.2", is not consola, hope to upgrade consola version

Trojan0523 avatar Mar 24 '22 04:03 Trojan0523

i use npm install consola by myself, and it works

shengwong233 avatar Mar 24 '22 09:03 shengwong233

Any progress on this?

faradaytrs avatar Apr 21 '22 02:04 faradaytrs

Big surprising problem.

yoyo837 avatar Apr 24 '22 10:04 yoyo837

how to resolve it ?

xieyezi avatar May 04 '22 08:05 xieyezi

me too.

ixre avatar May 10 '22 23:05 ixre

It may be a typo in package.json: 'console'

aiyogg avatar May 11 '22 11:05 aiyogg

cannot belive it, 'dependencies' field in package.json has "console": "^0.7.2", but index.mjs use 'consola'. just install it by yourself.

isToThyMoon avatar Jul 14 '22 09:07 isToThyMoon

Any progress on this? It seems to be an urgent issue ! 😂

webfansplz avatar Aug 30 '22 02:08 webfansplz