Execute the watch-cloud-folder and change to the correct path of your cloud file
I seem to be having trouble executing the watch cloud file path. I’m positioned in the folder where cloud_functions.js is but I keep getting the same error message when i input the path.
I’ve watched Nikolas’s video on executing, but the file path is different in hos video. Can you anybody help ?
This is the cloud file i get from the server
moralis-admin-cli watch-cloud-folder --moralisApiKey Z96bkZtDC9lt7vw --moralisApiSecret SNnemqxn37uADDI --moralisSubdomain psalw7umpldv.moralisweb3.com --autoSave 1 --moralisCloudfolder /path/to/cloud/folder
This is the path i put in
Adams-MacBook-Pro:rarible-clone adamsheridan$ moralis-admin-cli watch-cloud-folder --moralisApiKey Z96bkZtDC9lt7vw --moralisApiSecret SNnemqxn37uADDI --moralisSubdomain psalw7umpldv.moralisweb3.com --autoSave 1 --file ./cloud_functions.js
Specify path to cloud functions folder: /Users/adamsheridan/Downloads/youtube-tutorials-main/rarible-clone/cloud_functions.js
This is the error message I get
Tried it a bunch of times and i have installed cli globally.