Starter-babel will not build on win10

Hi,

I’m having some issues running the starter-babel on windows 10
The first error I get building with gradlew straight out of the box:

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':npmInstall'.
 A problem occurred starting process 'command 'C:\Users\Martin\Documents\Development\Enonic\sourcecode\reacting\.gradle\nodejs\node-v4.2.1-win-x64\node.exe''

The node.exe is missing or not installing proberly. I’ve done this manually downloading it from here

This leads on to other problems, the full log:

> Task :npmInstall
> npm WARN package.json my-project@1.0.0 No description
> npm WARN package.json my-project@1.0.0 No repository field.
> npm WARN package.json my-project@1.0.0 No README data
> npm WARN package.json my-project@1.0.0 No license field.
> npm WARN optional dep failed, continuing fsevents@1.1.3
> babel-cli@6.26.0 node_modules\babel-cli
> Ôö£ÔöÇÔöÇ slash@1.0.0
> Ôö£ÔöÇÔöÇ path-is-absolute@1.0.1
> Ôö£ÔöÇÔöÇ convert-source-map@1.5.1
> Ôö£ÔöÇÔöÇ fs-readdir-recursive@1.1.0
> Ôö£ÔöÇÔöÇ commander@2.13.0
> Ôö£ÔöÇÔöÇ v8flags@2.1.1 (user-home@1.1.1)
> Ôö£ÔöÇÔöÇ source-map@0.5.7
> Ôö£ÔöÇÔöÇ glob@7.1.2 (inherits@2.0.3, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0, minimatch@3.0.4)
> Ôö£ÔöÇÔöÇ output-file-sync@1.1.2 (object-assign@4.1.1, graceful-fs@4.1.11, mkdirp@0.5.1)
> Ôö£ÔöÇÔöÇ babel-core@6.26.0 (babel-messages@6.23.0, private@0.1.8, babel-template@6.26.0, babel-helpers@6.24.1, json5@0.5.1, babylon@6.18.0, debug@2.6.9, minimatch@3.0.4, babel-types@6.26.0, babel-code-frame@6.26.0, babel-generator@6.26.0, babel-traverse@6.26.0)
> Ôö£ÔöÇÔöÇ chokidar@1.7.0 (inherits@2.0.3, async-each@1.0.1, glob-parent@2.0.0, is-glob@2.0.1, is-binary-path@1.0.1, readdirp@2.1.0, anymatch@1.3.2)
> Ôö£ÔöÇÔöÇ lodash@4.17.4
> Ôö£ÔöÇÔöÇ babel-register@6.26.0 (source-map-support@0.4.18, home-or-tmp@2.0.0, mkdirp@0.5.1, core-js@2.5.3)
> Ôö£ÔöÇÔöÇ babel-polyfill@6.26.0 (regenerator-runtime@0.10.5, core-js@2.5.3)
> ÔööÔöÇÔöÇ babel-runtime@6.26.0 (regenerator-runtime@0.11.1, core-js@2.5.3)

> babel-preset-react@6.24.1 node_modules\babel-preset-react
> Ôö£ÔöÇÔöÇ babel-plugin-syntax-jsx@6.18.0
> Ôö£ÔöÇÔöÇ babel-plugin-transform-react-jsx-source@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-react-display-name@6.25.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-react-jsx-self@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-react-jsx@6.24.1 (babel-helper-builder-react-jsx@6.26.0, babel-runtime@6.26.0)
> ÔööÔöÇÔöÇ babel-preset-flow@6.23.0 (babel-plugin-transform-flow-strip-types@6.22.0)

> babel-preset-env@1.6.1 node_modules\babel-preset-env
> Ôö£ÔöÇÔöÇ babel-plugin-syntax-trailing-function-commas@6.22.0
> Ôö£ÔöÇÔöÇ semver@5.5.0
> Ôö£ÔöÇÔöÇ invariant@2.2.2 (loose-envify@1.3.1)
> Ôö£ÔöÇÔöÇ browserslist@2.11.3 (electron-to-chromium@1.3.31, caniuse-lite@1.0.30000792)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-typeof-symbol@6.23.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-literals@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-duplicate-keys@6.24.1 (babel-types@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-object-super@6.24.1 (babel-helper-replace-supers@6.24.1, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-arrow-functions@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-spread@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-shorthand-properties@6.24.1 (babel-types@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-sticky-regex@6.24.1 (babel-helper-regex@6.26.0, babel-types@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-for-of@6.23.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-block-scoped-functions@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-template-literals@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-destructuring@6.23.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-modules-umd@6.24.1 (babel-template@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-modules-systemjs@6.24.1 (babel-template@6.26.0, babel-helper-hoist-variables@6.24.1, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-check-es2015-constants@6.22.0 (babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-function-name@6.24.1 (babel-types@6.26.0, babel-helper-function-name@6.24.1, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-modules-amd@6.24.1 (babel-template@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-modules-commonjs@6.26.0 (babel-plugin-transform-strict-mode@6.24.1, babel-template@6.26.0, babel-types@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-unicode-regex@6.24.1 (regexpu-core@2.0.0, babel-helper-regex@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-computed-properties@6.24.1 (babel-template@6.26.0, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-block-scoping@6.26.0 (babel-template@6.26.0, babel-types@6.26.0, babel-traverse@6.26.0, lodash@4.17.4, babel-runtime@6.26.0)
> Ôö£ÔöÇÔöÇ babel-plugin-transform-es2015-classes@6.24.1 (babel-helper-replace-supers@6.24.1, babel-messages@6.23.0, babel-helper-optimise-call-expression@6.24.1, babel-helper-function-name@6.24.1, babel-helper-define-map@6.26.0, babel-template@6.26.0, babel-types@6.26.0, babel-traverse@6.26.0, babel-runtime@6.26.0)
> Task :babelJs-plugin-transform-es2015-parameters@6.24.1 (babel-helper-get-function-arity@6.24.1, babel-helper-call-delegate@6.24.1, babel-template> :babelJs
> C:\Users\Martin\Documents\Development\Enonic\sourcecode\starter-babel\node_modules\.bin\babel:4                                                   <=<=------------> 11% EXECUTING [4m 17s]
> case `uname` in-plugin-transform-exponentiation-operator@6.24.1 (babel-plugin-syntax-exponentiation-operator@6.13.0, babel-helper-builder-binary-ass<=------------> 11% EXECUTING [4m 14s]
> ^^^^öÇÔöÇ babel-plugin-transform-async-to-generator@6.24.1 (babel-plugin-syntax-async-functions@6.13.0, babel-helper-remap-async-to-generator@6.24.1<=------------> 11% EXECUTING [3m 51s]
> ÔööÔöÇÔöÇ babel-plugin-transform-regenerator@6.26.0 (regenerator-transform@0.10.1)
> SyntaxError: Unexpected token case43s]
>     at exports.runInThisContext (vm.js:53:16)
>     at Module._compile (module.js:414:25)
>     at Object.Module._extensions..js (module.js:442:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:311:12)
>     at Function.Module.runMain (module.js:467:10)
>     at startup (node.js:134:18)
>     at node.js:961:3


> FAILURE: Build failed with an exception.

> * What went wrong:
> Execution failed for task ':babelJs'.
> Process 'command 'C:\Users\Martin\Documents\Development\Enonic\sourcecode\starter-babel\.gradle\nodejs\node-v4.2.1-win-x64\node.exe'' finished with non-zero exit value 1

> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

> BUILD FAILED in 5m 22s
> 3 actionable tasks: 2 executed, 1 up-to-date

Is there some sort of requirement I’m missing? Or any other version I could try?

I actually have zero idea, just wanna give you some feedback.

Did you solve this? Does deleting /node_modules/ folder help?
Are you on 1.3.0 of starter-babel? It failed before that on Windows.

Havent quite been able to figure it out yet, no.
It seems to generate a new /node_modules if I delete it manually. And I’m using v1.3.0 of the starter.

I’m not too familiar with setting up gradle and webpack - so I’ve been thinking about doing it from 0 in a empty vanilla project. Maybe I can figure it out along the way.