-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after 'node main.js'. #5
Comments
The log shows that it cannot find the Thanks for the feedback. I will make it even better in the future! 🙂 |
It can be installed normally in the system directory, but an error will be reported in the project directory (Google translation) C:\WINDOWS\system32>npm install dotenv I:\aivtuber\AIVTuber-main\TTS>npm install dotenv npm ERR! A complete log of this run can be found in: |
#This error message appears to be related to the
To resolve this issue, there are a few potential steps that could be taken:
I think this issue is similar to #4, or you can check out Issues #4 ! I think this will solve your problem! |
(Google Translate) After running 'node main.js' appeared ‘listening on localhost:8000 What should I enter? No previous file to delete
code: 1, Error: ENOENT: no such file or directory, open 'I:\aivtuber\AIVTuber-main\TTS\path\to\output.wav' And generated 'output.mp3' under '\TTS\path\to' |
In line 68 of the main.js file you can try to change from
is
Oh yes, and you need to change the ffmpeg_path variable to a valid path address like I think this will solve your problem! |
The following error occurs when running 'node main.js'.
Is there any way to solve it?
`node:internal/modules/cjs/loader:1024
throw err;
^
Error: Cannot find module 'dotenv'
Require stack:
�[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)�[39m
�[90m at Function.Module._load (node:internal/modules/cjs/loader:866:27)�[39m
�[90m at Module.require (node:internal/modules/cjs/loader:1093:19)�[39m
�[90m at require (node:internal/modules/cjs/helpers:108:18)�[39m
at Object. �[90m(I:\aivtuber\AIVTuber-main\TTS\�[39mmain.js:9:1�[90m)�[39m
�[90m at Module._compile (node:internal/modules/cjs/loader:1191:14)�[39m
�[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)�[39m
�[90m at Module.load (node:internal/modules/cjs/loader:1069:32)�[39m
�[90m at Function.Module._load (node:internal/modules/cjs/loader:904:12)�[39m
�[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)�[39m {
code: �[32m'MODULE_NOT_FOUND'�[39m,
requireStack: [ �[32m'I:\aivtuber\AIVTuber-main\TTS\main.js'�[39m ]
}`
The text was updated successfully, but these errors were encountered: