我只想将“node-opcua”导入我的项目,但它给我的错误如下:
WARNING in ./node_modules/node-opcua-pki/node_modules/yargs/index.js 11:37-44
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
最佳答案
您正在收到警告。 yargs 开发人员建议忽略警告: https://github.com/yargs/yargs/blob/v15.x.x/docs/webpack.md 添加“warningsFilter: [/node_modules/yargs/]”到你的 webpack 配置
关于javascript - 如何将node-opcua导入到项目中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59027953/