webtretech / nestjs-mailer-react-adapter

📨 Build and send emails in Nest framework using React.js
https://www.npmjs.com/package/@webtre/nestjs-mailer-react-adapter
MIT License
34 stars 3 forks source link

Fix loader error in Windows #43

Closed bighoho123 closed 11 months ago

bighoho123 commented 11 months ago

When running Nestjs in a Windows environment, the template could not be loaded properly.

Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

This converts path to URL with file protocol (file://...)

kodjunkie commented 11 months ago

Thank you @bighoho123. Can you change the target branch to dev so I can merge and release it?

bighoho123 commented 11 months ago

@kodjunkie Done :)