Failed to install prisma client 2.9 with Node 8
See original GitHub issueInstall client give following output.
npm install @prisma/cli --save-dev
> @prisma/cli@2.9.0 preinstall /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli
> node preinstall/index.js
> @prisma/cli@2.9.0 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 weighing-machine-1@1.0.0 No description
npm WARN weighing-machine-1@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @prisma/cli@2.9.0 install: `node download-build/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @prisma/cli@2.9.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
System requirements - Prisma
Prisma supports and tests all Active LTS and Maintenance LTS Node.js releases. · TypeScript is only required for TypeScript users. · When using...
Read more >Error: TSError: Unable to compile TypeScript - Stack Overflow
First I remove ts-node and typescript from package.json . then, npm install ts-node --save-dev npm install typescript -g npm install ...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
status:RESOLVED resolution:OBSOLETE severity:normal · Bug:293760 - "sys-libs/glibc-2.9_p20081201-r2 - some tests failed" status:RESOLVED resolution:OBSOLETE ...
Read more >warning: kite has been deprecated because it is not ... - You.com
facebook/inferError when installing with homebrew#1607 ... Installing dependencies for node@10: icu4c ==> Installing node@10 dependency: ... with-prisma
Read more >R2022-08 (cumulative patch) - 8.0 - Talend Help Center
Installing the patch using Software update in Talend Administration ... TUP-36157 - Error when install Bigtable in studio: Illegal character ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@janpio @Jolg42 @pantharshit00 npm output was not really descriptive. As you can see above nothing in output the above node version. Yarn is better, display a direct message about node version incompatibility.
My guess is that
"install": "node download-build/index.js",
happens and breaks the flow before npm outputs the Node version warning.