near-cli icon indicating copy to clipboard operation
near-cli copied to clipboard

can't publish near-shell from a cloud VM

Open janedegtiareva opened this issue 5 years ago • 1 comments

steps to repro:

  • make a google cloud VM and install node, yarn, np, etc

follow the app layer release process, specifically NODE_ENV=ci np --no-yarn

get the following error: yarn create near-app --vanilla tmp-project error Cannot create "/usr/local/bin/create-near-app" due to insufficient permissions.

The interesting and odd observation is that yarn create near-app --vanilla tmp-project works fine when executed as a standalone command.

janedegtiareva avatar Apr 28 '20 21:04 janedegtiareva

which node /usr/local/bin/node jane_nearprotocol_com@jane:~/near-shell$ which yarn /usr/bin/yarn jane_nearprotocol_com@jane:~/near-shell$ which np /usr/bin/np

janedegtiareva avatar Apr 28 '20 23:04 janedegtiareva