错误1

image

解决办法:
使用命令:mvn clean install -rf :js-executor -X

如果不行,手动下载文件放入路径:C:\Users\lenovo.pkg-cache\v2.6
将下载的文件放入:
image

常用命令

mvn clean install -DskipTests --settings D:\environment\apache-maven-3.6.1\conf\thingsboardAliSettings.xml
mvn clean install -DskipTests --settings D:\environment\apache-maven-3.6.1\conf\thingsboardSettings.xml
https://www.cnblogs.com/iotschool/p/12342200.html

切换镜像
npm config set registry https://registry.npm.taobao.org #使用淘宝镜像
npm config get registry #查询当前镜像
npm config set registry https://registry.npmjs.org

mvn clean install -DskipTests
taskkill /f /im java.exe

postgre常用命令

SELECT u.datname  FROM pg_catalog.pg_database u where u.datname='thingsboard';
drop database thingsboard;