Comments (5)
Thanks for the great reproduction, makes it much easier to figure out where exactly the problem is 🙏
Did some digging and found that it's specifically require.resolve('@acme/ui')
in tailwind.cjs
, which is the Tailwind config that is imported in tailwind.config.js
. Must be something related to the way that the postcss loader is executed.
from next.js.
Thanks for having a look!
I've stripped back the reprex even further to remove Tailwind and PostCSS.
The error seems to originate on line 22 of image-response.ts
but I think the actual issue is outside of next.js and somewhere between (p)npm/turbopack/tsconfig failing to find a hoisted node_modules
from next.js.
Possibly related? #2783
from next.js.
Same issue here, the only difference is I use npm
Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
from next.js.
Another thought, webpack adds the alias "'@vercel/og$': 'next/dist/server/og/image-response'" not sure if turbopack has an equivalent?
from next.js.
Related Issues (20)
- Warning about missing sharp package with sharp^0.33
- Turbopack: --turbo couldn't dayjs molude resolution within cal-heatmap library. HOT 2
- Writing gzipped data to response stream doesn't write content HOT 1
- Turbopack imports a json file instead of module
- Invalid URL in middleware rewrite from edge runtime server action
- Turbopack: Failed to compile (turbo) with (react-pdf) HOT 1
- `Request` object behaves differently in fetch HOT 7
- navigating back from multiple intercepted route breaks routing
- Turbopack: Unable to load SVG. Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
- Middleware added Nonce attributes missing from TypeScript production builds
- typedRoutes don't recognize parameter on rewritten url if preceded by path character
- Github actions: Error: Page "/logs/publish/[id]" is missing "generateStaticParams()" so it cannot be used with "output: export" config. HOT 1
- Next 14 shows flicker with external React Native components on web
- Preflight cache middleware opt-out not working for rewrite of dynamic routes
- [Turbopack] [Next 15 RC] Cannot resolve exported paths from `@skeletonlabs/skeleton@next` HOT 1
- redirect in NextJS config doesn't populate param in `destination` more than once
- The Edge Function "middleware" size is 1.01 MB and your plan size limit is 1 MB. Though the file is 173kb
- Subresource Integrity (SRI) not working
- global-error.tsx doesn't work next.js 14+
- [Next 15 RC] create-next-app --empty with tw and src dir has wrong content path HOT 2
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 next.js.