question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: null is not an object (evaluating 'context.document.currentPage')

See original GitHub issue

i run npm install ,and then run npm run render,but throw this error

npm 4.5.0 node 7.8.0 sketch 0.43.2

npm run render

> profile-cards@ render /Users/yutou/code/react-sketchapp/examples/profile-cards
> skpm build --watch --run

🖨  Copied src/manifest.json in 9ms
Executing post-build scripts
🔩  Built ./main.js in 1451ms
TypeError: null is not an object (evaluating 'context.document.currentPage')
line: 6740
column: 104

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
0xYootoucommented, Apr 27, 2017

first open a document!!!

3reactions
nikolasleblanccommented, Oct 16, 2017

Haha, yeah, this just happened to me too. Maybe an error message saying, “Did you open a document dummy?” 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

React native context api not passing value properly, null is not ...
I use the context api to pass the user object of the logged in user in my app. I get this error that...
Read more >
react-sketchapp/Lobby - Gitter
okay, I am getting TypeError: null is not an object (evaluating 'context.document.currentPage') line: 9250 column: 114. Yifan Zhang. @yifan. working now.
Read more >
undefined is not an object (evaluating 'context._currentValue ...
Coding example for the question undefined is not an object (evaluating 'context._currentValue = currentValue')
Read more >
window.location Cheatsheet | SamanthaMing.com
The window.location object can be used to get information on the current page address (URL). You can also use its method to do...
Read more >
Window.opener - Web APIs | MDN
If the opener is not on the same origin as the current page, functionality of the opener object is limited. For example, variables...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found