Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
evil-shrike opened this issue Jan 12, 2024 · 2 comments

Comments

@evil-shrike
Copy link

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
Copy link

@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.

@sensei-asia
Copy link

sensei-asia commented Oct 26, 2024

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants