Comments (3)
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.
Closing in agreement with above.
from node-mac-permissions.
@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)
- Unable to build on M1 mac HOT 1
- Screen capture Access Prompt HOT 5
- Error: incompatible architecture issue while run the application HOT 7
- Incompatible architecture issue while run the application in MAC M2 Chip HOT 1
- askForInputMonitoringAccess is not included on npm install HOT 3
- Module not found: Error: Can't resolve 'fs' HOT 2
- Language
- Can I use this on Google Chrome? HOT 2
- Full Disk Access always return unauthorised on MacOS Ventura HOT 5
- Missing Input monitoring permission HOT 1
- [BUG] Requesting accessibility permission in Electron program is always denied. HOT 3
- installing Problem with node-gyp and installing issue facing from internal dependency "Binding" HOT 2
- Support for cross platform projects HOT 3
- Proposal to support Automation permissions HOT 2
- Universal Binary Doesn't Work
- Incorrect type definitions for askForScreenCaptureAccess HOT 1
- Folder access automatically denied on signed app HOT 6
- Contacts permissions not popping
- app that was built in macOS 14.5.2(intel silicon) crashes in macOS 11.x
- Calendar & Reminder Access changes in Sonoma HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-mac-permissions.