SillyTavern
SillyTavern copied to clipboard
[BUG] requestPath: 'sanitize-filename'
Environment
Self-Hosted (Bare Metal)
System
Windows 11
Version
1.11.4
Desktop Information
No response
Describe the problem
when I open the start.bat file, I get an error.
Additional info
node post-install.js
up to date in 1s
69 packages are looking for funding
run npm fund for details
node:internal/modules/cjs/loader:452
throw err;
^
Error: Cannot find module 'C:\Users\rodio\Documents\SillyTavern\node_modules\sanitize-filename\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:444:19)
at Module._findPath (node:internal/modules/cjs/loader:715:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.
Node.js v20.11.1
Press any key to continue . . .
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs
Delete node_modules folder, clear npm cache, and restart
npm cache clean --force
Did this solve your issue?