onflow / kitty-items

Kitty Items: CryptoKitties Sample App

Home Page:https://kitty-items.onflow.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issues on ubuntu 20.04

DramaCrypto opened this issue · comments

I installed Flow CLI and node js
Next I execute npm run dev:testnet

but issues happened like below :

kitty-items@1.0.0 dev:testnet
npx cross-env CHAIN_ENV=testnet node .ki-scripts/startup.js

ℹ Stopping previously launched processes...

xargs -
Usage:
kill [options] [...]

Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).

node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}

not a solution but as a workaround you can comment out:

await killPortProcess(port);