Hyper: Unexpected token ILLEGAL

Created on 24 Apr 2018  路  1Comment  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10 Pro 1803 17133.1
  • Hyper.app version: 2.0.0
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/david50407/f774db1511d3266a1fc7de58dba06878
  • Relevant information from devtools _(CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: Purely just installed 1 hour ago, so yes vanilla Hyper.app

Issue

When calling hyper cli, it throws Unexpected token ILLEGAL

C:\Users\Davy>hyper ls

C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:29022
                throw this.createError(index, line, col, description);
                ^
Error: Line 110: Unexpected token ILLEGAL
    at ErrorHandler.constructError (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:28999:22)
    at ErrorHandler.createError (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:29015:27)
    at ErrorHandler.throwError (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:29022:21)
    at Scanner.throwUnexpectedToken (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:29150:35)
    at Scanner.scanStringLiteral (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:29924:19)
    at Scanner.lex (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:30226:26)
    at JSXParser.Parser.nextToken (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:26074:34)
    at JSXParser.Parser.parseObjectProperty (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:26557:23)
    at JSXParser.Parser.parseObjectInitializer (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:26590:35)
    at JSXParser.Parser.inheritCoverGrammar (C:\Users\Davy\AppData\Local\hyper\app-2.0.0\resources\bin\cli.js:26273:37)

Same result with hyper i some-plugin

Most helpful comment

Oops, I found an syntax error inside my .hyper.js with missing '. Hyper works well, sorry

>All comments

Oops, I found an syntax error inside my .hyper.js with missing '. Hyper works well, sorry

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

cilice picture cilice  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

hxnt picture hxnt  路  3Comments