Install client give following output.
npm install @prisma/cli --save-dev
> @prisma/[email protected] preinstall /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli
> node preinstall/index.js
> @prisma/[email protected] install /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli
> node download-build/index.js
internal/util.js:209
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
at promisify (internal/util.js:209:11)
at m (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:44:2440)
at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
at Nr (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:44:5501)
at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
at ce (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:47:2804)
at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
at Ye (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:47:9005)
at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
at Object.<anonymous> (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:47:11054)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @prisma/[email protected] install: `node download-build/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @prisma/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Install client give following output.