You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled Rejection: ReferenceError: __dirname is not defined
at file:///var/task/apps/web3/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js:156977:54
at new Promise (<anonymous>)
at Q.useBackupModule (file:///var/task/apps/web3/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js:156966:22)
at file:///var/task/apps/web3/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js:162238:22
Node.js process exited with exit status: 128. The logs above can help with debugging the issue.
Remix is not working with neither Vercel configuration or pure node configuration. Running remix vite:build and then `remix-serve build/path/to/index.js gives __dirname is not defined error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Remix is not working with neither Vercel configuration or pure node configuration. Running
remix vite:build
and then `remix-serve build/path/to/index.js gives __dirname is not defined error.Beta Was this translation helpful? Give feedback.
All reactions