-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug?]: yarn rw setup server-file fails with js but works with ts #10929
Comments
Thank you @lintfail for raising this - can confirm this bug! |
Thanks @dac09 is there a possible temp workaround while I wait for the fix? Mostly trying to get this file to integrate with BullMQ as outlined here https://community.redwoodjs.com/t/redwoodjs-v7-bullmq-bullboard/5790 |
Hey hey, yes I'm prioritising looking at this today, so hope to have the fix published soon. In the mean time work around is to do it manually.
import { createServer } from '@redwoodjs/api-server'
import { logger } from 'src/lib/logger'
async function main() {
const server = await createServer({
logger,
})
await server.start()
}
main()
^^^ the version here should be the same version as your project. HTH! |
Hey all 👋 The fix for this was released in v7.7.3. If you could confirm that this new version fixes your problem that would be awesome! |
I ran through the reproduction steps on a v7.7.3 project and this appears to be fixed. Feel free to reopen if this is still an issue. |
What's not working?
yarn rw setup server-file doesn't work with js but works with ts
How do we reproduce the bug?
fails with
Seems to work fine if the project is ts
What's your environment? (If it applies)
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: