labnol / apps-script-starter

Setup a local development environment inside Visual Studio Code and build Google Workspace add-ons with Google Apps Script

Home Page:https://www.youtube.com/watch?v=KxdCIbeO4Uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm run deploy fails

russellkt opened this issue · comments

npm run deploy fails due to following:

Syntax error: Missing : after property ID. line: 11 file: webpack.config
Files to push were:
└─ appsscript.json
└─ dist/code.js
└─ dist/index.html
└─ node_modules/ajv/.tonic_example.js
└─ node_modules/gas-entry-generator/.eslintrc.js
└─ node_modules/gas-webpack-plugin/.eslintrc.js
└─ node_modules/hash.js/.eslintrc.js
└─ node_modules/npm/node_modules/ajv/.tonic_example.js
└─ webpack.config.js

Not sure why but started from scratch and it is working now. I did have to npx clasp create first. If this is necessary please update docs. Otherwise thank you so much for creating the project. It now makes apps script dev and deploy a pleasant experience!!

@russellkt , please look at Getting Started Did you do what is said in point 3?

  1. Replace the "scriptId" value in the .clasp.json file.

Please see #20