Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Error: Cannot find module 'consola' #79

Open
Trojan0523 opened this issue Mar 24, 2022 · 8 comments · May be fixed by #85
Open

Error: Cannot find module 'consola' #79

Trojan0523 opened this issue Mar 24, 2022 · 8 comments · May be fixed by #85

Comments

@Trojan0523
Copy link

  • 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
@shengwong233
Copy link

i use npm install consola by myself, and it works

@faradaytrs
Copy link

Any progress on this?

@yoyo837
Copy link

yoyo837 commented Apr 24, 2022

Big surprising problem.

@xieyezi
Copy link

xieyezi commented May 4, 2022

how to resolve it ?

@ixre
Copy link

ixre commented May 10, 2022

me too.

@aiyogg
Copy link

aiyogg commented May 11, 2022

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

@aiyogg aiyogg linked a pull request May 11, 2022 that will close this issue
@isToThyMoon
Copy link

isToThyMoon commented Jul 14, 2022

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

@webfansplz
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants