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
Example doesn't work #8
Comments
@3x071c Thanks for actually using this library. I would like to know in order to streamline my investigation.
|
I can confirm same error; node -v Both Cheers! |
@gnimmelf Thanks for the detailed information. This will help me in my investigation. |
@aiji42 Thanks for investigating. Perhaps this is an npm-specific issue? |
@3x071c I have not yet been able to determine the cause of the problem, but I believe it is likely. |
|
I'm using the latest Node.js version (17.8.0), with npm
Downgrading and reconfiguring |
Weird, that doesn't work for me. |
@marcus-sa Thanks for letting me know. |
@aiji42 this is the error I'm getting |
@3x071c @marcus-sa @gnimmelf InstallRemove the node_modules directory in advance rm -rf node_modules
npm install -D remix-esbuild-override@beta
# or
yarn add -D remix-esbuild-override@beta
Add "scripts": {
"postinstall": "remix setup cloudflare && remix-esbuild-override"
} Run
SetupThe setup procedure is the same as the current README for the main branch. // remix.config.js
const { withEsbuildOverride } = require("remix-esbuild-override");
withEsbuildOverride((option, { isServer, isDev }) => {
// write your custome option for esbuild
return option;
})
/**
* @type {import('@remix-run/dev').AppConfig}
*/
module.exports = {
// ...
}; Start up a development servernpm run dev
# or
yarn run dev |
@aiji42 Works great for me! Thank you. 👍 |
I am making this release and closing the issue. Thank you all for your help in reporting and debugging. |
Trying to get this to run with my Cloudflare Pages + Remix + Emotion + Chakra-UI app. After following the
README.md
guide, I'm encountering the following error:First I thought this was a misconfiguration problem (or possibly an incompatibility with CF Pages), but it turns out that your
/example
runs into the same problem. I see that this package was just freshly upgraded 5 hours ago, so I'll downgrade to v1 for now. Thank you for investing your time in maintaining this publically, can't wait to have this fixed! 💯The text was updated successfully, but these errors were encountered: