HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.17k stars 4.3k forks source link

Help me #1442

Open streamlifehd opened 1 year ago

streamlifehd commented 1 year ago

@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: [] }

bolshoytoster commented 1 year 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.

streamlifehd commented 1 year ago

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

bolshoytoster commented 1 year ago

@streamlifehd how are you opening your terminal?

streamlifehd commented 1 year ago

how are you opening your terminal?

with Visual Studio Code

bolshoytoster commented 1 year ago

@streamlifehd you could close visual studio and make sure you open the hashlips folder, which will look something like hashlips_art_engine-main.

streamlifehd commented 1 year ago

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

bolshoytoster commented 1 year ago

@streamlifehd try running cd hashlips_art_engine-main first.

streamlifehd commented 1 year ago

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: [] }

bolshoytoster commented 1 year ago

@streamlifehd did cd give an error? You need to be in the same terminal after running it.

streamlifehd commented 1 year ago

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>

bolshoytoster commented 1 year ago

@streamlifehd I meant cd hashlips_art_engine-main.

streamlifehd commented 1 year ago

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>

bolshoytoster commented 1 year ago

@streamlifehd there's no npm, it's just cd hashlips_art_engine-main.

streamlifehd commented 1 year ago

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

bolshoytoster commented 1 year ago

@streamlifehd don't forget the cd at the start.

streamlifehd commented 1 year ago

D:\hashlips_art_engine-main>cd hashlips_art_engine-main The system can not find the path specified.

bolshoytoster commented 1 year ago

@streamlifehd ccould you paste the output of running Get-ChildItem please.

streamlifehd commented 1 year ago

D:\hashlips_art_engine-main>cd Get-ChildItem The system can not find the path specified.

bolshoytoster commented 1 year ago

@streamlifehd without the cd.

streamlifehd commented 1 year ago

D:\hashlips_art_engine-main>Get-ChildItem The Get-ChildItem command is either misspelled or could not be found.

bolshoytoster commented 1 year ago

@streamlifehd oh, you're in the standard terminal. What about runnig dir instead.

streamlifehd commented 1 year ago

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

bolshoytoster commented 1 year ago

@streamlifehd are you sure you're using hashlips?

streamlifehd commented 1 year ago

where used

bolshoytoster commented 1 year ago

@streamlifehd what are you trying to do?

streamlifehd commented 1 year ago

to start it

bolshoytoster commented 1 year ago

@streamlifehd to start what?

streamlifehd commented 1 year ago

to fill the bot or what

bolshoytoster commented 1 year ago

@streamlifehd you're probably asking in the wrong place. Try reading the README.md file.

streamlifehd commented 1 year ago

Now or Press ^C at any time to quit. package name: (index)

streamlifehd commented 1 year ago

Now or Press ^C at any time to quit. package name: (index)

@bolshoytoster

bolshoytoster commented 1 year ago

@streamlifehd it looks like it's running. If you have any issues you should open them on codeberg.

^C means ctrl + c.

streamlifehd commented 1 year ago

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

streamlifehd commented 1 year ago

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

bolshoytoster commented 1 year ago

@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.

streamlifehd commented 1 year ago

what now

index@1.3.3 start main.js "dev"

bolshoytoster commented 1 year ago

@streamlifehd I don't know, since I don't know what you're using.

It looks like it's running though.

streamlifehd commented 1 year ago

Discord-Moderation-Bot-master – D__Discord-Moderation-Bot-master_venv_tokens txt 12 11 2022 17_44_36 Help pls @bolshoytoster

Cyanic76 commented 1 year ago

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?

bolshoytoster commented 1 year ago

@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.

Cyanic76 commented 1 year ago

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.