mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-11-05 00:27:39 +00:00
[GH-ISSUE #116] [BUG] <title>Unexpected token ':' #59
Labels
No labels
🚏 Awaiting User Response
🐛Bug
🐛Bug
🐛Bug
🦄 Feature Request
✅ Fixed
✅ Fixed
👩💻 Good First Issue
‼️ High Priority
🧑💻 In Progress
🐧 Linux
🐧 Linux
💤 Low Priority
🍎 Mac
❕ Medium Priority
pull-request
🪟 Windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Launcher#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KenDoStudios on GitHub (Aug 21, 2025).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/116
Environment
🪟 Windows
System
Edition Windows 11 Pro Version 24H2 Installed on 1/21/2025 OS build 26100.4946 Experience Windows Feature Experience Pack 1000.26100.197.0
Describe the problem
when launching window after installation the window "npm install" appears but it does not do anything for a long time,
then it pops this message:
A critical error has occurred while starting the server: Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\sillytavern\SillyTavern-Launcher\SillyTavern\node_modules\image-q\dist\esm\image-q.mjs' imported from D:\sillytavern\SillyTavern-Launcher\SillyTavern\node_modules@jimp\plugin-quantize\dist\esm\index.js
Did you mean to import "image-q/dist/cjs/image-q.cjs"?
at finalizeResolution (node:internal/modules/esm/resolve:274:11)
at moduleResolve (node:internal/modules/esm/resolve:859:10)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:783:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:707:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:690:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:307:38)
at ModuleJob._link (node:internal/modules/esm/module_job:183:49) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///D:/sillytavern/SillyTavern-Launcher/SillyTavern/node_modules/image-q/dist/esm/image-q.mjs'
}
double checking this file does exist. but as a .map file please how do i fix it? please note i barely know any code
Additional info
No response
Please tick the boxes
@KenDoStudios commented on GitHub (Aug 21, 2025):
changing the nametype of file resulted in this error:
A critical error has occurred while starting the server: SyntaxError: Unexpected token ':'
at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:107:18)
at #translate (node:internal/modules/esm/loader:536:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:583:27)
at async ModuleJob._link (node:internal/modules/esm/module_job:162:19)
@KenDoStudios commented on GitHub (Aug 21, 2025):
auto repair enabled resulted in nothing after several minute, application hitch
[ 5:27:05.34] [INFO] Running Node.js in: production
[ 5:27:05.34] [INFO] Started process with PID: "26124"
DEBUG: Entered the YES block
[ 5:27:05.43] [INFO] Auto-repair process enabled [this can be toggled in the troubleshooting menu].
[ 5:27:05.43] [INFO] SillyTavern opened in a new window.
[ 5:27:05.44] [INFO] Waiting for 30 seconds for SillyTavern to fully launch...
[ 5:27:08.20] [INFO] Log file found, scanning log for errors...
@deffcolony commented on GitHub (Aug 21, 2025):
@KenDoStudios im going to have to reference you to a earlier issue with the solution attached... Please follow that
https://github.com/SillyTavern/SillyTavern-Launcher/issues/87#issuecomment-2511126698
@KenDoStudios commented on GitHub (Aug 24, 2025):
npm error code ENOTEMPTY
npm error syscall rmdir
npm error path D:\sillytavern\SillyTavern-Launcher\SillyTavern\node_modules\lodash
npm error errno -4051
npm error ENOTEMPTY: directory not empty, rmdir 'D:\sillytavern\SillyTavern-Launcher\SillyTavern\node_modules\lodash'
npm error A complete log of this run can be found in: C:\Users\Kenne\AppData\Local\npm-cache_logs\2025-08-24T13_55_04_486Z-debug-0.log
@KenDoStudios commented on GitHub (Aug 28, 2025):
hey bro i tried the method you suggested, and im still getting issues