Closed Numbenj closed 2 years ago
Have you followed the run
instruction on README?
Have you followed the
run
instruction on README?
Yes i did when i use npm start
DiscordStream@1.0.0 start node main.js
node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module 'dotenv' Require stack:
Can you confirm the dotenv
module is installed?
Can you confirm the
dotenv
module is installed?
I think so? When i use npm i dotenv npm install dotenv npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! Exit handler never called!
npm ERR! This is an error with npm itself. Please report this error at: npm ERR! https://github.com/npm/cli/issues
npm ERR! A complete log of this run can be found in: npm ERR! /data/data/com.termux/files/home/.npm/_logs/2022-05-10T13_14_26_452Z-debug-0.log
What else i should do? Using termux
I recommend using ubuntu
I recommend using ubuntu
Rn im with android and termux is a linux idk why this dotenv error showing..
I can help you only with ubuntu, They are both Linux but not only the arch might be different also the pre-installed programs might not be the same.
I can help you only with ubuntu, They are both Linux but not only the arch might be different also the pre-installed programs might not be the same.
Ubunto not in android ight?
I didn't understand, I believe you can set up the bot by checking the instruction and following other issues.
$ bash main.js main.js: line 1: syntax error near unexpected token
'dotenv'' main.js: line 1:
require('dotenv').config()'Hello can you guys help me with this what is wrong and how i can fix this thanks