Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

npm install lumo-cljs should fail on arm #460

Open
cellularmitosis opened this issue Feb 8, 2019 · 4 comments
Open

npm install lumo-cljs should fail on arm #460

cellularmitosis opened this issue Feb 8, 2019 · 4 comments

Comments

@cellularmitosis
Copy link

cellularmitosis commented Feb 8, 2019

Hello,

First, thanks for working on lumo! You rock! 👍

I just ran npm install lumo-cljs on a raspberry pi before realizing that it isn't available on arm at the moment.

However, npm installed anyway, grabbing the x86_64 version. Of course, it should have failed instead.

Is this an issue with npm, or an issue with the way lumo was packaged for npm?

Thanks!

@cellularmitosis cellularmitosis changed the title npm install lumo should fail on arm npm install lumo-cljs should fail on arm Feb 8, 2019
@anmonteiro
Copy link
Owner

This is related to how Lumo is packaged. If you want to contribute a fix for this issue, the platform detection lives here: https://github.com/anmonteiro/lumo/blob/master/download/src/index.js#L36-L40

@sheunaluko
Copy link

sheunaluko commented Apr 16, 2019

Yes, thank you for this incredible and exciting software.

I noticed this issue as well when trying to install on termux for Android. Any thoughts on how to get it working on ARM/termux?

I dont see any compilation instructions in the readme

@dauuricus
Copy link

on Termux.
is that Path problem ?

0 verbose cli [
0 verbose cli   '/data/data/com.termux/files/usr/bin/node',
0 verbose cli   '/data/data/com.termux/files/usr/bin/npm',
0 verbose cli   'install',                                                                                                                                                                            0 verbose cli   '-g',
0 verbose cli   'lumo-cljs'                                                                                                                                                                           0 verbose cli ]
1 info using [email protected]
2 info using [email protected]                                                                                                                                                                             3 timing npm:load:whichnode Completed in 1ms                                                                                                                                                          4 timing config:load:defaults Completed in 4ms                                                                                                                                                        5 timing config:load:file:/data/data/com.termux/files/usr/lib/node_modules/npm/npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 6ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/data/data/com.termux/files/home/pytest/.npmrc Completed in 1ms
10 timing config:load:project Completed in 3ms                                                                                                                                                        11 timing config:load:file:/data/data/com.termux/files/home/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/data/data/com.termux/files/usr/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms                                                                                                                                                         15 timing config:load:validate Completed in 0ms                                                                                                                                                       16 timing config:load:credentials Completed in 3ms
17 timing config:load:setEnvs Completed in 3ms
18 timing config:load Completed in 24ms
19 timing npm:load:configload Completed in 24ms
20 timing npm:load:setTitle Completed in 0ms                                                                                                                                                          21 timing npm:load:setupLog Completed in 1ms
22 timing config:load:flatten Completed in 7ms
23 timing npm:load:cleanupLog Completed in 6ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 0ms
26 timing npm:load Completed in 44ms
27 timing arborist:ctor Completed in 2ms
28 timing idealTree:init Completed in 18ms
29 timing idealTree:userRequests Completed in 8ms
30 silly idealTree buildDeps
31 silly fetch manifest lumo-cljs@*                                                                                                                                                                   32 http fetch GET 200 https://registry.npmjs.org/lumo-cljs 947ms (cache revalidated)
33 silly placeDep ROOT [email protected] OK for:  want: *
34 timing idealTree:#root Completed in 1005ms
35 timing idealTree:node_modules/lumo-cljs Completed in 0ms
36 timing idealTree:buildDeps Completed in 1011ms
37 timing idealTree:fixDepFlags Completed in 4ms
38 timing idealTree Completed in 1045ms
39 timing reify:loadTrees Completed in 1080ms
40 timing reify:diffTrees Completed in 10ms
41 silly reify mark retired [
41 silly reify   '/data/data/com.termux/files/usr/lib/node_modules/lumo-cljs',
41 silly reify   '/data/data/com.termux/files/usr/bin/lumo'
41 silly reify ]
42 silly reify moves {
42 silly reify   '/data/data/com.termux/files/usr/lib/node_modules/lumo-cljs': '/data/data/com.termux/files/usr/lib/node_modules/.lumo-cljs-Y24QH2Rp',
42 silly reify   '/data/data/com.termux/files/usr/bin/lumo': '/data/data/com.termux/files/usr/bin/.lumo-IjtGGpOe'
42 silly reify }
43 timing reify:rollback:retireShallow Completed in 7ms
44 timing command:install Completed in 1142ms
45 verbose stack Error: ENOTEMPTY: directory not empty, rename '/data/data/com.termux/files/usr/lib/node_modules/lumo-cljs' -> '/data/data/com.termux/files/usr/lib/node_modules/.lumo-cljs-Y24QH2Rp'
46 verbose cwd /data/data/com.termux/files/home/pytest
47 verbose Linux 4.4.146+
48 verbose argv "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/bin/npm" "install" "-g" "lumo-cljs"
49 verbose node v17.0.1
50 verbose npm  v8.1.0
51 error code ENOTEMPTY
52 error syscall rename
53 error path /data/data/com.termux/files/usr/lib/node_modules/lumo-cljs
54 error dest /data/data/com.termux/files/usr/lib/node_modules/.lumo-cljs-Y24QH2Rp
55 error errno -39
56 error ENOTEMPTY: directory not empty, rename '/data/data/com.termux/files/usr/lib/node_modules/lumo-cljs' -> '/data/data/com.termux/files/usr/lib/node_modules/.lumo-cljs-Y24QH2Rp'
57 verbose exit -39

