Search Criteria
Package Details: insomnia 11.2.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/insomnia.git (read-only, click to copy) |
---|---|
Package Base: | insomnia |
Description: | Cross-platform HTTP and GraphQL Client |
Upstream URL: | https://github.com/Kong/insomnia |
Licenses: | MIT |
Submitter: | kpcyrd |
Maintainer: | plp |
Last Packager: | plp |
Votes: | 25 |
Popularity: | 1.27 |
First Submitted: | 2020-10-19 17:29 (UTC) |
Last Updated: | 2025-06-09 12:46 (UTC) |
Dependencies (4)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- npm (python-nodejs-wheelAUR, corepackerAUR) (make)
- nvm (nvm-gitAUR) (make)
- yarn (yarn-pnpm-corepackAUR, corepackerAUR, yarn-berryAUR) (make)
Latest Comments
1 2 3 4 5 6 .. 10 Next › Last »
plp commented on 2025-06-11 22:07 (UTC)
Wow. Look here:
https://www.bennadel.com/blog/2169-where-does-node-js-and-require-look-for-modules.htm
And of course
yay
builds its packages in a subfolder of your home directory.gvaleika commented on 2025-06-11 21:05 (UTC)
cache clear didn't help. But while looking to delete .npm directory I noticed jhipster leftovers package.json, package-lock.json and node_modules in my home directory. I don't remember what problem I was trying to solve, but somehow these situated in my home direcotory. After I deleted them standard yay -Syu correctly built and updated insomnia. Thanks for your support!
plp commented on 2025-06-11 20:20 (UTC)
Well, it works fine here. I've built it a million times...
Perhaps you could try cleaning your
npm
cache by doingnpm cache clear --force
. Then try building the package again.HOWEVER, before doing that, save the output of your
npm cache ls
. We may need to send it upstream if this ends up being their issue.gvaleika commented on 2025-06-11 11:41 (UTC)
Yes, it still fails same way.
plp commented on 2025-06-11 07:53 (UTC)
You mean
npm install
fails with the same error messages?What happens if you delete
.nvm
andnode_modules
, forcing it to reinstall everything?Does it still fail?
gvaleika commented on 2025-06-10 22:06 (UTC)
and on npm install all errors long list.
plp commented on 2025-06-10 15:22 (UTC) (edited on 2025-06-10 15:23 (UTC) by plp)
Actually, what's happening is that the package itself uses
nvm
to install the versions ofnpm
andnodejs
that it needs.In
_ensure_local_nvm()
it instructsnvm
to use installnodejs
version 22.14.0:And then it proceeds with
prepare()
andbuild()
.Version 22.14.0 is installed because this is what
insomnia
needs. It's specified in the source's.nvmrc
file.I still think your problem has to do with
nvm
grabbing a cached package from somewhere. Of course, I may be wrong, but in any case we need to find out what's happening.Do you think you could "replay" what the
PKGBUILD
does? I.e. go intosrc/insomnia-core-11.2.0
and run:And see if it fails and where.
gvaleika commented on 2025-06-10 08:42 (UTC)
I removed ~/.nvm, ~/.npm, /root/.npm - this doesn't change anything. fragment from log:
it takes them from yay insomnia cache. Globally npm installed is 11.4.1-1, but it uses internal binary.
plp commented on 2025-06-10 07:58 (UTC)
Maybe it's cached somewhere? What happens if you delete/rename your
~/.nvm
and~/.npm
directories?Also, what packages do you have installed for Node?
nodejs
is at 24.1.0-2,nvm
at 0.40.3-1, andnpm
at 11.4.1-1.gvaleika commented on 2025-06-10 06:57 (UTC)
It seems there is no lodash on my machine:
1 2 3 4 5 6 .. 10 Next › Last »