Closed zxp19821005 closed 9 months ago
可以将这个引用注释掉,不影响编辑器主功能,这里是分享逻辑,涉及到和服务端交互,比较敏感,暂未开源
我之后会把分享开到另一个分支去,主分支保留单机功能
OK 那我再编译试试看
0.9.1版本代码里面又出现了~
import {Share} from '../share/Share'
import {User} from '../share/User'
如果仅需要linux版本,我想办法发布一下linux版,如果需要运行代码作参考,我加入了注释,这两行去掉即可。
不知这样是否能解决你的使用场景
如果能否发布Linux版本是做好了,谢谢!
Hello, sorry if I'm missing something here, I don't speak Chinese. I'm getting this error on Arch Linux:
src/renderer/src/components/Nav.tsx:8:21 - error TS2307: Cannot find module '../share/Share' or its corresponding type declarations.
8 import {Share} from '../share/Share'
~~~~~~~~~~~~~~~~
src/renderer/src/components/Nav.tsx:9:20 - error TS2307: Cannot find module '../share/User' or its corresponding type declarations.
9 import {User} from '../share/User'
~~~~~~~~~~~~~~~
Hello, sorry if I'm missing something here, I don't speak Chinese. I'm getting this error on Arch Linux:
src/renderer/src/components/Nav.tsx:8:21 - error TS2307: Cannot find module '../share/Share' or its corresponding type declarations. 8 import {Share} from '../share/Share' ~~~~~~~~~~~~~~~~ src/renderer/src/components/Nav.tsx:9:20 - error TS2307: Cannot find module '../share/User' or its corresponding type declarations. 9 import {User} from '../share/User' ~~~~~~~~~~~~~~~
This logic includes network services. I will remove them in the next version and add the Linux version. If you want to run it now, just annotate it
如题。0.7.0版本。 执行完
pnpm install
之后,执行pnpm build
,报错信息如下:看了下源代码,在
bluestone-0.7.0/src/renderer/src/components/Nav.tsx
中有三行:而在share目录中,确实是没有任何文件。