cd grpc-node/packages/grpc-js-core/
npm install
npm install http2
tsc -t ES6 --sourceMap false
browserify build/src/index.js -s build/src/index > grpc.js
cd ../../..
k6 run script.js
Then, the following error occurs.
$ k6 run script.js
/\ |‾‾| /‾‾/ /‾/
/\ / \ | |_/ / / /
/ \/ \ | | / ‾‾\
/ \ | |‾\ \ | (_) |
/ __________ \ |__| \__\ \___/ .io
ERRO[0379] GoError: open ./grpc-node/packages/grpc-js-core/framer: no such file or directory