Open streamlifehd opened 2 years ago
@streamlifehd you're in the wrong folder, make sure your terminal or whetever you used to open it it opened on something like hashlips_art_engine-main
.
you're in the wrong folder, make sure your terminal or whetever you used to open it it opened on something like
hashlips_art_engine-main
how
@streamlifehd how are you opening your terminal?
how are you opening your terminal?
with Visual Studio Code
@streamlifehd you could close visual studio and make sure you open the hashlips folder, which will look something like hashlips_art_engine-main
.
Error: Cannot find module 'D:\hashlips_art_engine-main\index.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
I have it
@streamlifehd try running cd hashlips_art_engine-main
first.
Error: Cannot find module 'D:\hashlips_art_engine-main\index.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
@streamlifehd did cd
give an error? You need to be in the same terminal after running it.
To see a list of supported npm commands, run: npm help PS D:\hashlips_art_engine-main> npm run cd npm ERR! Missing script: "cd" npm ERR! npm ERR! To see a list of scripts, run: npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\test\AppData\Local\npm-cache_logs\2022-11-11T16_11_41_557Z-debug.log
PS D:\hashlips_art_engine-main>
@streamlifehd I meant cd hashlips_art_engine-main
.
PS D:\hashlips_art_engine-main> npm cd hashlips_art_engine-main Unknown command: "cd"
To see a list of supported npm commands, run: npm help PS D:\hashlips_art_engine-main>
@streamlifehd there's no npm, it's just cd hashlips_art_engine-main
.
a cmdlet, function, script file, or executable program. Check the spelling of the name, or if the path is correct (if included), and repeat the process. In Line:1 Character:1
+ CategoryInfo: ObjectNotFound: (hashlips_art_engine-main:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId: CommandNotFoundException
@streamlifehd don't forget the cd
at the start.
D:\hashlips_art_engine-main>cd hashlips_art_engine-main The system can not find the path specified.
@streamlifehd ccould you paste the output of running Get-ChildItem
please.
D:\hashlips_art_engine-main>cd Get-ChildItem The system can not find the path specified.
@streamlifehd without the cd
.
D:\hashlips_art_engine-main>Get-ChildItem The Get-ChildItem command is either misspelled or could not be found.
@streamlifehd oh, you're in the standard terminal. What about runnig dir
instead.
d----- 11.11.2022 16:25 .vscode d----- 11.11.2022 16:10 mongo -a---- 11/11/2022 16:13 460 config.json -a---- 11/11/2022 16:10 1068 LICENSE -a---- 11/11/2022 17:02 7637 main.js -a---- 11/11/2022 16:26 549 package.json -a---- 11/11/2022 16:10 20 Procfile -a---- 2022-11-11 16:10 436 README.md -a---- 11/11/2022 16:10 1002 strings.json
@streamlifehd are you sure you're using hashlips?
where used
@streamlifehd what are you trying to do?
to start it
@streamlifehd to start what?
to fill the bot or what
@streamlifehd you're probably asking in the wrong place. Try reading the README.md
file.
Now or Press ^C at any time to quit. package name: (index)
Now or Press ^C at any time to quit. package name: (index)
@bolshoytoster
@streamlifehd it looks like it's running. If you have any issues you should open them on codeberg.
^C
means ctrl + c
.
index@1.3.3 start main.js
[main 2022-11-11T16:58:55.476Z] SyntaxError: Unexpected end of JSON input
at JSON.parse (
index@1.3.3 start main.js
[main 2022-11-11T16:59:07.895Z] SyntaxError: Unexpected end of JSON input
at JSON.parse (
index@1.3.3 start main.js
[main 2022-11-11T16:58:55.476Z] SyntaxError: Unexpected end of JSON input at JSON.parse () at u.doInit (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:45:15960) at async t.init (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:45:17063) at async Promise.all (index 1) at async Object.L [as settled] (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:21:23432) at async ke.initServices (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:85:7580) at async ke.startup (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:85:4882) [main 2022-11-11T16:58:55.980Z] T [Error]: Datei "c:\Users\test\AppData\Roaming\Code\User\globalStorage\storage.json" kann nicht gespeichert werden (Unknown (FileSystemError): Error: ENOSPC: no space left on device, at f.writeFile (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:38:20662) at async u.doSave (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:45:16705) { fileOperationResult: 11, options: undefined } PS D:\hashlips_art_engine-main> npm start
index@1.3.3 start main.js
[main 2022-11-11T16:59:07.895Z] SyntaxError: Unexpected end of JSON input at JSON.parse () at u.doInit (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:45:15960) at async t.init (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:45:17063) at async Promise.all (index 1) at async Object.L [as settled] (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:21:23432) at async ke.initServices (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:85:7580) at async ke.startup (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:85:4882) [main 2022-11-11T16:59:08.391Z] T [Error]: Datei "c:\Users\test\AppData\Roaming\Code\User\globalStorage\storage.json" kann nicht gespeichert werden (Unknown (FileSystemError): Error: ENOSPC: no space left on device, write). at f.writeFile (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:38:20662) at async u.doSave (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:45:16705) { fileOperationResult: 11, options: undefined
@bolshoytoster
@streamlifehd see the line
[main 2022-11-11T16:59:08.391Z] T [Error]: Datei "c:\Users\test\AppData\Roaming\Code\User\globalStorage\storage.json" kann nicht gespeichert werden (Unknown (FileSystemError): Error: ENOSPC: no space left on device,
specifically:
no space left on device
Make sure your C drive has space available.
what now
index@1.3.3 start main.js "dev"
@streamlifehd I don't know, since I don't know what you're using.
It looks like it's running though.
Help pls @bolshoytoster
I'm not sure why I've been mentioned in this specific issue in this repository. According to the following path and the mention I got, it seems you're using my modmail.
D:\discord-modmail-master\index.js
I'm sorry you're having issues with it. However, if this is directly related to the modmail itself in any way, you should create an issue on the correct repo...
Relating to this issue, what if you remove the token:
from that file and leave the token as-is?
@streamlifehd it looks like you're using this. It looks like you have to have your token.txt at the root of the project, instead of under venv/
like you have. You will probably also have to remove the token:
as Cyanic76 said.
Also @streamlifehd it seems the token you published here is valid. You should create a new one within your bot application and keep it secret.
@Cyanic76 Help me Error: Cannot find module 'D:\discord-modmail-master\index.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }