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

stuck at "node index.js" #1

Open
mistertarty opened this issue Oct 30, 2023 · 1 comment
Open

stuck at "node index.js" #1

mistertarty opened this issue Oct 30, 2023 · 1 comment

Comments

@mistertarty
Copy link

I can't get node to start.

michael@raspberrypi:~/netmd-js-workingtree $ node index.js
node:internal/errors:491
ErrorCaptureStackTrace(err);
^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/michael/netmd-js-workingtree/node_modules/netmd-js/dist/utils.js' imported from /home/michael/netmd-js-workingtree/index.js
at new NodeError (node:internal/errors:400:5)
at finalizeResolution (node:internal/modules/esm/resolve:326:11)
at moduleResolve (node:internal/modules/esm/resolve:945:10)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:842:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v18.13.0

@carcuevas
Copy link

Hi @mistertarty,

It seems that you need to have the netmd-js node_modules installed on your system, so for that you can go and check this: https://github.com/cybercase/netmd-js you will have to install it and to be sure that this library is in /home/michael/netmd-js-workingtree also to have all the node_modules from it properly installed and it will work...

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