Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
Description: getting error for the package consolidate for node:fs , this error is coming for test running in jest. see below log;
`
Cannot find module 'node:fs' from 'consolidate.js'
However, Jest was able to find:
'lib/consolidate.js'
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'json', 'jsx', 'ts', 'tsx', 'node'].
See https://jestjs.io/docs/en/configuration#modulefileextensions-array-string
However, Jest was able to find:
'./mailerService.js'
'./mailerService.test.js'`
Actual behavior
Expected behavior
Code to reproduce
Checklist
[x] I have searched through GitHub issues for similar issues.
[x] I have completely read through the README and documentation.
[x] I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.
Describe the bug
Node.js version: v20.9.0
OS version: Sonoma 14.5
Description: getting error for the package consolidate for node:fs , this error is coming for test running in jest. see below log;
`
Cannot find module 'node:fs' from 'consolidate.js'
Actual behavior
Expected behavior
Code to reproduce
Checklist