-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Hi,
I was trying to deploy the vigenair, but getting an error as clasp.json was not found.
Error:
Creating Apps Script Project...
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, lstat '.clasp.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '.clasp.json'
}
Notes:
- Apps scripts Api was enabled in a cloud console
- The Installed version of the clasp = 3.1.3
While running on a cloud shell terminal, getting
nagababu_upputuri@cloudshell:~ (crave-ai-nonprod)$ clasp create --type sheets --rootDir ./dist --title vigenair
Active session is invalid. Error code: 4
nagababu_upputuri@cloudshell:~ (crave-ai-nonprod)$ cd vigenair/
nagababu_upputuri@cloudshell:~/vigenair (crave-ai-nonprod)$ ls
common.ts CONTRIBUTING.md dist img index.ts LICENSE node_modules package.json package-lock.json README.md service terraform tsconfig.json ui update.ts
nagababu_upputuri@cloudshell:~/vigenair (crave-ai-nonprod)$ clasp create
User has not enabled the Apps Script API. Enable it by visiting https://script.google.com/home/usersettings then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.