LuciferHuang / heimdallr-sdk

A lightweight front-end monitoring sdk/一款简单易用、轻量化、插件化的前端监控sdk
https://luciferhuang.github.io/heimdallr-sdk/
MIT License
603 stars 123 forks source link

在项目里使用 project/init 接口404 #17

Closed lxy030988 closed 4 months ago

lxy030988 commented 5 months ago

2024-05-15_140232 2024-05-15_140328

lxy030988 commented 5 months ago

2024-05-15_140232

lxy030988 commented 5 months ago

本地启动的项目,在自己环境里通过npm方式引入了,发现初始化接口404

2024-05-15_140619

LuciferHuang commented 5 months ago

@lxy030988 后端服务用的是 @heimdallr-sdk/server 项目吗?

lxy030988 commented 5 months ago

@LuciferHuang 是的 项目拉下来 直接本地启动的 看其他接口 都有的

lxy030988 commented 5 months ago

我用@heimdallr-sdk/cli 把 前端 后端 代码 单独拉下来 ,可以跑了。但是 用 @heimdallr-sdk/record upload 接口 会报错

lxy030988 commented 5 months ago

image image

lxy030988 commented 5 months ago

Unexpected token \u0011 in JSON at position 1877

session not found

LuciferHuang commented 4 months ago

问题已修复,获取一下最新版本,如有其他问题再另提单吧