aaronpowell / azure-remix-stack

A remix stack template for running a remix app on Azure
MIT License
78 stars 15 forks source link

Could not determine executable to run #4

Closed hugohulsebosch closed 2 years ago

hugohulsebosch commented 2 years ago

When trying to build the Docker image, I get the following error:

#9 71.55 > postinstall
#9 71.55 > npx remix setup node
#9 71.55
#9 71.71 npm WARN using --force Recommended protections disabled.
#9 71.91 npm ERR! could not determine executable to run
#9 71.91
#9 71.91 npm ERR! A complete log of this run can be found in:
#9 71.91 npm ERR!     /root/.npm/_logs/2022-07-08T08_54_42_835Z-debug-0.log
#9 71.92 npm notice
#9 71.92 npm notice New minor version of npm available! 8.11.0 -> 8.13.2
#9 71.92 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
#9 71.92 npm notice Run `npm install -g npm@8.13.2` to update!
#9 71.92 npm notice
#9 71.92 npm ERR! code 1
#9 71.92 npm ERR! path /myapp
#9 71.92 npm ERR! command failed
#9 71.92 npm ERR! command sh -c npx remix setup node
#9 71.93
#9 71.93 npm ERR! A complete log of this run can be found in:
#9 71.93 npm ERR!     /root/.npm/_logs/2022-07-08T08_53_31_411Z-debug-0.log
------
executor failed running [/bin/sh -c npm install --force --unsafe-perm]: exit code: 1

How can I fix this?