-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
各位大佬这里build之后报错咋回事呢?各位大佬的版本是? #22
Comments
解决了,str目录下的文件名又问题,修改下文件名即可解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
● Webpack █████████████████████████ cache (99%)
begin idle
ERROR Failed to compile with 2 errors 9:07:39 AM
error in ./src/.umi-production/core/routes.ts
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/User/Login' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
error in ./src/.umi-production/core/routes.ts
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/addPaper' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
ERROR in ./src/.umi-production/core/routes.ts 17:23-99
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/User/Login' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
@ ./src/.umi-production/umi.ts 9:0-42 25:33-42
ERROR in ./src/.umi-production/core/routes.ts 155:23-97
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/addPaper' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
@ ./src/.umi-production/umi.ts 9:0-42 25:33-42
webpack compiled with 2 errors
null
build failed
Error: build failed
at /home/judge/src/web/mianshiya-public/node_modules/@umijs/bundler-webpack/lib/index.js:172:29
at /home/judge/src/web/mianshiya-public/node_modules/@umijs/deps/compiled/webpack/5/bundle5.js:114591:14
at processQueueWorker (/home/judge/src/web/mianshiya-public/node_modules/@umijs/deps/compiled/webpack/5/bundle5.js:114529:6)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: