Bug caused by different sources of npm cnpm installation packages

nuxt project, the package source installed by cnpm is used for development, and the package source installed by npm is used on the server when
is launched. It is found that the components are missing after rendering. When WTF
tab is switched, it will display normally and there is a problem refreshing the current page

clipboard.png

clipboard.png

Mar.15,2021

. Damn it, it's package.lock.json 's fault. Just delete this file and re-install it


you are also fooled by this thing, claw

Menu