问题:
报的问题是node版本不匹配,可能是electron的版本与本地版本不匹配吧。
解决问题的过程很艰辛,不多赘述。
解决办法:
重新编译electron自带的node版本。
npm rebuild --runtime=electron --target=10.1.3 --disturl=https://atom.io/download/atom-shell --abi=82
我的electron版本是10.1.3,abi是82,自行替换
报的问题是node版本不匹配,可能是electron的版本与本地版本不匹配吧。
解决问题的过程很艰辛,不多赘述。
重新编译electron自带的node版本。
npm rebuild --runtime=electron --target=10.1.3 --disturl=https://atom.io/download/atom-shell --abi=82
我的electron版本是10.1.3,abi是82,自行替换