A few things that might help others (including me) assist you better:
1. What Node.js library are you using for NFC communication? (e.g., `nfc-pcsc`)
2. Can you share the APDU commands you’re using to write `PWD`, `PACK`, and `AUTH0`?
3. Is the tag already locked when you try to write?
4. Are you getting any specific error codes or responses from the reader?
Also, have you checked the NTAG213 datasheet? The protection config pages are usually between E3 to E6, and AUTH0 sets the page where protection begins.
If you share some code, I can try to debug or help further.