Kotlin / kotlin-fullstack-sample

Kotlin Full-stack Application Example
https://kotlinlang.org
Apache License 2.0
1.22k stars 167 forks source link

Build stuck at npm-install #33

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi

npm-install takes a very long time:

$> ./gradlew build
<====---------> 34% EXECUTING [2m 04s]
> :frontend:npm-install

And finally fails and says the error is loged at ~/.npm/_logs/blabla_debug.log which contains:

error path ~/kotlin-fullstack-sample/frontend/build/node_modules/.staging/babel-runtime-1f1cbe22/package.json
error code ENOENT                                                                  
error errno -2                                                                     
error syscall open                                                                 
error enoent ENOENT: no such file or directory, open '~/kotlin-fullstack-sample/frontend/build/node_modules/.staging/babel-runtime-1f1cbe22/package.json'
error enoent This is most likely not a problem with npm itself                     
error enoent and is related to npm not being able to find a file.                  
verbose exit [ -2, true ]

Any ideas?

cy6erGn0m commented 6 years ago

Looks like it simply fails to download babel-runtime and crashes with ENOENT after timeout expiration

cy6erGn0m commented 6 years ago

Don't see how it could be related to the frontend plugin