(Please search existing issues before creating a new one.)
Expected Behavior
A simple function should run to add text to a cell in a Google Spreadsheet
Actual Behavior
errors
Steps to Reproduce the Problem
- clasp create [name]
- clasp clone [ScriptId] (This is to download the Code.js)
- add following code to Code.js by VIM editor:
function myFunction() {
SpreadsheetApp.openById('1acJRcIGXIYa9YNgO8g3DTrgFRO6Iqk0wNJoxYpsust8').getRange('A1').setValue('set');
}
- save and close (in VIM = :x )
- clasp push (make sure everything is the same)
- clasp run myFunction
Specifications
I am using the GCP with a VM instance with Ubuntu 18 (up to date) with Node 10.2 and @google/clasp@1.3.1
The errors are in the document attached. I tried the script in a normal manner after clasp open and it worked, so something is off with the clasp run. Maybe something with permissions?
errorclasp.txt
(Please search existing issues before creating a new one.)
Expected Behavior
A simple function should run to add text to a cell in a Google Spreadsheet
Actual Behavior
errors
Steps to Reproduce the Problem
function myFunction() {
SpreadsheetApp.openById('1acJRcIGXIYa9YNgO8g3DTrgFRO6Iqk0wNJoxYpsust8').getRange('A1').setValue('set');
}
Specifications
I am using the GCP with a VM instance with Ubuntu 18 (up to date) with Node 10.2 and @google/clasp@1.3.1
The errors are in the document attached. I tried the script in a normal manner after clasp open and it worked, so something is off with the clasp run. Maybe something with permissions?
errorclasp.txt