jow- / luci-ng

LuCI on Angular
84 stars 26 forks source link

luci2 build error openwrt 19.07.3 #72

Open ranusha14 opened 3 years ago

ranusha14 commented 3 years ago

`cp -fpR ./src/src /home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/build_dir/target-mipsel_24kc_musl/luci2-ui-core-20200227/src make -C /home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/build_dir/target-mipsel_24kc_musl/luci2-ui-core-20200227 prepare make[4]: Entering directory '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/build_dir/target-mipsel_24kc_musl/luci2-ui-core-20200227' npm ci

Usage: npm

where is one of: access, add-user, adduser, apihelp, author, bin, bugs, c, cache, completion, config, ddp, dedupe, deprecate, dist-tag, dist-tags, docs, edit, explore, faq, find, find-dupes, get, help, help-search, home, i, info, init, install, install-test, issues, it, la, link, list, ll, ln, login, logout, ls, outdated, owner, pack, ping, prefix, prune, publish, r, rb, rebuild, remove, repo, restart, rm, root, run-script, s, se, search, set, show, shrinkwrap, star, stars, start, stop, t, tag, team, test, tst, un, uninstall, unlink, unpublish, unstar, up, update, upgrade, v, verison, version, view, whoami

npm -h quick help on npm -l display full usage info npm faq commonly asked questions npm help search for help on npm help npm involved overview

Specify configs in the ini-formatted file: /home/anusha/.npmrc or on the command line via: npm --key value Config info can be viewed via: npm help config

npm@3.5.2 /usr/share/npm Makefile:10: recipe for target 'node_modules' failed make[4]: [node_modules] Error 1 make[4]: Leaving directory '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/build_dir/target-mipsel_24kc_musl/luci2-ui-core-20200227' Makefile:69: recipe for target '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/build_dir/target-mipsel_24kc_musl/luci2-ui-core-20200227/.prepared_f0c727cf7ad76cefc81e9b2e95ba2d35_6664517399ebbbc92a37c5bb081b5c53' failed make[3]: [/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/build_dir/target-mipsel_24kc_musl/luci2-ui-core-20200227/.prepared_f0c727cf7ad76cefc81e9b2e95ba2d35_6664517399ebbbc92a37c5bb081b5c53] Error 2 make[3]: Leaving directory '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/feeds/luci2/luci2-ui-core' time: package/feeds/luci2/luci2-ui-core/compile#0.31#0.04#0.34 package/Makefile:111: recipe for target 'package/feeds/luci2/luci2-ui-core/compile' failed make[2]: [package/feeds/luci2/luci2-ui-core/compile] Error 2 make[2]: Leaving directory '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt' package/Makefile:107: recipe for target '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed make[1]: [/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt' /home/anusha/Anusha_workspace/Projects/openwrt/openwrt_Build/openwrt_19.07.3/openwrt/include/toplevel.mk:225: recipe for target 'world' failed make: *** [world] Error 2 ` I want to install luci2 package in openwrt 19.07.3 build but i am getting this error.

ianchi commented 3 years ago

Hi @ranusha14, are you using the node/npm of your system or building it as host dependency? If it is local, which version? (Run npm version) It must be 5.7 or higher.