electron-react-redux-boilerplate
electron-react-redux-boilerplate copied to clipboard
error build
31 warnings and 9 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/hamiltonwang/Documents/Bitbucket/aiap_builder/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/hamiltonwang/Documents/Bitbucket/aiap_builder/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64" "--napi_version=6" "--node_abi_napi=napi"
gyp ERR! cwd /Users/hamiltonwang/Documents/Bitbucket/aiap_builder/node_modules/fsevents
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/hamiltonwang/Documents/Bitbucket/aiap_builder/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/hamiltonwang/Documents/Bitbucket/aiap_builder/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=6 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.
[email protected] postinstall /Users/hamiltonwang/Documents/Bitbucket/aiap_builder/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
I think browser-sync
relies on older chokidar which is not compatible with newer Node versions.
$ npm ls fsevents
$ [email protected] /Users/pronebird/dev/electron-react-redux-boilerplate
├─┬ [email protected]
│ └─┬ [email protected]
│ └── UNMET OPTIONAL DEPENDENCY [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
Blocked by https://github.com/BrowserSync/browser-sync/issues/1765
It's been a while. I don't think this is the case any longer. Please reopen if it still occurs.