-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn start报错 HookWebpackError: __dirname is not defined #84
Comments
如果将
|
我也遇到了这个问题!😔 |
+1 @luhc228 |
我也遇到这个问题了 |
报错信息如下:
Uncaught Error: Module build failed (from ./node_modules/@builder/pack/deps/mini-css-extract-plugin/loader.js):
HookWebpackError: __dirname is not defined
at tryRunOrWebpackError (/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/@builder/pack/deps/webpack/bundle5.js:67336:9)
at webpack_require_module (/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/@builder/pack/deps/webpack/bundle5.js:53140:12)
at nested_webpack_require_150834 (/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/@builder/pack/deps/webpack/bundle5.js:53097:18)
at Module. (/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/@builder/pack/deps/css-loader/cjs.js??ruleSet[1].rules[2].use[1]!/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/@builder/pack/deps/postcss-loader/cjs.js??ruleSet[1].rules[2].use[2]!/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/build-plugin-fusion/lib/webpackLoaders/unicodeLoader.js!/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/@builder/pack/deps/sass-loader/cjs.js??ruleSet[1].rules[2].use[4]!/Users/careteen/Desktop/careteen/AppToolkit/renderer/node_modules/ice-skin-loader/lib/index.js??ruleSet[1].rules[2].use[5]!/Users/careteen/Desktop/careteen/AppToolkit/renderer/src/global.scss:5:126)
The text was updated successfully, but these errors were encountered: