Skip to content

Unable to use fetch / foursquare-maps example #90

@nicola-santry-hs

Description

@nicola-santry-hs

I am unable to run the foursquare-maps example in the repo.

After running npm install and npm run render it displays the following error:

SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode..
Plugin “react-sketchapp: Foursquare + Google Maps”, line 12175:
» const SuperInit = (0, _runtime.SuperCall)(NSStringFromSelector("init"), [], { type: "@" });

I see the same error ( Unexpected keyword 'const'...) if I try to add fetch to basic-example.

Also seeing it in Profile Cards w/GraphQL:

SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode..
Plugin “react-sketchapp: Profile Cards w/ GraphQL”, line 6801:
» const SuperInit = (0, _runtime.SuperCall)(NSStringFromSelector("init"), [], { type: "@" });

I'm using node v7.10.0 and npm 4.2.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions