I did some local tests with my node-api-express; it works well when I send a message. So for the next step, I deployed it in ElasticBean AWS. But the console prints this error:
[ERROR] An error occurred during execution of command [app-deploy] - [Use NPM to install dependencies]
and the eb logs show this:
Error: spawn cargo ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) at onErrorNT (internal/child_process.js:465:16) at processTicksAndRejections (internal/process/task_queues.js:80:21) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @email@example.com build:neon: `neon build --release && node scripts/move-lib.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @firstname.lastname@example.org build:neon script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I tried adding npmrc but no luck, any idea?