Recently, yarn was removed from our base node image, and instead we are doing npx yarn install in the assemble phase. So for this image we've updated our assemble phase to do a similar thing, if yarn in enabled.
In the run script, a user is allowed to override what is run with the $NPM_RUN environment variable. In the Using For development section of the readme, we show overriding that variable with yarn start. this will actually fail since yarn is no longer installed.
We have some options here.
We update the README to use npx, NPM_RUN="npx yarn start"
We could add npx to the run script, so that might look like npx $NPM_RUN
Recently, yarn was removed from our base node image, and instead we are doing
npx yarn install
in the assemble phase. So for this image we've updated our assemble phase to do a similar thing, if yarn in enabled.In the run script, a user is allowed to override what is run with the
$NPM_RUN
environment variable. In the Using For development section of the readme, we show overriding that variable withyarn start
. this will actually fail since yarn is no longer installed.We have some options here.
We update the README to use npx,
NPM_RUN="npx yarn start"
We could add npx to the run script, so that might look like
npx $NPM_RUN