Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Doesn't work, throws a Syntax Error #2

Open
garyking opened this issue Mar 5, 2020 · 3 comments
Open

Doesn't work, throws a Syntax Error #2

garyking opened this issue Mar 5, 2020 · 3 comments

Comments

@garyking
Copy link

garyking commented Mar 5, 2020

If I run this, I get:

App threw an error during load
electron-typescript-example/node_modules/cli-highlight/node_modules/chalk/source/index.js:103
	...styles,
	^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:74:10)
    at Object.runInThisContext (vm.js:116:10)
    at Module._compile (module.js:533:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (electron-typescript-example/node_modules/cli-highlight/dist/theme.js:10:28)
@Sinmson
Copy link

Sinmson commented Mar 9, 2020

Same for me

@axeprpr
Copy link

axeprpr commented Jun 13, 2020

Same for me...this example need to be updated.

@Ngomana
Copy link

Ngomana commented Oct 21, 2020

has anyone found a solution?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants