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
first open a document!!!
This is such a common bug, really sorry we didn't make it clear enough
Haha, yeah, this just happened to me too. Maybe an error message saying, "Did you open a document dummy?" :)
Or to be completely clear, maybe... "Hey dummy! Did you open a new document in Sketch?"
It's funny.
Most helpful comment
first open a document!!!