Skip to content

Error: spawn emcc ENOENT #4

@mensta

Description

@mensta

i got err when i built projects

ERROR in ./src/wasm.clist
Module build failed (from ./node_modules/emcc-loader/lib/index.js):
Error: spawn emcc ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
 @ ./src/index.js 6:0-32 7:0-4

I added emscripten path to envpath and emcc command works anyhwhere.
But I cant build c in emcc-loader

OS: Windows10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions