When using macOS Monterey, when the project install deps, build an error.
Assone opened this issue · comments
Describe the bug
when using macOS Monterey, use pnpm install deps, gyp compiler an error, error message: /src/cld.cc:9:12: error: no member named 'unexpected_handler' in namespace 'std' │ using std::unexpected_handler;
.
I think it was a problem with node-cld, so I adjusted the node-cld dependency to 2.7.1 and it went through the build.
related issue: dachev/node-cld#66
so, please update the cld dependencies
Reproduction
https://github.com/modern-js-dev/garfish.git
Used Package Manager
pnpm
System Info
System:
OS: macOS 12.3.1
CPU: (8) x64 Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
Memory: 105.31 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 18.6.0 - /usr/local/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.14.0 - /usr/local/bin/npm
Browsers:
Chrome: 103.0.5060.134
Safari: 15.4
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Garfish issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
The problem should be that some of our dependencies only support node 16, you can consider switching to node 16 version v16.16.0 first, we will fix this problem as soon as possible
The problem should be that some of our dependencies only support node 16, you can consider switching to node 16 version v16.16.0 first, we will fix this problem as soon as possible
thk