Skip to content

i'm getting build errors and not sure where to run the build command. #174

@laurencefass

Description

@laurencefass

Ive installed the package and the build step is throwing errors:

nest-mono % node-gyp configure build
gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.0
gyp info using node@16.20.0 | darwin | arm64
gyp info find Python using Python version 3.11.3 found at "/opt/homebrew/opt/python@3.11/bin/python3.11"
gyp info spawn /opt/homebrew/opt/python@3.11/bin/python3.11
gyp info spawn args [
gyp info spawn args   '/Users/laurence.fass/.nvm/versions/node/v16.20.0/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/laurence.fass/SSG/nest-mono/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/laurence.fass/.nvm/versions/node/v16.20.0/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/laurence.fass/Library/Caches/node-gyp/16.20.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/laurence.fass/Library/Caches/node-gyp/16.20.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/laurence.fass/.nvm/versions/node/v16.20.0/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/laurence.fass/Library/Caches/node-gyp/16.20.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/laurence.fass/SSG/nest-mono',
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   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: /Users/laurence.fass/SSG/nest-mono) while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/laurence.fass/.nvm/versions/node/v16.20.0/lib/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Darwin 22.5.0
gyp ERR! command "/Users/laurence.fass/.nvm/versions/node/v16.20.0/bin/node" "/Users/laurence.fass/.nvm/versions/node/v16.20.0/bin/node-gyp" "configure" "build"
gyp ERR! cwd /Users/laurence.fass/SSG/nest-mono
gyp ERR! node -v v16.20.0
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok 

where do i run the build command? its not specified in the readme.

environment:

aurence.fass@SSG-2510 nest-mono % node -v
v16.20.0
laurence.fass@SSG-2510 nest-mono % npm -v
8.19.4

any help or advice appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions