You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error in ./src/main.ts
Syntax Error: Error: Cannot find module '<project_path>/node_modules/@prettier/plugin-pug/dist/index.js'. Please verify that the package.json has a valid "main" entry
Occurred while linting <project_path>/src/main.ts:1
at Array.map (<anonymous>)
at Array.map (<anonymous>)
at Array.forEach (<anonymous>)
@ multi (webpack)-dev-server/client?http://192.168.2.71:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
Expected Output
//- N/A
Additional Context
Looking at the contents of node_modules/@prettier/plugin-pug, it would seem the entire dist directory is missing. It was not missing in the 1.14 releases, might be some kind of problem with deployment or something?
The text was updated successfully, but these errors were encountered:
Mach12
changed the title
Bug:
Bug: package.json does not have a valid "main" entry?
May 5, 2021
Info
Prettier config
Input
//- N/A
Output or Error
Expected Output
//- N/A
Additional Context
Looking at the contents of
node_modules/@prettier/plugin-pug
, it would seem the entiredist
directory is missing. It was not missing in the 1.14 releases, might be some kind of problem with deployment or something?The text was updated successfully, but these errors were encountered: