首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ubuntu 16.04 nodejs v4.2.6 npm 3.5.2上安装web-ext后无法运行addon

在ubuntu 16.04 nodejs v4.2.6 npm 3.5.2上安装web-ext后无法运行addon
EN

Stack Overflow用户
提问于 2018-10-23 18:33:10
回答 1查看 61关注 0票数 0

在安装web-ext时,我在安装和安装过程中得到了以下两条消息:

代码语言:javascript
复制
npm WARN optional Skipping failed optional dependency /web-ext/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4

在尝试用web-ext run开始注释之后,我得到了以下消息

(/usr/local/lib/node_modules/web-ext/dist/webpack:/src/util/file-exists.js:24:42) at _callee$ (/usr/local/lib/node_modules/web-ext/dist/webpack:/src/util/file-exists.js:28:11) at tryCatch (/usr/local/lib/node_modules/web-ext/node_modules/regenerator-:无法读取未定义at fileIsReadable R_OK的属性“R_OK”运行时/运行时.62:62:40)在GeneratorFunctionPrototype.prototype.(anonymous函数的GeneratorFunctionPrototype.invoke invoke ) as next在/usr/local/lib/node_modules/web-ext/dist/webpack:/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:1的步骤新承诺(/usr/local/lib/node_modules/web-ext/dist/webpack:/node_modules/core-js/library/modules/es6.promise.js:177:1) at /usr/local/lib/node_modules/web-ext/dist/webpack:/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:1 at fileExists (/usr/local/lib/node_modules/web-ext/dist/web-ext.js:13002:17)

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-10-27 23:35:10

至少更新到节点的最新v6。我建议您使用>= v8,因为对v6的支持将在2019年结束,您不能使用异步/等待。(https://github.com/nodejs/Release#release-schedule)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52955726

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档