Skip to content
This repository has been archived by the owner on Aug 11, 2019. It is now read-only.

Node.js version #12

Closed
jcubic opened this issue Jan 14, 2017 · 2 comments
Closed

Node.js version #12

jcubic opened this issue Jan 14, 2017 · 2 comments

Comments

@jcubic
Copy link

jcubic commented Jan 14, 2017

Which version of Node is required, I have version v4.2.6 and I have error:

/usr/local/lib/node_modules/svelte-cli/bin.js:610
        const { sourceMap } = options;
              ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3
@jcubic
Copy link
Author

jcubic commented Jan 14, 2017

Switch to v6.9.4 from nvm and it's working.

@jcubic jcubic closed this as completed Jan 14, 2017
@Rich-Harris
Copy link
Member

FWIW we intend to get Node 4 support working — there's an issue for it here sveltejs/svelte#109

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants