Need help please. "Error: Cannot find module 'prettier'
Hello. Thank you for your project!
I really want to get this working but I have hit a wall. I'm getting the following error message in the VSCode Prettier ESlint Console: `Error: Cannot find module 'prettier' Require stack:
- /home/mrd2689a/.vscode/extensions/rvest.vs-code-prettier-eslint-2.1.0/dist/extension.js
- /snap/code/60/usr/share/code/resources/app/out/vs/loader.js
- /snap/code/60/usr/share/code/resources/app/out/bootstrap-amd.js
- /snap/code/60/usr/share/code/resources/app/out/bootstrap-fork.js `
yet I have all three required programs installed globally:
mrd2689a@MattSFF:~$ npm list -g --depth 0 /usr/local/lib ├── eslint@7.23.0 ├── prettier@2.2.1 └── prettier-eslint@12.0.0
In VS Code I have the "ESLint", the "Prettier", and the "Prettier ESLint extensions installed and activated".
I've followed the installation instructions per this Prettier-Eslint's documentation.
If anybody knows what I need to do to get this to work..... thank you!