Since node is responsible for error messages and the like, I thought it would be better to post here. I also posted on the OS, and already searched about 30 pages, none solved my problem.I joined a project, and I have to install a monorepo, I clone the repository, and when I run yarn install, I get the error at the end of the text.I seem to have the necessary packages: `node-gyp-5.0.2-2 semver-6.3.0-2 npm-6.11.2-2`versions of nod and npm:[marcos@localhost ~]$ npm -v; node -v 6.11.2 v12.9.1I also installed python2 and set npm and yarn to use this version of python (required by node-gyp)PS: i'm using linux (i use arch btw)Something similar also happens when I try to install `node-inspector`. I have already entered more than 20 pages, and so far I have not solved my problem. Already reinstalled npm, already set the version of python to 2.6 etc .... [marcos@localhost izee-monorepo]$ yarn install yarn install v1.17.3 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.2.8: The platform "linux" is incompatible with this module. info "fsevents@1.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. warning atom-language-diff@1.0.2: The engine "atom" appears to be invalid. warning atom-language-nginx@0.6.1: The engine "atom" appears to be invalid. warning language-dart@0.1.1: The engine "atom" appears to be invalid. warning language-erlang@2.0.0: The engine "atom" appears to be invalid. warning language-glsl@2.0.4: The engine "atom" appears to be invalid. warning language-haxe@0.2.1: The engine "atom" appears to be invalid. warning language-ini@1.20.0: The engine "atom" appears to be invalid. warning language-rust@0.4.12: The engine "atom" appears to be invalid. warning language-stylus@0.5.2: The engine "atom" appears to be invalid. [3/4] Linking dependencies... warning "workspace-aggregator-1a82e4df-90e2-47d6-ab9b-dba0fb23904d > izee-admin-app > autopolyfiller-loader@1.1.0" has unmet peer dependency "acorn@4.x.x". warning "workspace-aggregator-1a82e4df-90e2-47d6-ab9b-dba0fb23904d > izee-admin-app > autopolyfiller-loader@1.1.0" has incorrect peer dependency "webpack@^1.4.3 || ^2.2.x". warning "workspace-aggregator-1a82e4df-90e2-47d6-ab9b-dba0fb23904d > izee-components > react-file-viewer > pdfjs-dist > worker-loader@0.8.1" has unmet peer dependency "webpack@>=0.9 <2 || ^2.1.0-beta || ^2.2.0". [4/4] Building fresh packages... [-/9] ⠁ waiting... [8/9] ⠁ node-sass [3/9] ⠁ oniguruma [4/9] ⠁ iltorb error /home/marcos/projects/space/izee-monorepo/node_modules/oniguruma: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /home/marcos/projects/space/izee-monorepo/node_modules/oniguruma Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@12.9.1 | linux | x64 gyp info spawn /usr/bin/python2.7 gyp info spawn args [ gyp info spawn args '/home/marcos/projects/space/izee-monorepo/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 '/home/marcos/projects/space/izee-monorepo/node_modules/oniguruma/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/marcos/projects/space/izee-monorepo/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/marcos/.node-gyp/12.9.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/marcos/.node-gyp/12.9.1', gyp info spawn args '-Dnode_gyp_dir=/home/marcos/projects/space/izee-monorepo/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/marcos/.node-gyp/12.9.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/marcos/projects/space/izee-monorepo/node_modules/oniguruma', 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' ] make: Entering directory '/home/marcos/projects/space/izee-monorepo/node_modules/oniguruma/build' CC(target) Release/obj.target/oniguruma/deps/onig/regcomp.o // .......... // .......... // .......... make: *** [onig_scanner.target.mk:119: Release/obj.target/onig_scanner/src/onig-scanner.o] Error 1 make: Leaving directory '/home/marcos/projects/space/izee-monorepo/node_modules/oniguruma/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/marcos/projects/space/izee-monorepo/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:209:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 5.2.11-arch1-1-ARCH gyp ERR! command "/usr/bin/node" "/home/marcos/projects/space/izee-monorepo/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /home/marcos/projects/space/izee-monorepo/node_modules/oniguruma
Submitted September 02, 2019 at 06:31PM by rootuser_
No comments:
Post a Comment