Hi @duanyao
I had followed your methods to build project as follows.
-
I have installed emscriptm package in linux
-
And then i had cloned the project and run npm install
-
Then i installed grunt npm module globally by using this command npm install grunt -g --save
-
Then i run command grunt init --force(because it was exited last time when running same command without -- force)
-
After running above command i got done message with some warning.
-
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.
Hi @duanyao
I had followed your methods to build project as follows.
I have installed emscriptm package in linux
And then i had cloned the project and run
npm installThen i installed grunt npm module globally by using this command
npm install grunt -g --saveThen i run command
grunt init --force(because it was exited last time when running same command without -- force)After running above command i got done message with some warning.
Next i executed
grunt buildcommand but shows warning in between process and finally it throws error like this`
Running "exec:configure-x264" (exec) task
`
How to fix the above errors. Kindly provide steps to overcome this issue.