Coder Social home page Coder Social logo

Comments (5)

akhaku avatar akhaku commented on August 16, 2024

To be clear - you're saying it errors out before the callback is called, so in the getRequestToken method? Do you have a stack trace?

from evernote-sdk-js.

pahund avatar pahund commented on August 16, 2024

I have the same problem, also trying to authenticate with an Electron app.

See my relevant code on GitHub:

https://github.com/pahund/fit17/blob/evernote/src/mainProcess/evernote/index.js

The Evernote login window appears, I enter my credentials, hit submit.

The user name and password are correct (registered on the Evernote sandbox).

The screen goes blank, Electron's developer console shows this error:

"AssertionError: path must be a string
    at Module.require (module.js:497:3)
    at require (internal/module.js:20:19)
    at https://sandbox.evernote.com/ro/Lzk2MWRlZmU5MzJhMDg4NzdkN2M4NmVlZTVjNDFlOTIyZDMyMDg3YzAuanM/L2RhMDJmMDE1MWU5NDc2NzFjMTg5MDcwMzY5ODkyNjI4NWU1YTk5MDcuanM/1659902046.js:81:71"

The error message leads me to believe that the error occurs in the JS code of the Evernote sandbox, not in my code.

My OAuth callback URL is not called from the Evernote sandbox, the log statements I've put there are not executed.

from evernote-sdk-js.

isNeilLin avatar isNeilLin commented on August 16, 2024

@ohalligan @pahund I have the same problem. Did you fix it ?

from evernote-sdk-js.

isNeilLin avatar isNeilLin commented on August 16, 2024

@akhaku Here is stack trace
image

from evernote-sdk-js.

pahund avatar pahund commented on August 16, 2024

No, I hadn't found a fix or workaround, sorry

from evernote-sdk-js.

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.