错误代码提示片段

To install it, you can run: npm install --save !!vue-style-loader!css-loader?

解决方案

npm install stylus stylus-loader style-loader --save-dev

出现下面代码 表示安装成功了


C:\Users\User\Desktop\my.serve>npm install stylus stylus-loader style-loader --save-dev
npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ stylus-loader@3.0.2
+ stylus@0.54.5
+ style-loader@0.23.1
added 13 packages from 51 contributors and audited 30856 packages in 34.169s
found 8 vulnerabilities (1 low, 1 moderate, 5 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

C:\Users\User\Desktop\my.serve>
Logo

前往低代码交流专区

更多推荐