Git Product home page Git Product logo

Comments (5)

sadmann7 avatar sadmann7 commented on August 27, 2024

Did you update packages?

I once got this when i updated packages

from skateshop.

ThiagoUnder avatar ThiagoUnder commented on August 27, 2024

Just did pnpm i
I saw now that there were both a package-lock and a pnpm-lock. Deleted node modules and package-lock and pnpm i again now I have

<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/dynamic-build.js for build dependencies failed at 'import(`file://${compiledConfigPath}`)'.
<w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/getConfig/index.js for build dependencies failed at 'import(`file://${modulePath}?x=${Date.now()}`)'.
<w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/generation/generate-dotpkg.js for build dependencies failed at 'import(filePathJoin(generatedPkgPath, 'generated', 'index.mjs'))'.
<w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'markdown-wasm/dist/markdown.node.js' in '/Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown'
<w> while resolving 'markdown-wasm/dist/markdown.node.js' in /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown as file
<w>  at resolve esm file markdown-wasm/dist/markdown.node.js
<w>  at file dependencies /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown/markdown.js
<w>  at file /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/markdown/markdown.js
<w>  at resolve esm file ./markdown/markdown.js
<w>  at file dependencies /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/index.js
<w>  at file /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/@[email protected][email protected]/node_modules/@contentlayer/core/dist/index.js
<w>  at resolve esm file @contentlayer/core
<w>  at file dependencies /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/plugin.js
<w>  at file /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/plugin.js
<w>  at resolve esm file ./plugin.js
<w>  at file dependencies /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/index.js
<w>  at file /Users/thiagoleobons/jul/repos/skateshop/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/next-contentlayer/dist/index.js
<w>  at resolve esm file next-contentlayer
<w>  at file dependencies /Users/thiagoleobons/jul/repos/skateshop/next.config.mjs
<w>  at file /Users/thiagoleobons/jul/repos/skateshop/next.config.mjs
<w>  at resolve commonjs /Users/thiagoleobons/jul/repos/skateshop/next.config.mjs

from skateshop.

sadmann7 avatar sadmann7 commented on August 27, 2024

Oh someone must have pushed their package.lock.json or me.

from skateshop.

sadmann7 avatar sadmann7 commented on August 27, 2024

This is a contentlayer error on the latest version.

contentlayerdev/contentlayer#506

Don't update contelayer and next-contentlayer until fixed

from skateshop.

ThiagoUnder avatar ThiagoUnder commented on August 27, 2024

This is a contentlayer error on the latest version.

contentlayerdev/contentlayer#506

Don't update contelayer and next-contentlayer until fixed

I made a comment there. The solution on the thread still throws an error for me when I run the dev server

from skateshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.