question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

crash on starting new initialised project on windows 10

See original GitHub issue

Environment


  • Operating System: Windows_NT
  • Node Version: v17.0.0
  • Nuxt Version: 3.0.0-27489107.7379184
  • Package Manager: npm@8.1.0
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

  • npx nuxi init nuxt3-app
  • cd nuxt3-app
  • npm i
  • npm run dev

Describe the bug

After upgrading my nuxt 3 version, the server is crashing after start. Tried to re-initialise a new project but same error.

Additional context

No response

Logs

ERROR  [worker reload] [worker init] Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'                                        23:31:41

  at new NodeError (node:internal/errors:371:5)
  at defaultResolve (node:internal/modules/esm/resolve:983:11)
  at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
  at link (node:internal/modules/esm/module_job:75:36)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mim289commented, Apr 11, 2022

@tuxuuman - If you want a quick fix, if you pin to version 3.0.0-27488730.0cbc9cb you should be good to at least get started!

1reaction
mim289commented, Apr 11, 2022

@tuxuuman - Same, there is an open issue for the latest builds (#4256), may have better luck getting traction on that one since this one was closed. I detailed all of the failing builds in my comment on that one, so hopefully that helps them get it resolved quickly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual studio crashes when create/load new project
For some reason when i try to create a project with Visual studio 2019 (Enterprise edition) it just crashes, managed to create the...
Read more >
Crash on startup or when opening files in Revit
Issue: When launching Revit, or when opening or creating a file, the program crashes. Other symptoms may include: The crash may occur when ......
Read more >
Crash or freeze during startup | Substance 3D Painter - 3D & AR
If the system has an incorrect setup it can lead to a crash during the startup. On Windows: Open the Start menu; Search...
Read more >
Visual Studio crash at start-up - Stack Overflow
An easy way to run devenv.exe is via the Visual Studio command prompt; on Windows 10, it can be found here: Start Button...
Read more >
How to Fix a GPU Driver Crash - Unreal Engine Documentation
To understand why an out of memory crash may be occuring, start with the Windows Task Manager and use the Performance tab. Here,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found