Closed anthony-nhs closed 8 months ago
The published npm package for 0.8.0 does not contain the support folder which means it fails on install as it can not compile the java libraries
npm install xsd-schema-validator@0.8.0
npm ERR! code 1 npm ERR! path /workspaces/electronic-prescription-service-api/node_modules/xsd-schema-validator/node_modules/xsd-schema-validator npm ERR! command failed npm ERR! command sh -c node ./lib/post-install.js npm ERR! [xsd-schema-validator] Compiling helper... npm ERR! Error: Failed to compile helper (exitCode=2) npm ERR! at ChildProcess.<anonymous> (/workspaces/electronic-prescription-service-api/node_modules/xsd-schema-validator/node_modules/xsd-schema-validator/lib/validator.js:57:13) npm ERR! at ChildProcess.emit (node:events:514:28) npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! A complete log of this run can be found in: /home/vscode/.npm/_logs/2024-01-16T08_26_22_686Z-debug-0.log
### Expected Behavior The package should install ### Environment - node version 20.10.0 - OS: ubuntu - Library version: 0.8.0
Woops! Do you want to contribute a fix?
I think https://github.com/nikku/node-xsd-schema-validator/pull/35 should fix it
Describe the Bug
The published npm package for 0.8.0 does not contain the support folder which means it fails on install as it can not compile the java libraries
Steps to Reproduce
npm install xsd-schema-validator@0.8.0
npm ERR! A complete log of this run can be found in: /home/vscode/.npm/_logs/2024-01-16T08_26_22_686Z-debug-0.log