You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo appears to be dead, but I would highly suggest to not use contentlayer. That project is also unmaintained as the company that was building it was acquired by Netlify and they have deprioritized it completely.
This repo appears to be dead, but I would highly suggest to not use contentlayer. That project is also unmaintained as the company that was building it was acquired by Netlify and they have deprioritized it completely.
Hello @nickzelei, i know about this, I developed the Shadcn Taxonomy template as a base for my project and stopped working on it due to other tasks, now when I have the time to resume developing it, it seems contentlayer would not be supported by NextJS 14 and even has an issue with Node v20. Do you know any alternative to help transition this Taxonomy Contentlayer? Is @next/mdx suitable?
`pnpm dev
[1] - ready started server on 0.0.0.0:3000, url: http://localhost:3000
[1] - info Loaded env from /Users/neo/Downloads/app.dominandocripto.com - cópia/.env.local
[1] - info Loaded env from /Users/neo/Downloads/app.dominandocripto.com - cópia/.env
[0] Contentlayer config change detected. Updating type definitions and data...
[0] Generated 13 documents in .contentlayer
[1] - warn You have enabled experimental feature (serverComponentsExternalPackages) in next.config.mjs.
[1] - warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
[1]
[1] Contentlayer config change detected. Updating type definitions and data...
[1] Generated 13 documents in .contentlayer
[1] - event compiled client and server successfully in 1232 ms (311 modules)
[1] - wait compiling...
[1] - event compiled successfully in 30 ms (285 modules)
[1] - wait compiling...
[1] - event compiled successfully in 10 ms (26 modules)
[1] - wait compiling...
[1] - event compiled client and server successfully in 196 ms (311 modules)
[1] [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/dynamic-build.js for build dependencies failed at 'import(
file://${compiledConfigPath}
)'.[1] Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[1] [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/dynamic-build.js for build dependencies failed at 'import(
file://${compiledConfigPath}
)'.[1] Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[1] [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/getConfig/index.js for build dependencies failed at 'import(
file://${modulePath}?x=${Date.now()}
)'.[1] Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[1] [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'markdown-wasm/dist/markdown.node.js' in '/Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown'
[1] while resolving 'markdown-wasm/dist/markdown.node.js' in /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown as file
[1] at resolve esm file markdown-wasm/dist/markdown.node.js
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown/markdown.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown/markdown.js
[1] at resolve esm file ./markdown/markdown.js
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/index.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/index.js
[1] at resolve esm file @contentlayer/core
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/plugin.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/plugin.js
[1] at resolve esm file ./plugin.js
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/index.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/index.js
[1] at resolve esm file next-contentlayer
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/next.config.mjs
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/next.config.mjs
[1] at resolve commonjs /Users/neo/Downloads/app.dominandocripto.com - cópia/next.config.mjs
[1] [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/getConfig/index.js for build dependencies failed at 'import(
file://${modulePath}?x=${Date.now()}
)'.[1] Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[1] [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'markdown-wasm/dist/markdown.node.js' in '/Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown'
[1] while resolving 'markdown-wasm/dist/markdown.node.js' in /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown as file
[1] at resolve esm file markdown-wasm/dist/markdown.node.js
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown/markdown.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown/markdown.js
[1] at resolve esm file ./markdown/markdown.js
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/index.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/@contentlayer[email protected][email protected]/node_modules/@contentlayer/core/dist/index.js
[1] at resolve esm file @contentlayer/core
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/plugin.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/plugin.js
[1] at resolve esm file ./plugin.js
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/index.js
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/index.js
[1] at resolve esm file next-contentlayer
[1] at file dependencies /Users/neo/Downloads/app.dominandocripto.com - cópia/next.config.mjs
[1] at file /Users/neo/Downloads/app.dominandocripto.com - cópia/next.config.mjs
[1] at resolve commonjs /Users/neo/Downloads/app.dominandocripto.com - cópia/next.config.mjs`
my package.json:
"scripts": { "dev": "concurrently \"contentlayer dev\" \"next dev\"", "build": "contentlayer build && next build", "turbo": "next dev --turbo", "start": "next start", "lint": "next lint", "preview": "next build && next start", "postinstall": "prisma generate" }, "dependencies": { "@editorjs/code": "^2.8.0", "@editorjs/editorjs": "^2.26.5", "@editorjs/embed": "^2.5.3", "@editorjs/header": "^2.7.0", "@editorjs/inline-code": "^1.4.0", "@editorjs/link": "^2.5.0", "@editorjs/list": "^1.8.0", "@editorjs/paragraph": "^2.9.0", "@editorjs/table": "^2.2.1", "@hookform/resolvers": "^3.1.0", "@next-auth/prisma-adapter": "^1.0.6", "@prisma/client": "^4.13.0", "@radix-ui/react-accessible-icon": "^1.0.2", "@radix-ui/react-accordion": "^1.1.1", "@radix-ui/react-alert-dialog": "^1.0.3", "@radix-ui/react-aspect-ratio": "^1.0.2", "@radix-ui/react-avatar": "^1.0.2", "@radix-ui/react-checkbox": "^1.0.3", "@radix-ui/react-collapsible": "^1.0.2", "@radix-ui/react-context-menu": "^2.1.3", "@radix-ui/react-dialog": "^1.0.3", "@radix-ui/react-dropdown-menu": "^2.0.4", "@radix-ui/react-hover-card": "^1.0.5", "@radix-ui/react-label": "^2.0.1", "@radix-ui/react-menubar": "^1.0.2", "@radix-ui/react-navigation-menu": "^1.1.2", "@radix-ui/react-popover": "^1.0.5", "@radix-ui/react-progress": "^1.0.2", "@radix-ui/react-radio-group": "^1.1.2", "@radix-ui/react-scroll-area": "^1.0.3", "@radix-ui/react-select": "^1.2.1", "@radix-ui/react-separator": "^1.0.2", "@radix-ui/react-slider": "^1.1.1", "@radix-ui/react-slot": "^1.0.1", "@radix-ui/react-switch": "^1.0.2", "@radix-ui/react-tabs": "^1.0.3", "@radix-ui/react-toast": "^1.1.3", "@radix-ui/react-toggle": "^1.0.2", "@radix-ui/react-toggle-group": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.5", "@t3-oss/env-nextjs": "^0.2.2", "@typescript-eslint/parser": "^5.59.0", "@vercel/analytics": "^1.0.0", "@vercel/og": "^0.0.21", "class-variance-authority": "^0.4.0", "clsx": "^1.2.1", "cmdk": "^0.1.22", "concurrently": "^8.0.1", "contentlayer": "^0.3.2", "date-fns": "^2.29.3", "lucide-react": "^0.92.0", "next": "13.4.1", "next-auth": "4.22.1", "next-contentlayer": "^0.3.2", "next-themes": "^0.2.1", "nodemailer": "^6.9.1", "postmark": "^3.0.15", "prop-types": "^15.8.1", "react": "^18.2.0", "react-day-picker": "^8.7.1", "react-dom": "^18.2.0", "react-editor-js": "^2.1.0", "react-hook-form": "^7.43.9", "react-textarea-autosize": "^8.4.1", "sharp": "^0.31.3", "shiki": "^0.11.1", "stripe": "^11.18.0", "tailwind-merge": "^1.12.0", "tailwindcss-animate": "^1.0.5", "zod": "^3.21.4" }, "devDependencies": { "@commitlint/cli": "^17.6.1", "@commitlint/config-conventional": "^17.6.1", "@ianvs/prettier-plugin-sort-imports": "^3.7.2", "@tailwindcss/line-clamp": "^0.4.4", "@tailwindcss/typography": "^0.5.9", "@types/node": "^18.16.0", "@types/react": "18.0.15", "@types/react-dom": "18.0.6", "autoprefixer": "^10.4.14", "eslint": "^8.39.0", "eslint-config-next": "13.3.1", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-tailwindcss": "^3.11.0", "husky": "^8.0.3", "mdast-util-toc": "^6.1.1", "postcss": "^8.4.23", "prettier": "^2.8.8", "prettier-plugin-tailwindcss": "^0.1.13", "pretty-quick": "^3.1.3", "prisma": "^4.13.0", "rehype": "^12.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-pretty-code": "^0.9.5", "rehype-slug": "^5.1.0", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "tailwindcss": "^3.3.1", "typescript": "4.7.4", "unist-util-visit": "^4.1.2" } }
The text was updated successfully, but these errors were encountered: