Closed gregorskii closed 8 years ago
Hello,
Wallaby doesn't use babel for its config, it relies on the features of the used node.js version. IntelliJ integration ships with embedded node 4.x, so it can run ES6 code in config and wallaby-webpack
package (where the error comes from).
It looks like your Atom is using some older node.js version (system default one) that doesn't support ES6. You may download and install more recent node version as the default one, or side by side (using nvm
or alike) and configure wallaby in Atom to use that version (one line in Atom init script).
Let me know if this helps.
Confirmed this is the fix. Appreciate it. I should have read the manual!
Hi there,
I cannot run my wallaby.js config on Atom, it works on Intellij and Sublime text.
I get this error:
It appears that atom-wallaby or wallabyjs itself is not first running a pass of babel on the wallabyjs config.
Here is my config:
Let me know if you think this issue is with Wallaby itself. I will then ask this issue on the Wallaby github.
Thanks!
Greg