2.4 版本 ui 部分编译不通过 求助 · 物联网平台-威尼斯人最新

kejiaweiren · 2021年01月05日 · 最后由 回复于 2022年08月19日 · 583 次阅读

[info] node v14.15.3 is already installed. [info] npm 6.14.9 is already installed. [info] [info] --- frontend-maven-plugin:1.0:npm (npm install) @ ui --- [info] running 'npm install' in e:\workspace\thingsboard-2.4\ui [info] [info] > node-sass@4.12.0 install e:\workspace\thingsboard-2.4\ui\node_modules\node-sass [info] > node scripts/install.js [info] [info] downloading binary from [error] cannot download "" [error] [error] http error 404 not found [error] [error] hint: if github.com is not accessible in your location [error] try setting a proxy via http_proxy, e.g. [error] [error] export http_proxy= [error] [error] or configure npm proxy via [error] [error] npm config set proxy [info] [info] > core-js@2.6.9 postinstall e:\workspace\thingsboard-2.4\ui\node_modules\core-js [info] > node scripts/postinstall || echo "ignore" [info] [info] thank you for using core-js ( ) for polyfilling javascript standard library! [info] [info] the project needs your help! please consider supporting of core-js on open collective or patreon: [info] > [info] > [info] [info] also, the author of core-js ( ) is looking for a good job -) [info] [info] [info] > gifsicle@3.0.4 postinstall e:\workspace\thingsboard-2.4\ui\node_modules\gifsicle [info] > node lib/install.js [info] [error] getaddrinfo enoent raw.githubusercontent.com [error] gifsicle pre-build test failed [error] i compiling from source [error] × error: autoreconf -ivf && ./configure --disable-gifview --disable-gifdiff --prefix="e:\workspace\thingsboard-2.4\ui\node_modules\gifsicle\vendor" --bindir="e:\workspace\thingsboard-2.4\ui\node_modules\gifsicle\vendor" && make install [error] command failed: autoreconf -ivf [error] 'autoreconf' �����ڲ����ⲿ���ҳ���ǿ����еij��� [error] ���������ļ��� [error] [error] at childprocess.exithandler (child_process.js:308:12) [error] at childprocess.emit (events.js:315:20) [error] at maybeclose (internal/child_process.js:1048:16) [error] at process.childprocess._handle.onexit (internal/child_process.js:288:5) [info] [info] > jpegtran-bin@3.2.0 postinstall e:\workspace\thingsboard-2.4\ui\node_modules\jpegtran-bin [info] > node lib/install.js [info] [error] getaddrinfo enoent raw.githubusercontent.com [error] jpegtran pre-build test failed [error] i compiling from source [error] × error: touch configure.ac aclocal.m4 configure makefile.am makefile.in && ./configure --disable-shared --prefix="e:\workspace\thingsboard-2.4\ui\node_modules\jpegtran-bin\vendor" --bindir="e:\workspace\thingsboard-2.4\ui\node_modules\jpegtran-bin\vendor" && make install [error] command failed: touch configure.ac aclocal.m4 configure makefile.am makefile.in [error] 'touch' �����ڲ����ⲿ���ҳ���ǿ����еij��� [error] ���������ļ��� [error] [error] at childprocess.exithandler (child_process.js:308:12) [error] at childprocess.emit (events.js:315:20) [error] at maybeclose (internal/child_process.js:1048:16) [error] at process.childprocess._handle.onexit (internal/child_process.js:288:5) [info] [info] > optipng-bin@3.1.4 postinstall e:\workspace\thingsboard-2.4\ui\node_modules\optipng-bin [info] > node lib/install.js [info] [error] getaddrinfo enoent raw.githubusercontent.com [error] optipng pre-build test failed [error] i compiling from source [error] × error: ./configure --with-system-zlib --prefix="e:\workspace\thingsboard-2.4\ui\node_modules\optipng-bin\vendor" --bindir="e:\workspace\thingsboard-2.4\ui\node_modules\optipng-bin\vendor" && make install [error] command failed: ./configure --with-system-zlib --prefix="e:\workspace\thingsboard-2.4\ui\node_modules\optipng-bin\vendor" --bindir="e:\workspace\thingsboard-2.4\ui\node_modules\optipng-bin\vendor" [error] '.' �����ڲ����ⲿ���ҳ���ǿ����еij��� [error] ���������ļ��� [error] [error] at childprocess.exithandler (child_process.js:308:12) [error] at childprocess.emit (events.js:315:20) [error] at maybeclose (internal/child_process.js:1048:16) [error] at process.childprocess._handle.onexit (internal/child_process.js:288:5) [info] [info] > pngquant-bin@4.0.0 postinstall e:\workspace\thingsboard-2.4\ui\node_modules\pngquant-bin [info] > node lib/install.js [info] [error] connect econnrefused 151.101.108.133:443 [error] pngquant pre-build test failed [error] i compiling from source [error] √ pngquant pre-build test passed successfully [error] × error: pngquant failed to build, make sure that libpng-dev is installed [error] at e:\workspace\thingsboard-2.4\ui\node_modules\pngquant-bin\node_modules\bin-build\node_modules\execa\index.js:231:11 [error] at processticksandrejections (internal/process/task_queues.js:93:5) [error] at async promise.all (index 0) [warning] npm warn optional skipping optional dependency: fsevents@1.2.9 (node_modules\fsevents): [error] [error] npm err! code elifecycle [error] npm err! errno 1 [error] npm err! pngquant-bin@4.0.0 postinstall: node lib/install.js [error] npm err! exit status 1 [error] npm err! [error] npm err! failed at the pngquant-bin@4.0.0 postinstall script. [error] npm err! this is probably not a problem with npm. there is likely additional logging output above. [error] [error] npm err! a complete log of this run can be found in:

2.4 版本根据社区教程,重点是要有外网且采用国内镜像源

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
网站地图