• Archives
  • All Categories
  • All Tags

npm

2 articles

404 adobe-xd app开发 bbs centos curl dart discourse ditto dns docker fastjson flame flutter flutter-web fork git github hexo homebrew idea jar java json just-for-fun kotlin linux macos map maven microsoft应用商店 minecraft mybatis mybatis-plus mysql nginx node npm null nvm object php pip pr python react spring springboot sql stack-overflow swagger ubuntu unicode vim vue win10 windows wordpress yum 上线准备 书籍资源 关联查询 出生日期 前端 博客排版 后端 国内加速 国际化 图像 字段 字符编码 字符转义 容器 常用操作 常用组件 常识 序列化 开源 快速开发 技术书籍 搜狗 支付宝 效率 教程 数据库 文件编辑 时区 极客用语 毛玻璃 游戏开发 环境部署 生日 空格 缓存 网络配置 访问加速 词库 踩坑 输入法 运维 闲鱼 阿里巴巴 项目信息
images/default4.jpg

ERROR: Could not find browser revision

Wednesday, Dec 16, 2020

在使用npm进行开发时, 出现了报错 `... PuppetPuppeteerBridge start() exception: Error: Could not find browser revision 818858. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. ...` 解决方案: 删除项目目录中的node_modules文件 重新运行npm install
1 minute read
images/default4.jpg

解决NVM报错:“nvm is not compatible with the npm config "prefix" option...”

Saturday, Aug 15, 2020

今天在MacOS上尝试使用NVM切换node版本时出现了如下报错: ``nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local/Cellar/nvm/0.35.3/versions/node/v10.21.0" Run `npm config delete prefix` or `nvm use --delete-prefix v10.21.0` to unset it.`` 本篇文章就来记录下解决方案。 先决条件 掌握终端命令行基本用法 掌握node,npm基本概念 本篇文章的环境: 环境 版本 MacOS Catalina 10.15.5 nvm 0.35.3 node v14.6.0 npm 6.14.7 解决方案 解决方案非常简单。只需在终端中依次输入以下命令即可: `npm config delete prefix` `npm config set prefix $NVM_DIR/versions/node/v6.11.1` Credit nvm is not compatible with the npm config “prefix” option
1 minute read

© 2025 阿航的技术小站

蜀ICP备2022014599号-1

© 2025 阿航的技术小站

蜀ICP备2022014599号-1