react-sketchapp: Npm run render error

I’m using the latest version of Sketch Beta…

When running npm run render

I receive the following error

`pm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “dev” npm ERR! node v7.2.0 npm ERR! npm v3.10.9

npm ERR! missing script: dev npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:`

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

This is a bug with Sketch 44 - we’re working on fixing it - #72

I’m getting this error in the terminal when trying to render any of the examples.

Admins-Mac-Pro:colors admin$ npm run render

> colors@ render /Users/admin/react-sketchapp/examples/colors
> skpm build --watch --run

🖨  Copied src/manifest.json in 8ms
error Error while running the command after build
2017-05-24 11:14:49.340 coscript[20612:195633655] Exception: (null)

[NOTE: this exception originated in the server.]
[NOTE: this exception originated in the server.]
*** Object does not implement or has different method signature for selector 'hasExtension:'


⛏  Built main.js in 3035ms