-
Notifications
You must be signed in to change notification settings - Fork 16
Description
First off - great template! Thank you for your work. I tried all of the ones that clasp suggested and this was the first one that had modern tooling like vite out of the box, and didn't have breaking issues immediately. I'm trying to make a vue based GAS, and installing vue just... worked unlike all the other templates.
Describe the bug
A clear and concise description of what the bug is.
I did run in to some issues that I realized are probably an assumed part of your development environment, which I think would be important to make clear in the instructions.
- The install completely fails on windows in powershell. The error I got happens in the husky part of the install steps, so I tried to ignore it - something to do with an attempt to access a "c" drive (note the lower case).
- The build produces broken output on windows in powershell. The error I got when trying to run the boilerplate command was that "ui/index" was not found.
Another thing is that this template, unlike the other templates, seems to be geared towards a single index.html file. That's fine - SPA might really be the best architecture for GAS given the limits on execution time you get, but it would be worth mentioning in the INSTRUCTIONs.md
To Reproduce
Steps to reproduce the behavior:
- Create a fresh install of the template on windows using powershell 7+
- Observer error - ignore, or use wsl to get around it
- Build and push using clasp on windows using powershell 7+
- Go to sheet and select the boilerplate menu option
- Observer error
Expected behavior
A clear and concise description of what you expected to happen.
No errors
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 144
Additional context
Add any other context about the problem here.
I resolved both issues by simply using WSL (the lower case "c" in the first error tipped me off). After that, everything worked perfectly. I don't think it's worth supporting windows development especially if WSL is so easy to use anyway these days. So just a note to save people time would be great.
As for the SPA limitation of the template, again, just a note in the INSTRUCTIONS might be helpful. I know it might feel implied by the explanation of the template structure, but could hurt to be upfront about it. Unless there is a way to add multiple html files and have them build - but again I don't think there's value in it now that I know as much as I do about GAS projects, SPA seems like the only viable option for a sufficiently complex app.