Giter Club home page Giter Club logo

Comments (5)

grant avatar grant commented on June 17, 2024

What do you see instead? Please fill out the issue details.

from node-samples.

grant avatar grant commented on June 17, 2024

The code above isn’t a sample we’ve created. The issue you’ve described isn’t an issue with an existing sample.

I think the issue you’re having is around the readonly scope. If you fix the scope issue, you may not have the problem.

from node-samples.

rahuliet avatar rahuliet commented on June 17, 2024

even if scope is fixed from
**

readonly to https://www.googleapis.com/auth/spreadsheets

**

I am getting below error

`sheets.sheetsService.spreadsheets.create({
^

TypeError: Cannot read property 'spreadsheets' of undefined
at createNewSpreadSheet (c:\work\TalentScore_GS\app.js:102:22)
at Object. (c:\work\TalentScore_GS\app.js:114:1)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3`

from node-samples.

rahuliet avatar rahuliet commented on June 17, 2024

purpose of code is to create a new spreadsheet from scratch using Node.js on google drive

from node-samples.

erickoledadevrel avatar erickoledadevrel commented on June 17, 2024

As @grant alluded to, this issue tracker is for problems with our sample code. Once you've modified the sample code if you have problems you should use the standard support channels:

https://developers.google.com/sheets/api/support

It this case it looks like you should be using sheets.spreadsheets.create, since sheetsService isn't defined anywhere.

from node-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.