Search Criteria
Package Details: insomnia 12.0.0-1
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: | 26 |
| Popularity: | 0.40 |
| First Submitted: | 2020-10-19 17:29 (UTC) |
| Last Updated: | 2025-11-06 11:27 (UTC) |
Dependencies (4)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- npm (python-nodejs-wheelAUR, corepackerAUR) (make)
- nvm (nvm-gitAUR) (make)
- yarn (yarn-berryAUR, yarn-pnpm-corepackAUR, corepackerAUR) (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
yaybuilds 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
npmcache 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 installfails with the same error messages?What happens if you delete
.nvmandnode_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
nvmto install the versions ofnpmandnodejsthat it needs.In
_ensure_local_nvm()it instructsnvmto use installnodejsversion 22.14.0:And then it proceeds with
prepare()andbuild().Version 22.14.0 is installed because this is what
insomnianeeds. It's specified in the source's.nvmrcfile.I still think your problem has to do with
nvmgrabbing 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
PKGBUILDdoes? I.e. go intosrc/insomnia-core-11.2.0and 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
~/.nvmand~/.npmdirectories?Also, what packages do you have installed for Node?
nodejsis at 24.1.0-2,nvmat 0.40.3-1, andnpmat 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 »