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

Unable to run dev server, NextJS 9 #9591

Closed
SergiusAC opened this issue Dec 2, 2019 · 4 comments
Closed

Unable to run dev server, NextJS 9 #9591

SergiusAC opened this issue Dec 2, 2019 · 4 comments

Comments

@SergiusAC
Copy link

Problem

I created a project via create-next-app, but when I tried to run dev server I got an error below:

[ error ] ./node_modules/next/dist/client/dev/amp-dev.js
Error: [BABEL] C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\client\dev\amp-dev.js: Cannot find module './src/data'
Require stack:
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\core-js-compat\helpers.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\core-js-compat\get-modules-list-for-target-version.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\@babel\preset-env\lib\polyfills\corejs3\usage-plugin.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\@babel\preset-env\lib\index.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\build\babel\preset.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\build\webpack\loaders\next-babel-loader.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\loader-runner\lib\loadLoader.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\loader-runner\lib\LoaderRunner.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\webpack\lib\NormalModule.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\webpack\lib\NormalModuleFactory.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\webpack\lib\Compiler.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\webpack\lib\webpack.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\server\hot-reloader.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\server\next-dev-server.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\server\next.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\server\lib\start-server.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\cli\next-dev.js
- C:\Users\serge\Coding\web\playground\nextjs-tests\bitzprice\node_modules\next\dist\bin\next (While processing: "programmatic item")

Packages information:

  • next: 9.1.4,
  • react: 16.12.0
  • react-dom: 16.12.0

My dependency manager is Yarn (1.19.2)

Expected Behavior

Working dev server

System Information

  • OS: Windows 10 (1903)
@ericdfields
Copy link

Same issue.

"next": "^9.1.4",
"react": "^16.12.0",
"react-dom": "^16.12.0"

macOS Catalina.

@ijjk
Copy link
Member

ijjk commented Dec 2, 2019

Hi, this is most likely related to zloirock/core-js#710 and should be resolved once the corrected package is made available through npm

@Timer
Copy link
Member

Timer commented Dec 2, 2019

Duplicate of #9590

@Timer Timer marked this as a duplicate of #9590 Dec 2, 2019
@Timer Timer closed this as completed Dec 2, 2019
@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants