Kotlin/kotlin-fullstack-sample

unable to start forntend

oshai opened this issue · 3 comments

oshai commented

When running:
./gradlew frontend:run
I got this error:
webpack-dev-server exited with exit code 1,
...
.../kotlin-fullstack-sample/frontend/build/node_modules/webpack/lib/webpack.js:7
const Compiler = require("./Compiler");
^^^^^
SyntaxError: Use of const in strict mode.

Any help will be appreciated.

Looks like you have some unusual nodejs version or something in your environment? don't you have any special settings?

oshai commented

Thanks! that fixed it.