zhinjs / zhin

a chat bot framework for Node.js developers, compatible with qq、icqq、wechat、discord、onebot(11/12)、dingtalk and more
https://docs.zhin.dev
MIT License
118 stars 13 forks source link

[求助] win11 下安装出现的包括但不限于命令缺失的问题 #113

Closed caibyte closed 6 months ago

caibyte commented 6 months ago

可能是系统的原因,也可能是我傻逼了。

现在只想找个方法安装一下。

系统 win11,安装均使用默认最新版本。

caibyte commented 6 months ago

又试了下 README 上的安装方式,在 npx zhin init -m dev 后:

Couldn't find tsconfig.json. tsconfig-paths will be skipped
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader.
On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'

显然还是系统差异。

lc-cn commented 6 months ago

已修复