Skip to content

Node.js cannot find module & etc. #8842

@strykesg

Description

@strykesg

So i have a node.js script that came with some modules and i am struggling to run it (Debian 7).

this is my console output:

`root@185:/home/bot# node sell.js
module.js:457
throw err;
^

Error: Cannot find module './parser/token_analyzer'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/bot/node_modules/steam/resources/steam_language_parser/index.js:2:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
`
I have searched through and not found an answer, please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidIssues and PRs that are invalid.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions