While i'm trying to deploy a gatsy site to zeit environment using bitbucket pipeline im getting error
bash: now: command not found
#My pipeline configuration
image: node:6.9.4
pipelines:
default:
- step:
caches:
- node
script:
- npm install
- npm build
- npm install now
- now --token $NOW_TOKEN
Hi Selvaganesh,
Can you try change your script to:
script:
- npm install
- npm build
- npm install -g now # Change this line.
- now --token $NOW_TOKEN
Some additional context on the '-g' flag: https://stackoverflow.com/a/8951576
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.