- I have checked the troubleshooting
Bug report
I installed inkdrop on a new computer and was attempting to install the same plugins I used on my other machine. The web clipper extension is failing to install. It’s possible the issue is similar to another issue where core-js is the culprit, however that’s speculation on my part.
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/lib/inkdrop/resources/app/ipm/bin/node',
1 verbose cli '/usr/lib/inkdrop/resources/app/ipm/node_modules/npm/bin/npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli '/home/caschbre/.config/inkdrop/.ipm/.ipmrc',
1 verbose cli '--userconfig',
1 verbose cli '/home/caschbre/.config/inkdrop/.ipmrc',
1 verbose cli 'install',
1 verbose cli 'https://api.inkdrop.app/v1/packages/web-clipper/versions/1.1.1/tarball',
1 verbose cli '--target=16.0.10',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style'
1 verbose cli ]
2 info using npm@6.14.16
3 info using node@v16.9.1
4 verbose npm-session 60ea352d31c970d4
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://codeload.github.com/libeanim/inkdrop-web-clipper/legacy.tar.gz/refs/tags/v1.1.1 1197ms (from cache)
8 silly pacote remote manifest for undefined@https://api.inkdrop.app/v1/packages/web-clipper/versions/1.1.1/tarball fetched in 1203ms
9 timing stage:loadCurrentTree Completed in 1216ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule web-clipper@1.1.1 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/core-js 370ms (from cache)
18 silly pacote range manifest for core-js@^2.6.11 fetched in 375ms
19 warn deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
20 silly resolveWithNewModule core-js@2.6.12 checking installable status
21 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 379ms
22 timing stage:loadIdealTree Completed in 381ms
23 silly currentTree apm-install-dir-2022522-17397-hg2dlk.zbljj
24 silly idealTree apm-install-dir-2022522-17397-hg2dlk.zbljj
24 silly idealTree `-- web-clipper@1.1.1
24 silly idealTree `-- core-js@2.6.12
25 silly install generateActionsToTake
26 timing stage:generateActionsToTake Completed in 2ms
27 silly diffTrees action count 2
28 silly diffTrees add core-js@2.6.12
29 silly diffTrees add web-clipper@1.1.1
30 silly decomposeActions action count 16
31 silly decomposeActions fetch core-js@2.6.12
32 silly decomposeActions extract core-js@2.6.12
33 silly decomposeActions preinstall core-js@2.6.12
34 silly decomposeActions build core-js@2.6.12
35 silly decomposeActions install core-js@2.6.12
36 silly decomposeActions postinstall core-js@2.6.12
37 silly decomposeActions finalize core-js@2.6.12
38 silly decomposeActions refresh-package-json core-js@2.6.12
39 silly decomposeActions fetch web-clipper@1.1.1
40 silly decomposeActions extract web-clipper@1.1.1
41 silly decomposeActions preinstall web-clipper@1.1.1
42 silly decomposeActions build web-clipper@1.1.1
43 silly decomposeActions install web-clipper@1.1.1
44 silly decomposeActions postinstall web-clipper@1.1.1
45 silly decomposeActions finalize web-clipper@1.1.1
46 silly decomposeActions refresh-package-json web-clipper@1.1.1
47 silly install executeActions
48 silly doSerial global-install 16
49 verbose correctMkdir /home/caschbre/.config/inkdrop/.ipm/_locks correctMkdir not in flight; initializing
50 verbose lock using /home/caschbre/.config/inkdrop/.ipm/_locks/staging-bd1367d6fe37a1f1.lock for /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/.staging
51 silly doParallel extract 2
52 silly extract core-js@2.6.12
53 silly extract web-clipper@1.1.1
54 silly tarball trying core-js@^2.6.11 by hash: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==
55 silly tarball trying https://api.inkdrop.app/v1/packages/web-clipper/versions/1.1.1/tarball by hash: sha512-BTk1BPDb/jc00LuGslDi0SkNkDqyg1+PUtfBhM6BouZEFeTUb9m3zEZX0fyQLl45Ac0knrtfPlO/lgiD5hekGQ==
56 silly extract https://api.inkdrop.app/v1/packages/web-clipper/versions/1.1.1/tarball extracted to /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/.staging/web-clipper-10487ca9 (29ms)
57 timing audit submit Completed in 197ms
58 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 197ms
59 timing audit body Completed in 0ms
60 silly extract core-js@^2.6.11 extracted to /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/.staging/core-js-c8c1c2a1 (285ms)
61 timing action:extract Completed in 286ms
62 silly doReverseSerial unbuild 16
63 silly doSerial remove 16
64 silly doSerial move 16
65 silly doSerial finalize 16
66 silly finalize /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper/node_modules/core-js
67 silly finalize /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper
68 timing action:finalize Completed in 3ms
69 silly doParallel refresh-package-json 2
70 silly refresh-package-json /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper/node_modules/core-js
71 silly refresh-package-json /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper
72 timing action:refresh-package-json Completed in 8ms
73 silly doParallel preinstall 2
74 silly preinstall core-js@2.6.12
75 info lifecycle core-js@2.6.12~preinstall: core-js@2.6.12
76 silly preinstall web-clipper@1.1.1
77 info lifecycle web-clipper@1.1.1~preinstall: web-clipper@1.1.1
78 timing action:preinstall Completed in 0ms
79 silly doSerial build 16
80 silly build core-js@2.6.12
81 info linkStuff core-js@2.6.12
82 silly linkStuff core-js@2.6.12 has /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper/node_modules as its parent node_modules
83 silly build web-clipper@1.1.1
84 info linkStuff web-clipper@1.1.1
85 silly linkStuff web-clipper@1.1.1 has /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules as its parent node_modules
86 timing action:build Completed in 0ms
87 silly doSerial global-link 16
88 silly doParallel update-linked 0
89 silly doSerial install 16
90 silly install core-js@2.6.12
91 info lifecycle core-js@2.6.12~install: core-js@2.6.12
92 silly install web-clipper@1.1.1
93 info lifecycle web-clipper@1.1.1~install: web-clipper@1.1.1
94 timing action:install Completed in 0ms
95 silly doSerial postinstall 16
96 silly postinstall core-js@2.6.12
97 info lifecycle core-js@2.6.12~postinstall: core-js@2.6.12
98 verbose lifecycle core-js@2.6.12~postinstall: unsafe-perm in lifecycle true
99 verbose lifecycle core-js@2.6.12~postinstall: PATH: /usr/lib/inkdrop/resources/app/ipm/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper/node_modules/core-js/node_modules/.bin:/tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper/node_modules/.bin:/tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/.bin:/usr/lib/inkdrop/resources/app/ipm/bin
100 verbose lifecycle core-js@2.6.12~postinstall: CWD: /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/web-clipper/node_modules/core-js
101 silly lifecycle core-js@2.6.12~postinstall: Args: [ '-c', `node -e "try{require('./postinstall')}catch(e){}"` ]
102 info lifecycle core-js@2.6.12~postinstall: Failed to exec postinstall script
103 silly lifecycle core-js@2.6.12~postinstall: Returned: code: -2 signal: null
104 info lifecycle core-js@2.6.12~postinstall: Failed to exec postinstall script
105 timing action:postinstall Completed in 6ms
106 verbose unlock done using /home/caschbre/.config/inkdrop/.ipm/_locks/staging-bd1367d6fe37a1f1.lock for /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/node_modules/.staging
107 timing stage:rollbackFailedOptional Completed in 51ms
108 timing stage:runTopLevelLifecycles Completed in 1963ms
109 silly saveTree apm-install-dir-2022522-17397-hg2dlk.zbljj
109 silly saveTree `-- web-clipper@1.1.1
109 silly saveTree `-- core-js@2.6.12
110 warn enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj/package.json'
111 verbose enoent This is related to npm not being able to find a file.
112 warn apm-install-dir-2022522-17397-hg2dlk.zbljj No description
113 warn apm-install-dir-2022522-17397-hg2dlk.zbljj No repository field.
114 warn apm-install-dir-2022522-17397-hg2dlk.zbljj No README data
115 warn apm-install-dir-2022522-17397-hg2dlk.zbljj No license field.
116 verbose stack Error: core-js@2.6.12 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
116 verbose stack spawn sh ENOENT
116 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
116 verbose stack at onErrorNT (node:internal/child_process:477:16)
116 verbose stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
117 verbose pkgid core-js@2.6.12
118 verbose cwd /tmp/apm-install-dir-2022522-17397-hg2dlk.zbljj
119 verbose Linux 5.17.5-76051705-generic
120 verbose argv "/usr/lib/inkdrop/resources/app/ipm/bin/node" "/usr/lib/inkdrop/resources/app/ipm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/caschbre/.config/inkdrop/.ipm/.ipmrc" "--userconfig" "/home/caschbre/.config/inkdrop/.ipmrc" "install" "https://api.inkdrop.app/v1/packages/web-clipper/versions/1.1.1/tarball" "--target=16.0.10" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
121 verbose node v16.9.1
122 verbose npm v6.14.16
123 error code ELIFECYCLE
124 error syscall spawn sh
125 error file sh
126 error path sh
127 error errno -2
128 error core-js@2.6.12 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
128 error spawn sh ENOENT
129 error Failed at the core-js@2.6.12 postinstall script.
129 error This is probably not a problem with npm. There is likely additional logging output above.
130 verbose exit [ -2, true ]
Environment
- Platform: Pop!_OS 22.04 LTS x86_64
- Platform version: 22.04
- App Version: 5.5.1
How to reproduce
Install inkdrop and then search for and install the web clipper extension through inkdrop plugins.