Skip to content

Missing build:gas #7

@ftello0403

Description

@ftello0403

Describe the bug
According with the actual docs from the README.md, to build and publish the server changes to GAS it is required to run npm run build script, but this script will attempt to run build:gas script too and it is missing from the package.json so it will throw an error when executing.

To Reproduce
Steps to reproduce the behavior:

  1. Run npx apps-script-engine . on any shell on any folder to initialize the template.
  2. Run npm install
  3. Run npm run build

Expected behavior
Should build the minified files to be pushed on Google Apps Script project.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • node version: 22.19.0

Additional context
The source code on main branch suggests that the commit for the 2.0.0 version (dc36692) removed the build:gas script so, according to the docs, there is no other way to build the server changes. To workaround this, I had to declare again on the package.json file the missing scripts in order to build and push the changes to GAS again. I don't know what were the intentions to remove that script on that commit, but i think it maybe was a mistake or the commit didn't include the new instructions on the docs related to the way the app should be built then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions