Open ericdmoore opened 3 years ago
for qode - the npm install @nodegui/qode command fails
npm install @nodegui/qode
ericmoore@cem mdview-nodegui % sw_vers ProductName: macOS ProductVersion: 11.2.2 BuildVersion: 20D80 ericmoore@cem mdview-nodegui % uname -a Darwin cem.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64 ericmoore@cem mdview-nodegui % sysctl -n machdep.cpu.brand_string Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz ericmoore@cem mdview-nodegui % python3 --version Python 3.9.2 ericmoore@cem mdview-nodegui % python --version Python 2.7.16 ericmoore@cem mdview-nodegui % gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ericmoore@cem mdview-nodegui % clang --version Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ericmoore@cem mdview-nodegui % cmake --version cmake version 3.20.0-rc4 CMake suite maintained and supported by Kitware (kitware.com/cmake).
ericmoore@cem mdview-nodegui % npm install @nodegui/qode npm ERR! code 1 npm ERR! path /Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui npm ERR! command failed npm ERR! command sh -c cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon npm ERR! > @nodegui/nodegui@0.13.1 prebuild:install npm ERR! > prebuild-install --backend=cmake-js --runtime=napi --verbose npm ERR! npm ERR! npm ERR! > @nodegui/nodegui@0.13.1 build:addon npm ERR! > cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile npm ERR! npm ERR! [ npm ERR! '/Users/ericmoore/.nvm/versions/node/v12.18.0/bin/node', npm ERR! '/Users/ericmoore/Web/mdview-nodegui/node_modules/.bin/cmake-js', npm ERR! 'compile' npm ERR! ] npm ERR! Not searching for unused variables given on the command line. npm ERR! -- The C compiler identification is AppleClang 12.0.0.12000032 npm ERR! -- The CXX compiler identification is AppleClang 12.0.0.12000032 npm ERR! -- Detecting C compiler ABI info npm ERR! -- Detecting C compiler ABI info - done npm ERR! -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped npm ERR! -- Detecting C compile features npm ERR! -- Detecting C compile features - done npm ERR! -- Detecting CXX compiler ABI info npm ERR! -- Detecting CXX compiler ABI info - done npm ERR! -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped npm ERR! -- Detecting CXX compile features npm ERR! -- Detecting CXX compile features - done npm ERR! -- Configuring done npm ERR! Not searching for unused variables given on the command line. npm ERR! -- The C compiler identification is AppleClang 12.0.0.12000032 npm ERR! -- The CXX compiler identification is AppleClang 12.0.0.12000032 npm ERR! -- Detecting C compiler ABI info npm ERR! -- Detecting C compiler ABI info - done npm ERR! -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped npm ERR! -- Detecting C compile features npm ERR! -- Detecting C compile features - done npm ERR! -- Detecting CXX compiler ABI info npm ERR! -- Detecting CXX compiler ABI info - done npm ERR! -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped npm ERR! -- Detecting CXX compile features npm ERR! -- Detecting CXX compile features - done npm ERR! -- Configuring done npm ERR! prebuild-install info begin Prebuild-install version 5.3.3 npm ERR! prebuild-install info install installing standalone, skipping download. npm ERR! info TOOL Using Unix Makefiles generator. npm ERR! info CMD CONFIGURE npm ERR! info RUN cmake "/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="6.0.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/build/Release" -DCMAKE_JS_INC="/Users/ericmoore/.cmake-js/node-x64/v12.18.0/include/node;/Users/ericmoore/Web/mdview-nodegui/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.18.0" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-D_DARWIN_USE_64_BIT_INODE=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILDING_NODE_EXTENSION" -DCMAKE_SHARED_LINKER_FLAGS="-undefined dynamic_lookup" npm ERR! internal/modules/cjs/loader.js:969 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module '@nodegui/qode' npm ERR! Require stack: npm ERR! - /Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/[eval] npm ERR! at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:842:27) npm ERR! at Module.require (internal/modules/cjs/loader.js:1026:19) npm ERR! at require (internal/modules/cjs/helpers.js:72:18) npm ERR! at [eval]:1:1 npm ERR! at Script.runInThisContext (vm.js:120:20) npm ERR! at Object.runInThisContext (vm.js:311:38) npm ERR! at Object.<anonymous> ([eval]-wrapper:10:26) npm ERR! at Module._compile (internal/modules/cjs/loader.js:1138:30) npm ERR! at evalScript (internal/process/execution.js:94:25) { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [ npm ERR! '/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/[eval]' npm ERR! ] npm ERR! } npm ERR! CMake Error: AUTOMOC for target nodegui_core: The "moc" executable "/bin/moc" does not exist. npm ERR! CMake Generate step failed. Build files cannot be regenerated correctly. npm ERR! info REP Build has been failed, trying to do a full rebuild. npm ERR! info CMD CLEAN npm ERR! info RUN cmake -E remove_directory "/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/build" npm ERR! info CMD CONFIGURE npm ERR! info RUN cmake "/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="6.0.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/build/Release" -DCMAKE_JS_INC="/Users/ericmoore/.cmake-js/node-x64/v12.18.0/include/node;/Users/ericmoore/Web/mdview-nodegui/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.18.0" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-D_DARWIN_USE_64_BIT_INODE=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILDING_NODE_EXTENSION" -DCMAKE_SHARED_LINKER_FLAGS="-undefined dynamic_lookup" npm ERR! internal/modules/cjs/loader.js:969 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module '@nodegui/qode' npm ERR! Require stack: npm ERR! - /Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/[eval] npm ERR! at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:842:27) npm ERR! at Module.require (internal/modules/cjs/loader.js:1026:19) npm ERR! at require (internal/modules/cjs/helpers.js:72:18) npm ERR! at [eval]:1:1 npm ERR! at Script.runInThisContext (vm.js:120:20) npm ERR! at Object.runInThisContext (vm.js:311:38) npm ERR! at Object.<anonymous> ([eval]-wrapper:10:26) npm ERR! at Module._compile (internal/modules/cjs/loader.js:1138:30) npm ERR! at evalScript (internal/process/execution.js:94:25) { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [ npm ERR! '/Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui/[eval]' npm ERR! ] npm ERR! } npm ERR! CMake Error: AUTOMOC for target nodegui_core: The "moc" executable "/bin/moc" does not exist. npm ERR! CMake Generate step failed. Build files cannot be regenerated correctly. npm ERR! ERR! OMG Process terminated: 1 npm ERR! A complete log of this run can be found in: npm ERR! /Users/ericmoore/.npm/_logs/2021-03-11T18_08_26_752Z-debug.log
Let me know if there are other parameters I can provide - in order to help you more accurately troubleshoot
Issue
for qode - the
npm install @nodegui/qode
command failsEnvironment Details:
Error Report
npm install @nodegui/qode
related to: