We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run the first command on the README - npm install proofreader -g, it fails with the following error.
npm install proofreader -g
node version: 18.16.0, Apple M1 chip, Python3
nikhilnanjappa@Nikhils-MacBook-Pro ~ % npm install proofreader -g npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 1 npm ERR! path /Users/nikhilnanjappa/.npm-global/lib/node_modules/proofreader/node_modules/nodehun npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/affentry.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/affixmgr.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/csutil.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/filemgr.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hashmgr.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hunspell.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hunzip.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/phonet.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/replist.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/strmgr.o npm ERR! CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/suggestmgr.o npm ERR! LIBTOOL-STATIC Release/hunspell.a npm ERR! CXX(target) Release/obj.target/nodehun/src/nodehun.o npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | darwin | arm64 npm ERR! gyp info find Python using Python version 3.11.4 found at "/opt/homebrew/opt/[email protected]/bin/python3.11" npm ERR! gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.11 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/nikhilnanjappa/.npm-global/lib/node_modules/proofreader/node_modules/nodehun/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/nikhilnanjappa/Library/Caches/node-gyp/18.16.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/nikhilnanjappa/Library/Caches/node-gyp/18.16.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/nikhilnanjappa/Library/Caches/node-gyp/18.16.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/nikhilnanjappa/.npm-global/lib/node_modules/proofreader/node_modules/nodehun', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! ../src/hunspell/src/hunspell/strmgr.cxx:79:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] npm ERR! fprintf(stderr, err); npm ERR! ^~~ npm ERR! ../src/hunspell/src/hunspell/strmgr.cxx:79:19: note: treat the string as an argument to avoid this npm ERR! fprintf(stderr, err); npm ERR! ^ npm ERR! "%s",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I run the first command on the README -
npm install proofreader -g
, it fails with the following error.node version: 18.16.0, Apple M1 chip, Python3
The text was updated successfully, but these errors were encountered: