https://kotlinlang.org logo
Title
b

budioktaviyan

01/19/2018, 10:09 AM
guys, need your help. I’m facing this issue while building the
kotlinconf-app
o

olonho

01/19/2018, 10:44 AM
Please use jdk 1.8
b

budioktaviyan

01/19/2018, 10:49 AM
thanks
I found another issue. and now it comes from
npm
> Task :web:buildBundle FAILED

> @ dist ~/kotlinconf-app/web
> webpack

Hash: da24f46d6a2df326d929
Version: webpack 3.4.1
Time: 232ms
        Asset       Size  Chunks             Chunk Names
    bundle.js  719 bytes       0  [emitted]  main
bundle.js.map    6.42 kB       0  [emitted]  main
   [0] ./src/main/js/index.js 43 bytes {0} [built]

ERROR in ./src/main/js/index.js
Module not found: Error: Can't resolve 'common-js.js' in '~/kotlinconf-app/web/src/main/js'
 @ ./src/main/js/index.js 1:0-23

ERROR in ./src/main/js/index.js
Module not found: Error: Can't resolve 'web.js' in '~/kotlinconf-app/web/src/main/js'
 @ ./src/main/js/index.js 2:0-17

npm ERR! Darwin 17.3.0
npm ERR! argv "~/kotlinconf-app/web/.gradle/nodejs/node-v6.9.1-darwin-x64/bin/node" "~/kotlinconf-app/web/.gradle/nodejs/node-v6.9.1-darwin-x64/bin/npm" "run" "dist"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! @ dist: `webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dist script 'webpack'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     ~/kotlinconf-app/web/npm-debug.log
even I’ve already installed npm and node
o

olonho

01/19/2018, 12:20 PM
Spinner demo does not have js or npm, likely you're doing smth wrong
b

budioktaviyan

01/19/2018, 12:21 PM
its kotlinconf-app not spinner demo
o

olonho

01/19/2018, 12:29 PM
Ag, ok, maybe @yan knows
b

budioktaviyan

01/19/2018, 12:30 PM
I’m using gradle
4.4.1
, java
1.8.0_162
and kotlin
1.2.20-release-81
i think it has been target to the latest version