Open remluben opened 4 months ago
Did you use shamefully-hoist=true
in .npmrc
? If not, try to add shamefully-hoist=true
to .npmrc
Hi @farnabaz, many thanks for your feedback. ✌️
I will review our setup and give your suggestions a try asap.
I will let you know about my findings.
Kind regards, Benjamin
Environment
Reproduction
@nuxt/content
package in your nuxt project in dependencies (not dev)"@nuxt/content": "^2.12.1",
npm i --omit=dev
npm run dev
ornpm run build
Cannot find package 'github-slugger' imported from /some/path/here/index.mjs
Describe the bug
When installinging dependencies without dev-dependencies using
--omit=dev
the@nuxt/content
seems to miss dependencies togithub-slugger
.Important note: If you install all dependencies (including dev) by using
npm i
everything works as expected.Additional context
No response
Logs