error /Users/huangbentai/Downloads/Github/OpenPromptStudio/node_modules/puppeteer-google-translate/node_modules/puppeteer: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /Users/huangbentai/Downloads/Github/OpenPromptStudio/node_modules/puppeteer-google-translate/node_modules/puppeteer
Output:
The chromium binary is not available for arm64.
If you are on Ubuntu, you can install with:
sudo apt install chromium
sudo apt install chromium-browser
/Users/huangbentai/Downloads/Github/OpenPromptStudio/node_modules/puppeteer-google-translate/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115
throw new Error();
^
Error
(base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install puppeteer
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vitejs/plugin-legacy@1.8.2
npm ERR! Found: vite@3.1.0
npm ERR! node_modules/vite
npm ERR! peer vite@">=2.0.0" from vite-plugin-html@3.2.0
npm ERR! node_modules/vite-plugin-html
npm ERR! dev vite-plugin-html@"3.2.0" from the root project
npm ERR! peer vite@">2.0.0-0" from vite-plugin-progress@0.0.6
npm ERR! node_modules/vite-plugin-progress
npm ERR! dev vite-plugin-progress@"^0.0.6" from the root project
npm ERR! 2 more (@vitejs/plugin-vue2, the root project)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^2.8.0" from @vitejs/plugin-legacy@1.8.2
npm ERR! node_modules/@vitejs/plugin-legacy
npm ERR! dev @vitejs/plugin-legacy@"1.8.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: vite@2.9.15
npm ERR! node_modules/vite
npm ERR! peer vite@"^2.8.0" from @vitejs/plugin-legacy@1.8.2
npm ERR! node_modules/@vitejs/plugin-legacy
npm ERR! dev @vitejs/plugin-legacy@"1.8.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/huangbentai/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_31_31_926Z-debug-0.log
(base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install puppeteer
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vitejs/plugin-legacy@2.8.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_33_00_260Z-debug-0.log
(base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vitejs/plugin-legacy@2.8.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_33_23_249Z-debug-0.log
(base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install --legacy-peer-deps
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vitejs/plugin-legacy@2.8.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_33_49_993Z-debug-0.log
error /Users/huangbentai/Downloads/Github/OpenPromptStudio/node_modules/puppeteer-google-translate/node_modules/puppeteer: Command failed. Exit code: 1 Command: node install.js Arguments: Directory: /Users/huangbentai/Downloads/Github/OpenPromptStudio/node_modules/puppeteer-google-translate/node_modules/puppeteer Output: The chromium binary is not available for arm64. If you are on Ubuntu, you can install with:
sudo apt install chromium
sudo apt install chromium-browser
/Users/huangbentai/Downloads/Github/OpenPromptStudio/node_modules/puppeteer-google-translate/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115 throw new Error(); ^
Error
(base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install puppeteer npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vitejs/plugin-legacy@1.8.2 npm ERR! Found: vite@3.1.0 npm ERR! node_modules/vite npm ERR! peer vite@">=2.0.0" from vite-plugin-html@3.2.0 npm ERR! node_modules/vite-plugin-html npm ERR! dev vite-plugin-html@"3.2.0" from the root project npm ERR! peer vite@">2.0.0-0" from vite-plugin-progress@0.0.6 npm ERR! node_modules/vite-plugin-progress npm ERR! dev vite-plugin-progress@"^0.0.6" from the root project npm ERR! 2 more (@vitejs/plugin-vue2, the root project) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vite@"^2.8.0" from @vitejs/plugin-legacy@1.8.2 npm ERR! node_modules/@vitejs/plugin-legacy npm ERR! dev @vitejs/plugin-legacy@"1.8.2" from the root project npm ERR! npm ERR! Conflicting peer dependency: vite@2.9.15 npm ERR! node_modules/vite npm ERR! peer vite@"^2.8.0" from @vitejs/plugin-legacy@1.8.2 npm ERR! node_modules/@vitejs/plugin-legacy npm ERR! dev @vitejs/plugin-legacy@"1.8.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /Users/huangbentai/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_31_31_926Z-debug-0.log (base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install puppeteer npm ERR! code ETARGET npm ERR! notarget No matching version found for @vitejs/plugin-legacy@2.8.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_33_00_260Z-debug-0.log (base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install
npm ERR! code ETARGET npm ERR! notarget No matching version found for @vitejs/plugin-legacy@2.8.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_33_23_249Z-debug-0.log (base) huangbentai@huangbentaideMacBook-Air OpenPromptStudio % npm install --legacy-peer-deps npm ERR! code ETARGET npm ERR! notarget No matching version found for @vitejs/plugin-legacy@2.8.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/huangbentai/.npm/_logs/2023-04-09T04_33_49_993Z-debug-0.log