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

The provided arguments length (2) does not match the required ones (3). #1284

Open
TheDevelolper opened this issue Jul 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TheDevelolper
Copy link

Describe the bug
Cannot start the application get an assertation error:

quartz on  v4 via node v18.20.2 took 43s
❯ npx quartz create
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_INTERNAL_ASSERTION]: Code: ERR_MODULE_NOT_FOUND; The provided arguments length (2) does not match the required ones (3).
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at new NodeError (node:internal/errors:405:5)
    at assert (node:internal/assert:14:11)
    at getMessage (node:internal/errors:451:5)
    at new NodeError (node:internal/errors:379:21)
    at legacyMainResolve (node:internal/modules/esm/resolve:218:9)
    at packageResolve (node:internal/modules/esm/resolve:903:14)
    at moduleResolve (node:internal/modules/esm/resolve:973:20)
    at defaultResolve (node:internal/modules/esm/resolve:1193:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:404:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:373:25) {
  code: 'ERR_INTERNAL_ASSERTION'
}

To Reproduce

Follow steps on site:

git clone https://github.com/jackyzha0/quartz.git
cd quartz
npm i
npx quartz create

Expected behavior
Not to error, and hopefully to start

Screenshots and Source
If applicable, add screenshots to help explain your problem.

You can help speed up fixing the problem by either

  1. providing a simple reproduction
  2. linking to your Quartz repository where the problem can be observed

Desktop (please complete the following information):

  • Quartz Version: latest Quartz 4.0
  • node Version: v18.20.2
  • npm version: 10.8.1
  • OS: Windows 11
  • Browser: N/A but Edge if you must know :)

Additional context
I just ran the getting started instructions.

@TheDevelolper TheDevelolper added the bug Something isn't working label Jul 18, 2024
@aarnphm
Copy link
Collaborator

aarnphm commented Jul 18, 2024

Seems like to me a node setup problem?

@TheDevelolper
Copy link
Author

TheDevelolper commented Jul 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants