New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Error: Cannot find module 'common-tags' #549
Comments
Hi @rburgst , Thanks for opening an issue. Since you're using You can do this by creating (or updating if it already exists) an .npmrc file in the root of your project and add
Let us know if that resolves things for you and if not we'll take another look |
Hi. Actually I am using yarn2 with plug and play (pnp) |
now, I tried switching to pnpm and added the
Note that this is a gatsby v5 project on pnpm 7.7.0 and node 18. |
Note that I switched back to yarn berry and set the node version via |
Ah ok, sorry about the confusion on my end regarding the package manager - I thought it might've been a typo 😅 Thanks for trying |
Hi @rburgst , Had a chat with the team and have some more info for you: Netlify currently doesn't support yarn PnP when plugins are part of a site build (though we're looking into introducing full support) so we won't be looking into the original issue further and I'll be closing this Github issue. (( This is my edit that I forgot to add in the original message - officially we recommend using the Regarding the error with Not sure if this was missing from the project that was leading to the |
Summary
trying to build a gatsby-v5 site with node-18 fails with
Note that I am using yarn2 with pnp.
Steps to reproduce
netlify.toml
yarn berry
3.3.24
A link to a reproduction repository
No response
Plugin version
3.4.8
More information about your build
netlify.toml
)What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
Configuration
`gatsby-config.js` and options
Environment
Environment
Gatsby info
gatsby info
Your _redirects file
`_redirects`
# Paste content of your `_redirects` file here
Builds logs (or link to your logs)
Build logs
Function logs
Function logs
The text was updated successfully, but these errors were encountered: