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

Fatal error with v1.12.8 #48

Closed
existe-deja opened this issue Oct 18, 2021 · 3 comments
Closed

Fatal error with v1.12.8 #48

existe-deja opened this issue Oct 18, 2021 · 3 comments

Comments

@existe-deja
Copy link

Hi,

Since the new update I get a fatal error with this stack trace:

 FATAL  Cannot find module 'node:module'                                                                                                                                                                 15:21:03
Require stack:
- xxx/my-project/node_modules/jiti/dist/jiti.js
- xxx/my-project/node_modules/jiti/lib/index.js
- xxx/my-project/node_modules/@nuxt/utils/dist/utils.js
- xxx/my-project/node_modules/@nuxt/cli/dist/cli-index.js
- xxx/my-project/node_modules/@nuxt/cli/dist/cli.js
- xxx/my-project/node_modules/nuxt/bin/nuxt.js
@existe-deja
Copy link
Author

Temporary fixed with yarn resolutions in package.json

  "resolutions": {
    "jiti": "1.12.7"
  }

@pi0 pi0 closed this as completed in 32e606f Oct 18, 2021
@pi0
Copy link
Member

pi0 commented Oct 18, 2021

Sorry for the issue. It caused by a regression in mlly using native esm. Hotfix added in 1.12.9.

@freezyh
Copy link

freezyh commented Jan 10, 2023

Temporary fixed with yarn resolutions in package.json

  "resolutions": {
    "jiti": "1.12.7"
  }

how to solve it if I use npm install

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

3 participants