wes4m / zatca-xml-js

An implementation of Saudi Arabia ZATCA's E-Invoicing requirements, processes, and standards in TypeScript.
MIT License
72 stars 60 forks source link

Can not run in letest version node #30

Closed mosleh200989 closed 1 year ago

mosleh200989 commented 1 year ago

I am trying to run this project. when I run I am getting this error:

PS C:\xampp\htdocs\zatca_xml> npm run example

zatca-xml-js@0.1.8 example tsc --project tsconfig.build.json && node lib/examples/full.js

error:068000A8:asn1 encoding routines::wrong tag (node:2084) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use node --trace-deprecation ... to show where the warning was created)

my node --version v19.2.0

Can you help me to run this project: email: mosleh.engineer@gmail.com

wes4m commented 1 year ago

Check https://github.com/wes4m/zatca-xml-js/issues/14