Can not Install: Missing query-engine-debian-openssl-1.1.x
See original GitHub issueEnv info:
Running Ubuntu 18.04 in Windows 10 WSL 2.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Globally installed prisma2:
prisma2@2.0.0-preview022, binary version: f608db3b9e4f50f9a384356e532357b0a525969a
package.json
"devDependencies": {
"prisma2": "^2.0.0-preview022",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
},
"dependencies": {
"@prisma/client": "^2.0.0-preview022"
}
Error
> @prisma/client@2.0.0-preview022 postinstall [project]/node_modules/@prisma/client
> node scripts/postinstall.js
Error: Error: Command failed with ENOENT:[project]/node_modules/prisma2/query-engine-debian-openssl-1.1.x --enable_raw_queries cli
--dmmf
spawn [project]/node_modules/prisma2/query-engine-debian-openssl-1.1.x ENOENT
Reproduce:
Run: npm install
> prisma2@2.0.0-preview022 install [project]/node_modules/prisma2
> node download-build/index.js
> Downloading Prisma engines for debian-openssl-1.1.x [====================] 100%
> @prisma/client@2.0.0-preview022 postinstall [project]/node_modules/@prisma/client
> node scripts/postinstall.js
Error: Error: Command failed with ENOENT:[project]/node_modules/prisma2/query-engine-debian-openssl-1.1.x --enable_raw_queries cli
--dmmf
spawn [project]/node_modules/prisma2/query-engine-debian-openssl-1.1.x ENOENT
npm WARN postsnail-core@1.0.0 No repository field.
added 11 packages from 42 contributors and audited 11 packages in 7.457s
found 0 vulnerabilities
You can see debian-openssl-1.1.x was apparently saved successfully but after the operation, I do not see it in the node_modules/prisma2 directory:
[user]@DESKTOP: [project]/node_modules/prisma2$ ls -lah
total 12K
drwxrwxrwx 1 [user] [user] 512 Feb 18 17:22 .
drwxrwxrwx 1 [user] [user] 512 Feb 18 17:22 ..
-rwxrwxrwx 1 [user] [user] 1.1K Oct 26 1985 README.md
drwxrwxrwx 1 [user] [user] 512 Feb 18 17:22 build
drwxrwxrwx 1 [user] [user] 512 Feb 18 17:22 download-build
-rwxrwxrwx 1 [user] [user] 4 Feb 18 17:22 download-done
-rwxrwxrwx 1 [user] [user] 4.1K Feb 18 17:22 package.json
drwxrwxrwx 1 [user] [user] 512 Feb 18 17:22 prisma-client
Running as sudo will produce the same error.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:26 (11 by maintainers)
Top Results From Across the Web
How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, ... Could not start the Windows Installer service on Local Computer.
Read more >“Unable to install. A required install component is missing or ...
Give executable permission if AdODIS-installer.run doesn't have one. Enter the password when prompted. This opens the Autodesk On-Demand Install ...
Read more >Error :api-ms-win-crt-runtime-l1-1-0.dll is missing
Installation failed. Windows updates from Microsoft required to install this product are not available on this computer. Please install the ...
Read more >R Commander Installation Notes - Social Sciences Mcmaster
In the first instance, you can install (each) missing package directly via the command install.packages("package-name"), or, for more than one ...
Read more >Connect (No-Plugin Version) Does Not Start or Respond - IBM
Troubleshooting : Mac OS X. 1. After installing did you runAspera's web-based Connect Diagnostic Tool? If you haven't done so ...
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 Free
Top 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

Same problem inside docker
With node:slime, in Dockerfile I added this and fixed the issue:
RUN apt-get -qy update && apt-get -qy install openssl