Open R3XAS opened 2 years ago
npm install prompt-sync
create a file called package.json
pase this code there :
{ "name": "tokengen", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "@cliqz/adblocker-puppeteer": "^1.23.2", "cross-fetch": "^3.1.4", "prompt-sync": "^4.2.0", "puppeteer-extra-plugin-recaptcha": "^3.5.0", "puppeteer-extra-plugin-stealth": "^2.9.0", "unique-names-generator": "^4.6.0" } }
then run : npm install
then run node index.js
execute this:
npm i @cliqz/adblocker-puppeteer cross-fetch prompt-sync puppeteer-extra-plugin-recaptcha puppeteer-extra-plugin-stealth unique-names-generator node-bash-title colors puppeteer-extra puppeteer-core puppeteer
node:internal/modules/cjs/loader:933 const err = new Error(message); ^
Error: Cannot find module 'prompt-sync' Require stack:
Node.js v17.1.0