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
➜ project git:(main) yarn start
yarn run v1.22.10
$ yarn workspace @project graphql:webpack
$ webpack --watch --progress --config webpack.config.graphql.js
[webpack-cli] Failed to load '/Users/project/webpack.config.graphql.js' config
[webpack-cli] Error: Cannot find module '/Users/projects/node_modules/terser-webpack-plugin/dist/index.js'. Please verify that the package.json has a valid "project" entry
at tryPackage (node:internal/modules/cjs/loader:353:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/projects/packages/webpack/src/webpackProdConfig.js:4:22)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32) {
code: 'MODULE_NOT_FOUND',
path: '/Users/projects/node_modules/terser-webpack-plugin/package.json',
requestPath: 'terser-webpack-plugin'
}
Expected Behavior
start server or frontend with yarn start
How Do We Reproduce?
update terser-webpack-plugin from 5.3.1 to 5.3.2
Please paste the results of npx webpack-cli info here, and mention other relevant information
[webpack-cli] Failed to load '/Users/project/webpack.config.graphql.js' config
[webpack-cli] Error: Cannot find module '/Users/projects/node_modules/terser-webpack-plugin/dist/index.js'. Please verify that the package.json has a valid "project" entry
The text was updated successfully, but these errors were encountered:
Bug report
Expected Behavior
start server or frontend with
yarn start
How Do We Reproduce?
update terser-webpack-plugin from
5.3.1
to5.3.2
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: