OneNoteDev / OneNoteApi

JavaScript library to make calling the OneNote API easier.
MIT License
81 stars 17 forks source link

OneNote is undefined #40

Open Roei-Bracha opened 3 years ago

Roei-Bracha commented 3 years ago

Article URL

https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/onenote-quickstart

Issue

I tried to run the code from the demo but I got the following error in console: Error: TypeError: Cannot read property 'run' of undefined I tried to console log OneNote and it returned undefined

I used Mac and OneNote online in chrome used the newest versions of yo and office generator

https://www.youtube.com/watch?v=2GHCR61XjMo&ab_channel=RoeiBracha

Important

this is an old issue that moved as you asked from: https://github.com/OfficeDev/office-js/issues/1142

I am no longer have a macbook to check it, but I think its happend on windows too @lindalu-MSFT @ElizabethSamuel-MSFT