Vue cnpm install shows that all the modules are installed, but at run time many modules are not found.

clipboard.png

clipboard.png
but the error module is not found. There is more than this one. Even if I install this module and continue to run, there will still be other modules that can"t be found. All the time, many

Apr.30,2022

if you really install it, you have to go to the node_modules folder to see if there is this package


now it is not recommended to install using cnpm
it is recommended that yarn
or install a npm source management tool and then use npm to install
like this

npm i npm-yuan -g
npm-yuan to taobao // 
npm-yuan to npm // npm

there is part of the reason that packjson-lock.json may have blocked some of the installs you need to install. Delete it and try

Menu