Closed
Description
Mirrored from parcel-bundler/parcel#7146
🐛 bug report
lmdb fails to build from the source on Windows.
node_modules/.pnpm/lmdb-store@1.6.7/node_modules/lmdb-store: Running install script, failed in 1.3s
.../node_modules/lmdb-store install$ node-gyp-build
│ C:\Users\aminy\project\node_modules\.pnpm\lmdb-store@1.6.7\node_modules\lmdb-store>if not defined npm_confi
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@8.3.0
│ gyp info using node@17.0.0 | win32 | x64
│ gyp info find Python using Python version 3.8.10 found at "C:\Python38\python.exe"
│ gyp info find VS using VS2019 (16.11.31702.278) found at:
│ gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview"
│ gyp info find VS run with --verbose for detailed information
│ gyp info spawn C:\Python38\python.exe
│ gyp info spawn args [
│ gyp info spawn args 'C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\pnpm@6.18.0\\node_modules\
│ gyp info spawn args 'binding.gyp',
│ gyp info spawn args '-f',
│ gyp info spawn args 'msvs',
│ gyp info spawn args '-I',
│ gyp info spawn args 'C:\\Users\\aminy\\project\\node_modules\\.pnpm\\lmdb-store@1.6.7\\node_modules\\l
│ gyp info spawn args '-I',
│ gyp info spawn args 'C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\pnpm@6.18.0\\node_modules\
│ gyp info spawn args '-I',
│ gyp info spawn args 'C:\\Users\\aminy\\AppData\\Local\\node-gyp\\Cache\\12.18.3\\include\\node\\common.gypi',
│ gyp info spawn args '-Dlibrary=shared_library',
│ gyp info spawn args '-Dvisibility=default',
│ gyp info spawn args '-Dnode_root_dir=C:\\Users\\aminy\\AppData\\Local\\node-gyp\\Cache\\12.18.3',
│ gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\pnpm@6.18.0
│ gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\aminy\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\12.18.3\\\\<(target_arc
│ gyp info spawn args '-Dmodule_root_dir=C:\\Users\\aminy\\project\\node_modules\\.pnpm\\lmdb-store@1.6.
│ gyp info spawn args '-Dnode_engine=v8',
│ gyp info spawn args '--depth=.',
│ gyp info spawn args '--no-parallel',
│ gyp info spawn args '--generator-output',
│ gyp info spawn args 'C:\\Users\\aminy\\project\\node_modules\\.pnpm\\lmdb-store@1.6.7\\node_modules\\l
│ gyp info spawn args '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load bin
│ gyp ERR! configure error
│ gyp ERR! stack Error: `gyp` failed with exit code: 1
│ gyp ERR! stack at ChildProcess.onCpExit (C:\Users\aminy\AppData\Roaming\npm\pnpm-global\5\node_modules\.pnpm\pnpm@6.18.0\no
│ gyp ERR! stack at ChildProcess.emit (node:events:390:28)
│ gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
│ gyp ERR! System Windows_NT 10.0.22000
│ gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\
│ gyp ERR! cwd C:\Users\aminy\project\node_modules\.pnpm\lmdb-store@1.6.7\node_modules\lmdb-store
│ gyp ERR! node -v v17.0.0
│ gyp ERR! node-gyp -v v8.3.0
│ gyp ERR! not ok
└─ Failed in 1.3s
🎛 Configuration (.babelrc, package.json, cli command)
N/A
🤔 Expected Behavior
I should not need to build lmdb from the source.
😯 Current Behavior
lmdb is built from the source, and it fails to build.
💁 Possible Solution
Make a PR to lmdb and provide prebuilds.
🔦 Context
💻 Code Sample
🌍 Your Environment
Software | Version(s) |
---|---|
Node | 17.0.0 |
npm/Yarn | pnpm 6.18.0 |
Operating System | Windows 11 |
Metadata
Metadata
Assignees
Labels
No labels