javascript - ReferenceError:未定义原始
问题描述
当我使用“aws-s3-zipper”时出现此错误。
aws-s3-zipper:1.3.2,节点:v14.15.3,npm:6.14.9
ReferenceError: primordials is not defined
at fs.js:45:5
at req_ (/home/aswin/varthana/varthana-sourcing/sourcing-web-backend/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/aswin/varthana/varthana-sourcing/sourcing-web-backend/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/home/aswin/varthana/varthana-sourcing/sourcing-web-backend/node_modules/aws-s3-zipper/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
解决方案
推荐阅读
- android - StartActivityForResult 使用 Room、Coroutine 和 ViewModel 调用了两次
- python - ALSA - 无法获取 CTL elem 的信息
- python - 如何解决一维数据拟合不佳的问题?
- node.js - 如何检索邮递员以快递方式发送的表单数据?
- python - 为什么 cv2.line 不能就地绘制 1 通道 numpy 数组切片?
- java - android.os.TransactionTooLargeException; 在选项卡之间滚动并打开新活动后数据包大小 N 字节
- javascript - 部署时 lightbox2 模态不显示图像的问题
- javascript - Html & JS 单击时将图像旋转 90 度
- ansible - Ansible:将文件从本地复制到远程-“AttributeError:'dict'对象没有属性'endswith'”
- python - Plotnine 中的“无法评估‘颜色’映射”错误