Skip to content

Error while debugging  #4169

Closed as not planned
Closed as not planned
@changkhothuychung

Description

@changkhothuychung

Details

Hi everyone, while using lldb on mac to debug a program in the file test/node-api/1_hello_world/test.js, I ran into this issue

`Process 72178 stopped

frame #0: 0x00000001002fcbc6 node_g`node::NodeMainInstance::Run(this=0x000000030d0871f0, exit_code=0x000000030d087174, env=0x000000010a04a200) at node_main_instance.cc:98:23

95 }
96 #endif
97 if (!is_sea) {
-> 98 LoadEnvironment(env, StartExecutionCallback{});
99 }
100
101 *exit_code =
Target 0: (node_g) stopped.
(lldb) n
nnode:internal/modules/cjs/loader:1073
throw err;
^

Error: Cannot find module './build/Debug/binding'
Require stack:
`

Can anyone let me know what this error is and how to fix it? Thanks

Node.js version

Not applicable.

Example code

No response

Operating system

N/A

Scope

N/A

Module and version

Not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions