Skip to content

启动next报错 #37

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

Open
chenerge opened this issue Oct 31, 2024 · 0 comments
Open

启动next报错 #37

chenerge opened this issue Oct 31, 2024 · 0 comments

Comments

@chenerge
Copy link

yarn run v1.22.22
$ next dev
⚠ Port 3000 is in use, trying 3001 instead.
▲ Next.js 14.2.16

✓ Starting...
✓ Ready in 4.4s
○ Compiling / ...
⨯ ./styles/global.css.webpack[javascript/auto]!=!./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./styles/global.css
TypeError: Cannot read properties of null (reading 'future')
at Array.filter ()
at Array.flatMap ()
Import trace for requested module:
./styles/global.css.webpack[javascript/auto]!=!./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./styles/global.css
./styles/global.css
./app/registry.tsx
./app/layout.tsx
⨯ ./styles/global.css.webpack[javascript/auto]!=!./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./styles/global.css
TypeError: Cannot read properties of null (reading 'future')
at Array.filter ()
at Array.flatMap ()
Import trace for requested module:
./styles/global.css.webpack[javascript/auto]!=!./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./styles/global.css
./styles/global.css
./app/registry.tsx
./app/layout.tsx
GET /_next/static/webpack/0c682f225cc2c751.webpack.hot-update.json 500 in 9223ms
⚠ Fast Refresh had to perform a full reload due to a runtime error.
GET / 500 in 43ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant