Skip to content
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

[BUG] <title>Issue after updating with nnm and modules #87

Open
3 tasks done
Dizzymartian opened this issue Dec 2, 2024 · 1 comment
Open
3 tasks done

[BUG] <title>Issue after updating with nnm and modules #87

Dizzymartian opened this issue Dec 2, 2024 · 1 comment
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 🪟 Windows

Comments

@Dizzymartian
Copy link

Environment

🪟 Windows

System

windows 10 ver 22H2 (19045.5131)

Describe the problem

after updating ST I got this issue in nnm

[email protected] postinstall
node post-install.js

Adding missing config values to config.yaml: [
'claude.cachingAtDepth',
'autheliaAuth',
'perUserBasicAuth',
'promptPlaceholder'
]

added 94 packages, removed 2 packages, and changed 42 packages in 11s
Starting Node.js server with command: node server.js
node : node:internal/modules/esm/resolve:207
строка:1 знак:4

  • & {node server.js 2>&1 | Where-Object {$_ -notmatch 'Security has bee ...
+ CategoryInfo          : NotSpecified: (node:internal/modules/esm/resolve:207:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified);
^
Error: Cannot find package 'C:\Users\Acer\SillyTavern-Launcher\SillyTavern\node_modules\onnxruntime-web\dist\ort-web.no
de.js' imported from C:\Users\Acer\SillyTavern-Launcher\SillyTavern\node_modules\sillytavern-transformers\src\backends
onnx.js
at legacyMainResolve (node:internal/modules/esm/resolve:207:26)
at packageResolve (node:internal/modules/esm/resolve:826:14)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:554:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:523:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v22.8.0
Node.js server started.
изображение

Additional info

pls help

Please tick the boxes

@Dizzymartian Dizzymartian added the 🐛Bug [ISSUE] Ticket describing something that isn't working label Dec 2, 2024
@deffcolony
Copy link
Collaborator

@Dizzymartian In the launcher navigate to:

/ Home / Troubleshooting & Support

Choose for option 1 Remove node_modules folder

restart sillytavern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 🪟 Windows
Projects
None yet
Development

No branches or pull requests

2 participants