0
点赞
收藏
分享

微信扫一扫

Java并发编程之锁的艺术:面试与实战指南(四)

棒锤_45f2 2024-05-11 阅读 8

Node.js v20.12.2版本执行npm run dev 报openssl 错误2024最新修复方案

故障描述

ERROR SyntaxError: missing ) after argument list
C:\Users\xxx\Documents\workspace\WebstormProjects\xxxx\node_modules\webpack\lib\util\createHash.js:135
            return new BulkUpdateDecorator(require("crypto").npm run decreateHash(algorithm));
                                     ^^^
SyntaxError: missing ) after argument list
  at internalCompileFunction (node:internal/vm:128:18)
  at wrapSafe (node:internal/modules/cjs/loader:1280:20)
  at Module._compile (node:internal/modules/cjs/loader:1332:27)
  at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
  at Module.load (node:internal/modules/cjs/loader:1206:32)
  at Module._load (node:internal/modules/cjs/loader:1022:12)
  at Module.require (node:internal/modules/cjs/loader:1231:19)
  at require (node:internal/modules/helpers:179:18)
  at Object.<anonymous> (C:\Users\xxx\Documents\workspace\WebstormProjects\xxx\node_modules\webpack\lib\Compilation.js:32:20)
  at Module._compile (node:internal/modules/cjs/loader:1369:14)

修复方案

卸载之前的webpack依赖

npm uninstall webpack

重新安装依赖webpack依赖

npm install webpack
举报

相关推荐

0 条评论