Skip to content

SyntaxError: Unexpected keyword 'const'.  #24

@tanem

Description

@tanem

Hi there,

I'm using Sketch 49 (51002) on El Capitan, and I'm getting the following error when trying to open this plugin:

8/03/18 11:41:53.415 AM Show DevTools (Sketch)[88136]: SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode..
Plugin “show-debugger”, line 1:

I'm a bit of a novice with how Sketch plugins are set up... is this an issue with JavaScriptCore? My Safari version is at latest (11.0.3) and my system Node version is at 9.7.1.

I guess I could fork the repo and try to build a version of the plugin that transpiles things... but don't want to go there unless I really have to.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions