当我想使用纱线运行安可开发时为什么我有这个错误?当我想添加sass时,我得到警告“> sass-loader@6.0.7”有未满足的对等依赖“webpack@^2.0.0 || ^ 3.0.0 || ^ 4.0.0” . 但为什么 ? Symfony 4.我无法从github安装这个模块npm install --save child_process fork-ts-checker-webpack-plugin fs module net readline spdx-exceptions spdx-license-ids spdx-license-ids / deprecated

纱线运行安可开发

纱线运行v1.5.1 $ c:\ xampp \ htdocs \ dashboard \ Symfony \ pppp \ node_modules.bin \ encore dev运行webpack ...

错误09:48:38无法编译50个错误

找不到这些依赖项:

./node_modules/execa/index.js,./node_modules/execa/node_modules/cross-spawn/index.js中的

  • child_process和另外1个

  • fork-ts-checker-webpack-plugin in ./node_modules/@symfony/webpack-encore/lib/plugins/forked-ts-types.js

  • fs in ./node_modules/@symfony/webpack-encore/lib/WebpackConfig.js,./node_modules/@symfony/webpack-encore/lib/config/parse-runtime.js和另外35人
    _(webpack)/lib/NormalModule.js中的

  • 模块,(webpack)/lib/node/NodeTargetPlugin.js

  • net in ./node_modules/growly/lib/gntp.js,./node_modules/node-notifier/lib/checkGrowl.js
    000_ readline in ./node_modules/friendly-errors-webpack-plugin/src/output.js
    ./node_modules/spdx-expression-parse/scan.js中的

  • spdx-exceptions
    ./node_modules/spdx-correct/index.js,./node_modules/spdx-expression-parse/scan.js中的

  • spdx-license-ids

  • spdx-license-ids /弃用./node_modules/spdx-expression-parse/scan.js

要安装它们,您可以运行:npm install --save child_process fork-ts-checker-webpack-plugin fs module net readline spdx-exceptions spdx-license-ids spdx-license-ids / deprecated error发生意外错误:"Command failed. Exit code: 2 Command: C:\WINDOWS\system32\cmd.exe Arguments: /d /s /c c:\xampp\htdocs\dashboard\Symfony\pppp\ ode_modules.bin\encore dev Directory: c:\xampp\htdocs\dashboard\Symfony\pppp Output: " . info如果您认为这是一个错误,请使用"c:\xampp\htdocs\dashboard\Symfony\swisscar\yarn-error.log"中提供的信息打开错误报告 . info有关此命令的文档,请访问https://yarnpkg.com/en/docs/cli/run .