Comments (8)
We did roll some changes to the module resolution logic for edge functions today (to address #94). Let me know your Vercel team name and I can turn the flag for that off for you. But also, it would be helpful if you could share a reproduction so that I can take a closer look.
from remix.
Ok, I disabled the flag for your team for now. Sharing the team name publicly is fine, but feel free to delete if you prefer.
from remix.
We did roll some changes to the module resolution logic for edge functions today (to address #94). Let me know your Vercel team name and I can turn the flag for that off for you. But also, it would be helpful if you could share a reproduction so that I can take a closer look.
@TooTallNate My team name is: "sublime" (is ok to share it or should I remove this comment?)
Thank you for the help! I'll try to create a reproduction
from remix.
Ok, I disabled the flag for your team for now. Sharing the team name publicly is fine, but feel free to delete if you prefer.
Awesome, deployments are working fine again 🥳
from remix.
@TooTallNate My team was also affected by this yesterday. I've created a repro project which uses the latest Remix vercel preset. In my case, the openai
packages was failing to resolve modules for the edge runtime.
I was able to resolve this specific issue by manually importing "openai/shims/web" in my edge function. Importing that package has some implications for module resolution. This may be specific to the openai
package, but hoping it can point your team to the solution.
This solution seems to work for now, so no action requested on your end. Can you provide more details about the updated module resolution strategy?
from remix.
@TooTallNate My team was also affected by this yesterday. I've created a repro project which uses the latest Remix vercel preset. In my case, the
openai
packages was failing to resolve modules for the edge runtime.I was able to resolve this specific issue by manually importing "openai/shims/web" in my edge function. Importing that package has some implications for module resolution. This may be specific to the
openai
package, but hoping it can point your team to the solution.This solution seems to work for now, so no action requested on your end. Can you provide more details about the updated module resolution strategy?
@TooTallNate Despite a passing build, my proposed solution continues to crash at runtime. Please opt out the team teaching-lab
from this feature.
from remix.
@peterje The flag has been turned off globally at this point. If you're still having issues, it's unrelated to the change related to this issue.
from remix.
@peterje The flag has been turned off globally at this point. If you're still having issues, it's unrelated to the change related to this issue.
Indeed I was...thanks for the info.
from remix.
Related Issues (20)
- vercelPreset changes build directory structure, breaking start script from remix docs HOT 6
- vercel feature flags HOT 7
- how can I gracefully handle FUNCTION_INVOCATION_TIMEOUT HOT 2
- `vercel build` fails in template HOT 2
- Custom entry.server with Vite not possible HOT 3
- Root route imports are always bundled for edge HOT 1
- Merge Conflict ❌
- 2.9.1? HOT 3
- `TypeError: headers.getSetCookie is not a function` HOT 4
- Merge Conflict ❌
- Deployment to Vercel causes a build panic when using manual route configuration #9431 HOT 1
- need `getLoadContext` HOT 8
- Merge Conflict ❌
- Cannot deploy remix-utils to edge HOT 5
- Merge Conflict ❌
- maxDuration does not work for remix + vite HOT 13
- [Remix + Vite] Trying to build production app failing (mixed client and server code) HOT 9
- Links have stopped working after deploy HOT 8
- using config export breaks HMR
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 remix.