question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module 'consola'

See original GitHub issue
  • 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

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:12
  • Comments:8

github_iconTop GitHub Comments

2reactions
aiyoggcommented, May 11, 2022

It may be a typo in package.json: ‘console’

1reaction
ayrikiyacommented, 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'consola' · Issue #1754 · x-extends/vxe-table
ts error when starting dev server: Error: Cannot find module 'consola' Require stack: - Project\node_modules\.pnpm\registry.npmmirror.com+vite- ...
Read more >
" Error: Cannot find module 'node:console' " - Stack Overflow
Reason: There was a place I misspelled Console with capital C and so while compilation it got intrepreted as module and thus the...
Read more >
consola - npm
Elegant Console Logger for Node.js and Browser. Latest version: 2.15.3, last published: 2 years ago. Start using consola in your project by ...
Read more >
Top 5 consola Code Examples - Snyk
Learn more about how to use consola, based on consola code examples created from the most popular ways it is used in public...
Read more >
Error : Cannot File Module - The freeCodeCamp Forum
I run the .replit console. And this is the answer : ` Error: Cannot find module '/home/runner/boilerplate-express-5/index.js' Require ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found