Vue cnpm install problem

Company project,
1 minute node version 8.1.1, using cnpm install to keep reporting that css-loader does not exist, but there is already css-loader? in my package.json.
2, colleague node 8.9.4 does not report errors with cnpm install and can be compiled successfully;
cnpm version is the same 5.2.0

I wanted to install the same version of node as my colleagues. But there is no suitable way to consult the boss.

Mar.20,2021

you can install css-loader separately without it. This problem should be caused by different dependency environments.

or simply and rudely, uninstall node and install your colleague's version

Menu