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

i cant run it #74

Open
1vers1on opened this issue Sep 4, 2024 · 2 comments
Open

i cant run it #74

1vers1on opened this issue Sep 4, 2024 · 2 comments

Comments

@1vers1on
Copy link

1vers1on commented Sep 4, 2024


> @nebula-services/[email protected] start
> node --max-http-header-size=50000 index

node:internal/modules/esm/resolve:213
  const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified);
                         ^

Error: Cannot find package '/home/hoosiertransfer/Dynamic/node_modules/@tomphttp/bare-server-node/package.json' imported from /home/hoosiertransfer/Dynamic/index.js
    at legacyMainResolve (node:internal/modules/esm/resolve:213:26)
    at packageResolve (node:internal/modules/esm/resolve:831:14)
    at moduleResolve (node:internal/modules/esm/resolve:901:20)
    at defaultResolve (node:internal/modules/esm/resolve:1131:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}```
@1vers1on
Copy link
Author

1vers1on commented Sep 4, 2024

i used node 18 and i now get
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

@organmaestro22
Copy link

I had the same issue. running pnpm i resolved it for me.

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

2 participants