You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors:
../modsecurity/modsecurity_wrap.cxx:6082:18: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6082 | errorHandler.err.Clear();
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6090:21: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6090 | if(errorHandler.err.IsEmpty()) {
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6098:18: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6098 | errorHandler.err.Clear();
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6106:21: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6106 | if(errorHandler.err.IsEmpty()) {
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6114:18: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6114 | errorHandler.err.Clear();
| ^~~
make[1]: *** [Makefile:270:Release/obj.target/modsecurity/modsecurity_wrap.o] 错误 1
make[1]: Leave dir“/app/src/Modsecurity-nodejs/build”
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/app/src/Modsecurity-nodejs/node_modules/node-gyp/lib/build.js:262: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 Linux 5.10.0-21-amd64
gyp ERR! command "/usr/bin/node" "/app/src/Modsecurity-nodejs/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /app/src/Modsecurity-nodejs
The text was updated successfully, but these errors were encountered:
Steps:
1、swig -I/usr/local/modsecurity/include/modsecurity/ -javascript -node -Wall -Wextra -c++ modsecurity/modsecurity.i
2、npm install
3、./node_modules/node-gyp/bin/node-gyp.js configure
4、./node_modules/node-gyp/bin/node-gyp.js build
Errors:
../modsecurity/modsecurity_wrap.cxx:6082:18: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6082 | errorHandler.err.Clear();
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6090:21: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6090 | if(errorHandler.err.IsEmpty()) {
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6098:18: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6098 | errorHandler.err.Clear();
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6106:21: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6106 | if(errorHandler.err.IsEmpty()) {
| ^~~
| error
../modsecurity/modsecurity_wrap.cxx:6114:18: error: ‘class OverloadErrorHandler’ has no member named ‘err’; did you mean ‘error’?
6114 | errorHandler.err.Clear();
| ^~~
make[1]: *** [Makefile:270:Release/obj.target/modsecurity/modsecurity_wrap.o] 错误 1
make[1]: Leave dir“/app/src/Modsecurity-nodejs/build”
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/app/src/Modsecurity-nodejs/node_modules/node-gyp/lib/build.js:262: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 Linux 5.10.0-21-amd64
gyp ERR! command "/usr/bin/node" "/app/src/Modsecurity-nodejs/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /app/src/Modsecurity-nodejs
The text was updated successfully, but these errors were encountered: