What's not working?
Due to some issue of filesystem access in the swc library, Redwood Studio can't dynamically load my React Email templates.
The error stack is this:
Error updating mailer and mail templates:
Error: Fallback bindings does not support filesystem access
at Compiler.parseFileSync (my_dir/node_modules/@redwoodjs/studio/node_modules/@swc/core/index.js:163:19)
at Object.parseFileSync (my_dir/node_modules/@redwoodjs/studio/node_modules/@swc/core/index.js:332:21)
at getMailTemplateComponents (my_dir/node_modules/@redwoodjs/studio/dist/api/mail/index.js:206:19)
at updateMailTemplates
How do we reproduce the bug?
- new redwood build on 6.4.2
- setup mailer
- add React Email configuration
- start Redwood Studio
What's your environment? (If it applies)
System:
OS: macOS 14.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.2.0 - /private/var/folders/vf/nj_jbnqs6s97151rx0vf36zh0000gn/T/xfs-36609f3c/node
Yarn: 3.5.0 - /private/var/folders/vf/nj_jbnqs6s97151rx0vf36zh0000gn/T/xfs-36609f3c/yarn
Databases:
SQLite: 3.39.5 - /usr/bin/sqlite3
Browsers:
Chrome: 119.0.6045.199
Safari: 17.0
npmPackages:
@redwoodjs/auth-auth0-setup: 6.4.2 => 6.4.2
@redwoodjs/cli-storybook: 6.4.2 => 6.4.2
@redwoodjs/core: 6.4.2 => 6.4.2
@redwoodjs/studio: 6.4.2 => 6.4.2
Are you interested in working on this?
What's not working?
Due to some issue of filesystem access in the swc library, Redwood Studio can't dynamically load my React Email templates.
The error stack is this:
How do we reproduce the bug?
What's your environment? (If it applies)
System: OS: macOS 14.0 Shell: 5.9 - /bin/zsh Binaries: Node: 18.2.0 - /private/var/folders/vf/nj_jbnqs6s97151rx0vf36zh0000gn/T/xfs-36609f3c/node Yarn: 3.5.0 - /private/var/folders/vf/nj_jbnqs6s97151rx0vf36zh0000gn/T/xfs-36609f3c/yarn Databases: SQLite: 3.39.5 - /usr/bin/sqlite3 Browsers: Chrome: 119.0.6045.199 Safari: 17.0 npmPackages: @redwoodjs/auth-auth0-setup: 6.4.2 => 6.4.2 @redwoodjs/cli-storybook: 6.4.2 => 6.4.2 @redwoodjs/core: 6.4.2 => 6.4.2 @redwoodjs/studio: 6.4.2 => 6.4.2Are you interested in working on this?