Skip to content
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

[Bug]: 初始化之后run dev报错 #7614

Closed
eleliauk opened this issue Aug 19, 2024 · 0 comments · Fixed by #7676
Closed

[Bug]: 初始化之后run dev报错 #7614

eleliauk opened this issue Aug 19, 2024 · 0 comments · Fixed by #7676
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@eleliauk
Copy link

System Info

System:
OS: macOS 14.5
CPU: arm64 Apple M3 Pro
Shell: 5.9 - /bin/zsh

Details

shanyujia@danyujiadeMacBook-Pro EmergingTopicTrends-FE % pnpm run dev

[email protected] dev /Users/shanyujia/学习资料/code/EmergingTopicTrends-FE
cross-env NODE_ENV=development rspack serve

● ━━━━━━━━━━━━━━━━━━━━━━━━━ (51%) building builtin:swc-loader??ruleSet[1].rules[2].use[0]!/Users/shanyujia/学习资料/code/EmergingTopicTrends-FE/node_modules/.pnpm/ [webpack-dev-server] Project is running at:
[webpack-dev-server] Loopback: http://localhost:8080/
[webpack-dev-server] On Your Network (IPv4): http://10.130.201.199:8080/
[webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8080/
[webpack-dev-server] Content not from webpack is served from '/Users/shanyujia/学习资料/code/EmergingTopicTrends-FE/public' directory
● ━━━━━━━━━━━━━━━━━━━━━━━━━ (98%) emitting after emit Rspack compiled successfully in 133 ms
/Users/shanyujia/学习资料/code/EmergingTopicTrends-FE/node_modules/.pnpm/[email protected]/node_modules/webpack-dev-middleware/dist/utils/getFilenameFromUrl.js:120
const assetInfo = assetsInfo.get(pathname.slice(publicPathObject.pathname.length));
^
TypeError: Cannot read properties of undefined (reading 'get')
at getFilenameFromUrl (/Users/shanyujia/学习资料/code/EmergingTopicTrends-FE/node_modules/.pnpm/[email protected]/node_modules/webpack-dev-middleware/dist/utils/getFilenameFromUrl.js:120:38)

Reproduce link

No response

Reproduce Steps

Run:pnpm create rspack@latest
pnpm install
pnpm run dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant