Open jorisre opened 9 months ago
I ran into this issue as well when enqueuing a job with BullMQ. Since this was occurring in the Node-side of my application (I'm running a custom server), I removed the installGlobals()
call. After this, my BullMQ jobs enqueued successfully.
System:
OS: macOS 14.1.2
CPU: (10) arm64 Apple M1 Max
Memory: 3.77 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - ~/.asdf/installs/nodejs/20.10.0/bin/node
npm: 10.2.3 - ~/.asdf/plugins/nodejs/shims/npm
npmPackages:
@remix-run/dev: ^2.3.1 => 2.3.1
@remix-run/eslint-config: ^2.3.1 => 2.3.1
@remix-run/express: ^2.3.1 => 2.3.1
@remix-run/node: ^2.3.1 => 2.3.1
@remix-run/react: ^2.3.1 => 2.3.1
bullmq: ^4.15.0 => 4.15.0
module.exports = {
appDirectory: "src",
cacheDirectory: "./node_modules/.cache/remix",
ignoredRouteFiles: ["**/.*", "**/*.css", "**/*.test.{js,jsx,ts,tsx}"],
serverModuleFormat: "esm",
serverPlatform: "node",
watchPaths: ["./tailwind.config.cjs"],
};
Possibly related: https://github.com/vercel/remix/issues/62#issuecomment-2041038392
What version of Remix are you using?
2 and 1.19
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
@vercel/blob
packagelist
function of@vercel/blob
from a Remix loaderThis CodeSandbox shows the error, does anyone know a workaround?
https://codesandbox.io/p/sandbox/sparkling-flower-hmrkj4
Expected Behavior
Should not throw an error and return the blobs
Actual Behavior
It throws the following error: