labnol / apps-script-starter

Setup a local development environment inside Visual Studio Code and build Google Workspace add-ons with Google Apps Script
https://www.youtube.com/watch?v=KxdCIbeO4Uk
MIT License
1.1k stars 176 forks source link

npm run deploy fails #7

Closed russellkt closed 6 years ago

russellkt commented 6 years ago

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
russellkt commented 6 years ago

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!!

oshliaer commented 6 years ago

@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.
labnol commented 4 years ago

Please see #20