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

Error running node init.js #315

Open
0xnim opened this issue Jul 8, 2022 · 1 comment
Open

Error running node init.js #315

0xnim opened this issue Jul 8, 2022 · 1 comment

Comments

@0xnim
Copy link

0xnim commented Jul 8, 2022

sudo node init.js

/home/invaliduser/unified-node-open-mining-portal/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/jsonpointer.js:55
for (const part of pointer) {
^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/invaliduser/unified-node-open-mining-portal/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/index.js:3:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

@0xnim
Copy link
Author

0xnim commented Jul 8, 2022

this is both with sudo and without

invaliduser@visionpool:~/unified-node-open-mining-portal$ node init.js
internal/modules/cjs/loader.js:800
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: Module did not self-register.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:800:18)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at new require (internal/modules/cjs/helpers.js:16:16)
at Object. (/home/invaliduser/unified-node-open-mining-portal/node_modules/bignum/index.js:4:14)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
invaliduser@visionpool:~/unified-node-open-mining-portal$ sudo node init.js

/home/invaliduser/unified-node-open-mining-portal/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/jsonpointer.js:55
for (const part of pointer) {
^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/invaliduser/unified-node-open-mining-portal/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/index.js:3:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

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

1 participant