Closed CharlesMingus19 closed 3 months ago
Can't repro.
gitpod /workspace/RSSHub (master) $ pnpm build
WARN Unsupported engine: wanted: {"node":">=22"} (current: {"node":"v21.7.3","pnpm":"9.4.0"})
> rsshub@1.0.0 build /workspace/RSSHub
> tsx scripts/workflow/build-routes.ts
(node:10887) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
gitpod /workspace/RSSHub (master) $
Please remove node_modules folder and try again:
rm -rf node_modules
pnpm i
pnpm build
Routes
Full routes
Related documentation
https://docs.rsshub.app/deploy/
What is expected?
I ran pnpm build after installing dependencies RSSHub should build successfully
What is actually happening?
Getting error: SyntaxError: Invalid or unexpected token
Deployment information
Self-hosted
Deployment information (for self-hosted)
"node":"v21.7.3","pnpm":"9.4.0"
Additional info
This is not a duplicated issue