Coder Social home page Coder Social logo

Comments (3)

mmaietta avatar mmaietta commented on June 16, 2024 1

npm WARN [email protected] requires a peer of tslint@^5.0.0 but none is installed. You must install peer dependencies yourself.

Try adding this to your package.json

  "peerDependencies": {
    "tslint": "^5.0.0"
  }

from node-mac-permissions.

codebytere avatar codebytere commented on June 16, 2024

Closing in agreement with above.

from node-mac-permissions.

codeintelli avatar codeintelli commented on June 16, 2024

@codebytere , Could you please help me to figure out this problem
i have faced same issue here are the details of error

Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /Users/p21-0008/Desktop/Dushyant/Demo/Desktop Application/ScreenshotV1.0/node_modules/node-mac-permissions Output: gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | darwin | x64 gyp info find Python using Python version 3.11.3 found at "/usr/local/opt/[email protected]/bin/python3.11" gyp info spawn /usr/local/opt/[email protected]/bin/python3.11 gyp info spawn args [ gyp info spawn args '/Users/p21-0008/.nvm/versions/node/v18.12.0/lib/node_modules/npm/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/p21-0008/Desktop/Dushyant/Demo/Desktop Application/ScreenshotV1.0/node_modules/node-mac-permissions/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/p21-0008/.nvm/versions/node/v18.12.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/p21-0008/Library/Caches/node-gyp/18.12.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/p21-0008/Library/Caches/node-gyp/18.12.0', gyp info spawn args '-Dnode_gyp_dir=/Users/p21-0008/.nvm/versions/node/v18.12.0/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/p21-0008/Library/Caches/node-gyp/18.12.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/p21-0008/Desktop/Dushyant/Demo/Desktop Application/ScreenshotV1.0/node_modules/node-mac-permissions', 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 info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o LIBTOOL-STATIC Release/nothing.a warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols) CXX(target) Release/obj.target/permissions/permissions.o clang: error: no such file or directory: 'Application/ScreenshotV1.0/node_modules/node-addon-api' make: *** [Release/obj.target/permissions/permissions.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/p21-0008/.nvm/versions/node/v18.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Darwin 22.5.0 gyp ERR! command "/Users/p21-0008/.nvm/versions/node/v18.12.0/bin/node" "/Users/p21-0008/.nvm/versions/node/v18.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/p21-0008/Desktop/Dushyant/Demo/Desktop Application/ScreenshotV1.0/node_modules/node-mac-permissions gyp ERR! node -v v18.12.0 gyp ERR! node-gyp -v v9.3.1

OS: Ventura 13.4
node version: 18.12.0
npm version:- 9.6.7

Also installed node-gyp V9.3.1

Also tried to downgrade node-mac-permission version but in every version i have found this error

i have also check node-mac-permission dependency in which i have found one dependancy name Binding this will also give error like this so please help to fix this problem

from node-mac-permissions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.