google / aside

🚀 Apps Script development with formatting, linting, testing and more!
Apache License 2.0
307 stars 5 forks source link

Running `npx @google/aside init` ends with an error about missing dist/.clasp.json #23

Open evil-shrike opened 5 months ago

evil-shrike commented 5 months ago

node: v20.9.0
npm: 10.1.0

/Users/segy/work/xxx/src$ npx @google/aside init
Need to install the following packages:
@google/aside@1.3.4
Ok to proceed? (y)
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
✔ Project Title: … XXX
✔ Generate package.json? … No / Yes
✔ Adding scripts...
✔ Saving package.json...
✔ Installing dependencies...
✔ Installing src template...
✔ Installing test template...
✔ Script ID (optional): …
✔ Script ID for production environment (optional): …
✔ Creating XXX...

-> Google Sheets Link: Not found
-> Apps Script Link: Not found

Error: ENOENT: no such file or directory, lstat 'dist/.clasp.json'
MURAMASA2470 commented 5 months ago

@evil-shrike You must activate the Google App Script API from the following page. https://script.google.com/home/usersettings

After activation, run npx @google/aside init again.