hyper icon indicating copy to clipboard operation
hyper copied to clipboard

javascript error at launch

Open jrichard8 opened this issue 9 years ago • 6 comments

  • OS version and name: Linux DES-SI-JRI 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  • Hyper.app version: 1.4.8 and 2.*

  • ** I use the original hyper.js from install

I have the folowing error at start of hyper:

Error loading config: .hyper.js:1 [object Object] ^^^^^^ SyntaxError: Unexpected identifier at _syntaxValidation (/opt/Hyper/resources/app.asar/config/init.js:15:12) at _init (/opt/Hyper/resources/app.asar/config/init.js:28:18) at _import (/opt/Hyper/resources/app.asar/config/import.js:38:15) at Object.exports.setup (/opt/Hyper/resources/app.asar/config.js:80:9) at Object.<anonymous> (/opt/Hyper/resources/app.asar/index.js:59:8) at Object.<anonymous> (/opt/Hyper/resources/app.asar/index.js:241:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) A JavaScript error occurred in the main process Uncaught Exception: Error: watch /home/jrichard/.hyper.js ENOSPC at exports._errnoException (util.js:1050:11) at FSWatcher.start (fs.js:1410:19) at Object.fs.watch (fs.js:1436:11) at _watch (/opt/Hyper/resources/app.asar/config.js:34:19) at Object.exports.setup (/opt/Hyper/resources/app.asar/config.js:81:3) at Object.<anonymous> (/opt/Hyper/resources/app.asar/index.js:59:8) at Object.<anonymous> (/opt/Hyper/resources/app.asar/index.js:241:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) [Notification] Error loading config: SyntaxError, see DevTools for more info: undefine

jrichard8 avatar Nov 07 '17 13:11 jrichard8

Did you try 2.1.1 yet?

Stanzilla avatar Nov 07 '17 13:11 Stanzilla

Yep I have the same error on both

jrichard8 avatar Nov 07 '17 14:11 jrichard8

Ok I found the problem: Local wasn't set correctly. the error message wasn't very explicit

jrichard8 avatar Nov 07 '17 14:11 jrichard8

finally probleme is still there

jrichard8 avatar Nov 08 '17 08:11 jrichard8

I think this is the same as #2363, I've been having the same issue.

kbrgl avatar Nov 09 '17 19:11 kbrgl

Please post your hyper.js file

Stanzilla avatar Apr 24 '18 00:04 Stanzilla