Closed EndCod3r closed 4 months ago
Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run
npm install
It looks like you have prettier defined in your package.json file. Have you run npm install (or equivalent for your package manager)
Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run
npm install
It looks like you have prettier defined in your package.json file. Have you run npm install (or equivalent for your package manager)
This issue still happens in an folder with just an HTML file in it and I don't even have npm installed anyways.
I seemed to have fixed it somehow. I reinstalled VS Code and deleted everything left behind and installed Prettier and my other extensions but that didn't work, but when I went to work on a project it started working again.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Summary
I installed Prettier for VS Code and I'm getting an error in the bottom right.
Github Repository to Reproduce Issue
Installed the latest Prettier VS Code extension.
Steps To Reproduce:
Expected result
Prettier formatting files
Actual result
Prettier shows errors
VS Code Version:
Version: 1.85.1 (user setup) Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:49:37.021Z Electron: 25.9.7 ElectronBuildId: 25551756 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19045
Prettier Extension Version: Prettier: 10.1.0 OS and version: Windows 10 22H2
Prettier Log Output