@dauuricus
Copy link

npx -p lumo-cljs lumo

0 verbose cli [
0 verbose cli   '/data/data/com.termux/files/usr/bin/node',
0 verbose cli   '/data/data/com.termux/files/usr/lib/node_modules/npm/bin/npm-cli.js',
0 verbose cli   'exec',
0 verbose cli   '--package',
0 verbose cli   'lumo-cljs',
0 verbose cli   '--',
0 verbose cli   'lumo'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 6ms                                                                                                                                                                                                5 timing config:load:file:/data/data/com.termux/files/usr/lib/node_modules/npm/npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms                                                                                                                                                                                                 7 timing config:load:cli Completed in 7ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/data/data/com.termux/files/home/pytest/.npmrc Completed in 1ms                                                                                                                                                     10 timing config:load:project Completed in 7ms
11 timing config:load:file:/data/data/com.termux/files/home/.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms                                                                                                                                                                                                   13 timing config:load:file:/data/data/com.termux/files/usr/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 1ms                                                                                                                                                                                               16 timing config:load:credentials Completed in 5ms
17 timing config:load:setEnvs Completed in 3ms
18 timing config:load Completed in 35ms                                                                                                                                                                                                       19 timing npm:load:configload Completed in 36ms
20 timing npm:load:setTitle Completed in 1ms                                                                                                                                                                                                  21 timing npm:load:setupLog Completed in 1ms
22 timing config:load:flatten Completed in 9ms
23 timing npm:load:cleanupLog Completed in 7ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 1ms
26 timing npm:load Completed in 62ms
27 http fetch GET 200 https://registry.npmjs.org/lumo-cljs 1058ms (cache revalidated)
28 timing arborist:ctor Completed in 7ms
29 timing arborist:ctor Completed in 1ms
30 timing arborist:ctor Completed in 0ms                                                                                                                                                                                                      31 timing idealTree:init Completed in 20ms
32 timing idealTree:userRequests Completed in 5ms                                                                                                                                                                                             33 silly idealTree buildDeps                                                                                                                                                                                                                  34 silly fetch manifest lumo-cljs@*
35 http fetch GET 200 https://registry.npmjs.org/lumo-cljs 28ms (cache hit)
36 silly placeDep ROOT [email protected] OK for:  want: *
37 timing idealTree:#root Completed in 54ms                                                                                                                                                                                                   38 timing idealTree:node_modules/lumo-cljs Completed in 1ms
39 timing idealTree:buildDeps Completed in 57ms
40 timing idealTree:fixDepFlags Completed in 1ms
41 timing idealTree Completed in 87ms
42 timing reify:loadTrees Completed in 90ms
43 timing reify:diffTrees Completed in 2ms
44 silly reify moves {}
45 timing reify:retireShallow Completed in 0ms
46 timing reify:createSparse Completed in 6ms
47 timing reify:loadBundles Completed in 0ms
48 silly audit bulk request { 'lumo-cljs': [ '1.10.1' ] }
49 timing reifyNode:node_modules/lumo-cljs Completed in 58ms
50 timing reify:unpack Completed in 59ms
51 timing reify:unretire Completed in 0ms
52 timing build:queue Completed in 3ms
53 timing build:link:node_modules/lumo-cljs Completed in 6ms
54 timing build:link Completed in 6ms
55 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 229ms
56 timing auditReport:getReport Completed in 231ms
57 silly audit report {}
58 timing auditReport:init Completed in 0ms
59 timing reify:audit Completed in 234ms
60 timing npm Completed in 10013ms
61 verbose unfinished npm timer command:exec 1635939465317
62 verbose unfinished npm timer reify 1635939473821
63 verbose unfinished npm timer reify:build 1635939474014
64 verbose unfinished npm timer build 1635939474014
65 verbose unfinished npm timer build:deps 1635939474015
66 verbose unfinished npm timer build:run:postinstall 1635939474024
67 info ok
68 error Exit handler never called!
69 error This is an error with npm itself. Please report this error at:
70 error <https://github.com/npm/cli/issues>

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

No branches or pull requests

4 participants