I am running this test:
./ci/tests/puppeteer/run.sh --scenario
./ci/tests/puppeteer/scenarios/surrogate-login-ldap
and I receive this error message:
Error: Cannot find module '@napi-rs/canvas'
I have run these commands (which installed successfully):
npm i -g puppeteer
npm install -g @napi-rs/canvas
stack:
- /home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/cas.js
-
/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/scenarios/surrogate-login-ldap/script.js
at Function.Module._resolveFilename
(node:internal/modules/cjs/loader:1145:15)
at Function.Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous>
(/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/cas.js:28:35)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Object.Module._extensions..js
(node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous>
(/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/scenarios/surrogate-login-ldap/script.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Object.Module._extensions..js
(node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
🔥 Script: ./ci/tests/puppeteer/scenarios/surrogate-login-ldap/script.js
with config:
./ci/tests/puppeteer/scenarios/surrogate-login-ldap/script.json failed with
return code 1
2025-03-21 16:57:42,932 INFO
[org.apereo.cas.configuration.CasConfigurationPropertiesValidator] -
<Validated CAS property sources and configuration successfully.>
Progress: [############################################################]
100.00%
**************************************************************************
🔥 Test scenario [surrogate-login-ldap] has failed with exit code 1.
Thanks
Ray
--
You received this message because you are subscribed to the Google Groups "CAS
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/a/apereo.org/d/msgid/cas-dev/21690c65-a309-4d7d-8b6d-d92568e8910fn%40apereo.org.