Comments (10)
@darthwade This was originally set, it must have been removed by a recent PR.
I added it back so other people don't experience this. Thanks for debugging!
from t4-app.
Btw, during deployment I also encountered "Error: Could not access built-in Node.js modules. Please make sure that your Cloudflare Pages project has the 'nodejs_compat' compatibility flag set."
adding node_compat
to wrangler.toml
didn't help, but applying node_compat via CF dashboard helped
[env.preview]
name = "zeus-web-preview"
workers_dev = true
node_compat = true
compatibility_flags = [ "nodejs_compat" ]
[env.production]
name = "zeus-web"
route = "zeus-3v5.pages.dev/*"
workers_dev = false
node_compat = true
compatibility_flags = [ "nodejs_compat" ]
from t4-app.
Yep you have to set node_compat
via the CF dashboard. I'm open to solutions that make that process programatic.
Do you have optimizeCSS set in next.config.js
? Turn it off if you do.
from t4-app.
from t4-app.
That's strange. Ensure your fork is up to date with the main branch and re-deploy.
from t4-app.
will do, I created it yesterday via pnpm create t4-app
, locally looks good
from t4-app.
Updated to latest version from main
branch, so probably there's some problem during building or deployment/cf configuration
https://zeus-3v5.pages.dev
from t4-app.
Make sure your CF deployment is set to node 18!
from t4-app.
Strange, recreated cf project from scratch with NODE_VERSION 18 env var, but still same problem https://zeus-web.pages.dev
from t4-app.
After adding TAMAGUI_TARGET=web
it finally works :)
@timothymiller thanks for help!
"dev": "TAMAGUI_TARGET=web pnpm with-env next dev",
"build": "TAMAGUI_TARGET=web pnpm with-env next build",
"start": "TAMAGUI_TARGET=web pnpm with-env next start",
from t4-app.
Related Issues (20)
- CORS error because of autogenerated .dev.vars file HOT 2
- Confusion with T3 HOT 10
- Tamagui web error: `Looking for theme: displayName` HOT 2
- great work HOT 2
- NextJs env variables missing in .env.example for localhost (vs PUBLIC_ variables) HOT 2
- Authentification issue on Safari HOT 3
- Images not working with expo due to solito-image HOT 4
- Expo config env variables HOT 2
- Provide watermelonDB example HOT 2
- bun web fails HOT 4
- Lucia branch: ERROR: Failed to produce a Cloudflare Pages build from the project. The route `/oauth/[provider]` was not configured to run with the Edge Runtime HOT 15
- Lucia branch: Check `sendResult` and forward `PUBLIC_SUPPORT_EMAIL` and `RESEND_API_KEY` vars to CF deployment HOT 1
- Lucia branch: After pw reset, redirect to /login is 404, it should be /sign-in HOT 1
- Lucia branch: Suggestion: Send email after successful sign up HOT 4
- Lucia branch: Suggestion: When pw reset code is invalid, show this error as soon as the site loads, don't wait until user tries to enter a new pw HOT 1
- tRPC not working ion Next.js app HOT 1
- Expo is starting to support MacOS, is Tauri still going to be need (for MacOS)? HOT 2
- error in CONFIGURE_EXPO_UPDATES phase HOT 2
- supabaseUrl is required HOT 2
- Tamagui: unable to launch web app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t4-app.