Lososiik / Token-Generator

Free working token generator in JavaScript
54 stars 49 forks source link

When i try to node index.js it gives this error #1

Open R3XAS opened 2 years ago

R3XAS commented 2 years ago

node:internal/modules/cjs/loader:933 const err = new Error(message); ^

Error: Cannot find module 'prompt-sync' Require stack:

Node.js v17.1.0

pizzalover32 commented 2 years ago

npm install prompt-sync

eboujlal commented 2 years ago

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

002sans commented 2 years ago

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