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.

Cannot find module 'windicss/colors' in vscode

See original GitHub issue

Every time I open VS Code I get this message. Tried by reinstalling windicss extension but didn’t work.

OS: Ubuntu 20.10 64 Bit Vscode: v1.54.3 node: 12.18.3

`ERROR: Error: Cannot find module ‘windicss/colors’ Require stack:

  • /home/projects/tailwind.config.cjs
  • /home/.vscode/extensions/voorjaar.windicss-intellisense-0.7.2/out/extension.js
  • /usr/share/code/resources/app/out/vs/loader.js
  • /usr/share/code/resources/app/out/bootstrap-amd.js
  • /usr/share/code/resources/app/out/bootstrap-fork.js Error: Cannot find module ‘windicss/colors’ Require stack:
  • /home/projects/SLNES/UI_test/tailwind.config.cjs
  • /home/dhanvi/.vscode/extensions/voorjaar.windicss-intellisense-0.7.2/out/extension.js
  • /usr/share/code/resources/app/out/vs/loader.js
  • /usr/share/code/resources/app/out/bootstrap-amd.js
  • /usr/share/code/resources/app/out/bootstrap-fork.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1019:15) at Module._load (internal/modules/cjs/loader.js:895:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12738) at Function.s.load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:106:27167) at Function.._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:106:23919) at Function.W._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:4637) at Module.require (internal/modules/cjs/loader.js:1079:19) at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287) at Object.<anonymous> (/home/projects/SLNES/UI_test/tailwind.config.cjs:1:78) at Module.u._compile (/usr/share/code/resources/app/out/vs/loader.js:3:12841) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1220:10) at Module.load (internal/modules/cjs/loader.js:1039:32) at Module._load (internal/modules/cjs/loader.js:932:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12738) at Function.s.load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:106:27167) at Function.._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:106:23919) at Function.W._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:96:4637) at Module.require (internal/modules/cjs/loader.js:1079:19) at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287) at /home/dhanvi/.vscode/extensions/voorjaar.windicss-intellisense-0.7.2/out/extension.js:26358:38 at step (/home/dhanvi/.vscode/extensions/voorjaar.windicss-intellisense-0.7.2/out/extension.js:62:23) at Object.next (/home/dhanvi/.vscode/extensions/voorjaar.windicss-intellisense-0.7.2/out/extension.js:43:53) at fulfilled (/home/dhanvi/.vscode/extensions/voorjaar.windicss-intellisense-0.7.2/out/extension.js:33:58) at processTicksAndRejections (internal/process/task_queues.js:97:5) Windi CSS Intellisense is now active!`

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Apr 8, 2021

@alexanderniebuhr kinda think, instead of a warning message, we can do it a bit non-distractive way, like warning sign in the status bar (like ESLint) and click to see the error log.

1reaction
ppusapaticommented, Mar 31, 2021

No it didn’t. Removed tailwind intellisense and tried with no luck.

Read more comments on GitHub >

github_iconTop Results From Across the Web

With some files, VS Code cannot find modules that exist #10391
Sometimes when I open my project, VS Code is unable to find imported external modules. I've got typings for the modules installed, all...
Read more >
Visual Code on Windows can't find module after installing it ...
In my own Visual Studio code integrated terminal, when I type which python and which pip , I get the correct path to...
Read more >
Bundling Extensions - Visual Studio Code
The vscode module should not be bundled because it doesn't exist on disk but is created by VS Code on-the-fly when required. Depending...
Read more >
Testing Extensions - Visual Studio Code
This documentation focuses on VS Code integration tests. Overview. If you are migrating from vscode , see migrating from vscode . If you...
Read more >
Python and Flask Tutorial in Visual Studio Code
Python Flask tutorial showing IntelliSense, debugging, and code navigation support in Visual Studio Code, the best Python IDE.
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