Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci2 build error openwrt 19.07.3 #72

Open
ranusha14 opened this issue Sep 21, 2020 · 1 comment
Open

luci2 build error openwrt 19.07.3 #72

ranusha14 opened this issue Sep 21, 2020 · 1 comment

Comments

@ranusha14
Copy link

`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

[email protected] /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
Copy link
Collaborator

ianchi commented Sep 22, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants