Skip to content

Unable to build codecBox.js  #10

@JenishaDalin

Description

@JenishaDalin

Hi @duanyao

I had followed your methods to build project as follows.

  1. I have installed emscriptm package in linux

  2. And then i had cloned the project and run npm install

  3. Then i installed grunt npm module globally by using this command npm install grunt -g --save

  4. Then i run command grunt init --force(because it was exited last time when running same command without -- force)

  5. After running above command i got done message with some warning.

  6. Next i executed grunt build command but shows warning in between process and finally it throws error like this

`

Running "exec:configure-x264" (exec) task

Failed with: Error: spawn /bin/sh 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:77:11) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn /bin/sh',
path: '/bin/sh',
spawnargs: [Array],
cmd: 'emconfigure ./configure --disable-thread --disable-asm --disable-opencl --host=i686-pc-linux-gnu --disable-cli --enable-shared --disable-gpl --prefix=/home/gokul/testingZone/codecbox.js/build/dist'
}
Warning: Task "exec:configure-x264" failed. Use --force to continue.

`
How to fix the above errors. Kindly provide steps to overcome this issue.

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