Reputation: 21
I'm trying to use the scripts from the 'Learn-NEAR/starter--near-sdk-as' to drive my own contract but I keep getting this bash error:
Which account did you authorize for use with NEAR CLI? Enter it here (if not redirected automatically): Logged in as [ melchizedek.testnet ] with public key [ ed25519:BmiLAN... ] successfully
gitpod /workspace/MyAssemblyContract (main) $ ./scripts/1.dev-deploy.sh bash: ./scripts/1.dev-deploy.sh: Permission denied gitpod /workspace/MyAssemblyContract (main) $
Everything else was working fine up to this point.
Upvotes: 1
Views: 227
Reputation: 21
Finally found the issue: I didn't have execution privileges to that file. Funny because I had execution privileges to all the other files except this one.
Fixed it using
chmod u+x 1.dev-deploy.sh
Upvotes: 1