render script doesn't seem to render anything to my blank Sketch doc
npm run render
Usage: sketchtool <command> [<args>]
[--formats=<string> | -f <string>]
[--use-id-for-name{=YES|NO} | --no-use-id-for-name | -n {<YES|NO>}]
[--max-size=<float> | -m <float>]
[--item=<string> | -i <string>]
[--items=<string> | -a <string>]
[--background=<string> | -g <string>]
[--compression=<float> | -c <float>]
[--reveal{=YES|NO} | --no-reveal | -r {<YES|NO>}]
[--outputJSON=<path> | -J <path>]
[--include-symbols{=YES|NO} | --no-include-symbols | - {<YES|NO>}]
[--bounds=<rectangle> | -b <rectangle>]
[--version | -v] [--filename=<string> | -F <string>]
[--scales=<path> | -s <path>]
[--compact{=YES|NO} | --no-compact | -k {<YES|NO>}]
[--overwriting{=YES|NO} | --no-overwriting | -V {<YES|NO>}]
[--trimmed{=YES|NO} | --no-trimmed | -t {<YES|NO>}]
[--group-contents-only{=YES|NO} | --no-group-contents-only | -G {<YES|NO>}]
[--help | -h]
[--include-namespaces{=YES|NO} | --no-include-namespaces | -N {<YES|NO>}]
[--progressive{=YES|NO} | --no-progressive | -p {<YES|NO>}]
[--save-for-web{=YES|NO} | --no-save-for-web | -w {<YES|NO>}]
[--output=<path> | -o <path>]
npm ERR! Tell the author that this fails on your system:
npm ERR! skpm build --watch --run
I have similar problem as @johnpeele.
Followed instructions here http://airbnb.io/react-sketchapp/ and nothing render to my sketch. When I close sketch (43.2) and hit render (npm run render), sketch opens at introduction page or with dialog message to open file.
Tried different example (foursquare-maps), same problem. Render to web (npm run web) works great.
Get error about deprecated loadingUtils.parseQuery().
🖨 Copied src/manifest.json in 12ms
(node:54160) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Executing post-build scripts
🔨 Built ./main.js in 3329ms
(null)node v6.10.2, npm 3.10.10, mac OS v10.12.4
@jongold Tried also styleguide example, same problem. After hit render, it shows me copied manifesto and build ./main.js. And (null) (as code above). And than only post-build script. No error.
I restarted sketch, also closed it completely. When its closed and hit render, sketch opens only to dialog message. When I open new blank file, window with sketch still gets focused (i guess thanks to post-build script which keep repeating).
Sketch is in Application folder and repo with react-sketch.app is on iCloud drive. I cant access to computer now to post full path (I'm sorry, battery ran out and I forgot charger - have to wait to tomorrow).
import { View } from 'react-native' you'd import { View } from 'react-primitives' and then your build tool would decide whether it wanted react-native or react-native-web or react-sketchapp components