安装treeJS步骤
1下载treejs安装包在vc里面打开,
examples继承终端里面打开
(1)报警问题
npm install yarn报警:下载node.js安装包安装重启VC
npm install 安装依赖库报警:看提示如果显示版本需要7以上执行下面的命令:
npm install uuid@7.0.3 -g
报警
npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.npmjs.org/uuid failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\gonglinjin\AppData\Local\npm-cache\_logs\2023-03-15T05_56_11_627Z-debug-0.log
却换源:
npm install --registry=https://registry.npm.taobao.org
npm run dev跑treeJS