• 请不要在回答技术问题时复制粘贴 AI 生成的内容
sodayo
V2EX  ›  程序员

Hoppscotch 的 Self-hosting 实在有些难顶

  •  
  •   sodayo · Aug 2, 2024 · 1047 views
    This topic created in 674 days ago, the information mentioned may be changed or developed.
    官方文档内容不少错的, 全靠看 issue 摸索; 当前版本有 bug, 无法创建用户和登录; 想要回退到几个月前的版本, 但是配置文件和文档已经对不上了.

    粗略的看了下代码大概能看到 bug 在哪, 可惜我是后端, netxtjs 框架和 ts 实在不擅长, 不敢提 PR... /_ \
    daimaosix
        1
    daimaosix  
       Oct 2, 2024
    哈哈哈哈哈,难顶,我跑起来了,然后迁移数据库用的 npm 官方源,怎么搞都替换不了,遂放弃。。。
    sodayo
        2
    sodayo  
    OP
       Oct 8, 2024   ❤️ 1
    @daimaosix 兄弟, 我已经成功了, 之前我碰到的问题找到并提了 PR 通过了. 你这个迁移数据库的问题好办法解决, 按官方教程进了容器之后执行换镜像源的命令:
    ```bash
    npm config set registry https://registry.npmmirror.com --workspaces=false --include-workspace-root

    PRISMA_ENGINES_MIRROR=https://registry.npmmirror.com/-/binary/prisma/
    ```
    daimaosix
        3
    daimaosix  
       Oct 8, 2024
    @sodayo 好兄弟
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2854 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 02:51 · PVG 10:51 · LAX 19:51 · JFK 22:51
    ♥ Do have faith in what you're doing.