Running `npx @google/aside init` ends with an error about missing dist/.clasp.json
node: v20.9.0
npm: 10.1.0
/Users/segy/work/xxx/src$ npx @google/aside init
Need to install the following packages:
@google/[email protected]
Ok to proceed? (y)
npm WARN deprecated [email protected]: 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'
@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.
node v20.17.0 npm 10.9.0
After cloning an aside project from github, Even though I activated Google App Script API, I received same error.
$ npx @google/aside init √ Project Title: ... hoge √ Create an Angular UI? ... No / Yes ✔ Adding scripts... ✔ Saving package.json... ✔ Installing dependencies... npm error could not determine executable to run npm error A complete log of this run can be found in: C:\Users\xxx\AppData\Local\npm-cache_logs\2024-10-26T02_15_48_037Z-debug-0.log √ Script ID (optional): ... √ Script ID for production environment (optional): ... ✔ Creating school-test...
-> Google Sheets Link: Not found -> Apps Script Link: Not found
Error: ENOENT: no such file or directory, lstat 'C:\Users\xxx\GAS\hoge\dist.clasp.json'
Thanks for your patience on this...
We just deployed v1.4.5 earlier, which should fix these issues which originated from breaking changes in a new clasp version.
Could you check and see if the new version fixes the problems you encountered?