content icon indicating copy to clipboard operation
content copied to clipboard

Dependency warning in workspace+pnpm environment.

Open akiot-b opened this issue 1 year ago • 0 comments

Environment


  • Operating System: Linux
  • Node Version: v18.17.0
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: -
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Reproduction

https://github.com/akiot-b/issue-20231018.git

Describe the bug

nuxt no longer requires 'shamefully-hoist=true' in workspace+pnpm as of 3.7.4. Currently, @nuxt/content warns without 'shamefully-hoist'.

pnpm support without --shamefully-hoist #14146

By the way, if you use npm, you will not get any warning.

pnpm install
cd nuxt
pnpm dev
 WARN  Failed to resolve dependency: slugify, present in 'optimizeDeps.include'      
 WARN  Failed to resolve dependency: is-buffer, present in 'optimizeDeps.include'    
 WARN  Failed to resolve dependency: debug, present in 'optimizeDeps.include'        
 WARN  Failed to resolve dependency: flat, present in 'optimizeDeps.include'         
 WARN  Failed to resolve dependency: node-emoji, present in 'optimizeDeps.include'   
 WARN  Failed to resolve dependency: extend, present in 'optimizeDeps.include'       
 WARN  Failed to resolve dependency: hast-util-raw, present in 'optimizeDeps.include'   

Additional context

No response

Logs

No response

akiot-b avatar Oct 18 '23 08:10 akiot-b