timlrx / contentlayer2

Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
https://contentlayer.dev
MIT License
153 stars 11 forks source link

could not find a copy of esbuild #32

Closed hpsoar closed 3 weeks ago

hpsoar commented 1 month ago

An unexpected error occurred: "could not find a copy of esbuild to link in /Users/roger/app/shadcn-ui/node_modules/@contentlayer2/core/node_modules".

contentlayer2 version 0.5.0

(base) ➜ www git:(main) ✗ esbuild --version 0.23.0

timlrx commented 1 month ago

esbuild is a peer dependency and has to be installed separately. If you have already done that, let me know if you are using contentlayer standalone or with next js and if you could include a link to the repo even better. Thanks