Package Details: insomnia 2021.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: insomnia
Description: Cross-platform HTTP and GraphQL Client
Upstream URL:
Licenses: MIT
Submitter: kpcyrd
Maintainer: luxcem
Last Packager: luxcem
Votes: 11
Popularity: 1.31
First Submitted: 2020-10-19 17:29
Last Updated: 2021-03-29 10:22

Latest Comments

1 2 3 4 5 Next › Last »

FuzzyAtish commented on 2021-03-20 15:21

@Ten0, after using the latest release source code I had to make the following modifications to the PKGBUILD file:

diff --git a/PKGBUILD b/PKGBUILD
index 63bb3c7..9868bdc 100644
@@ -3,7 +3,7 @@
 # Contributor: vscncls <>

 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -13,10 +13,10 @@ license=('MIT')
 makedepends=('npm' 'nvm' 'fontconfig')
-  "${pkgver}/${pkgname}-${pkgver}.tar.gz"
+  "${pkgver}.tar.gz"

 _ensure_local_nvm() {
@@ -33,13 +33,13 @@ _ensure_local_nvm() {
 prepare() {
   cd ${pkgname}-core-${pkgver}
-  nvm install
+  nvm install

 build() {
   cd ${pkgname}-core-${pkgver}
-  npm run bootstrap
+  npm run bootstrap
   GIT_TAG="core@${pkgver}" npm run app-package

@@ -47,7 +47,7 @@ package() {
   install -Dm644 ${pkgname}.desktop -t "${pkgdir}/usr/share/applications"
   cd ${pkgname}-core-${pkgver}
   install -d "${pkgdir}/opt/insomnia"
-  cp -r "packages/insomnia-app/dist/" "$pkgdir/opt/insomnia"
+  cp -r "packages/insomnia-app/dist/linux-unpacked/." "$pkgdir/opt/insomnia"
   install -Dm644 packages/insomnia-app/app/ui/images/insomnia-core-logo.png "${pkgdir}/usr/share/pixmaps/insomnia.png"
   install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"

Ten0 commented on 2021-01-28 15:41

For a while now I've been unable to build it (yay):

harrydt commented on 2021-01-28 15:34

@procarrera: try

sudo ln -s /opt/insomnia/insomnia /usr/bin/insomnia

procarrera commented on 2021-01-19 01:07

Hi, I've just installed Insomnia in my Manjaro XFCE but when I click in the icon to open the program, nothing seems to happen.


Does anyone has a light?


rafaelff commented on 2020-12-22 20:24

Please add fontconfig to makedepends. This will solve the issue:

lerna ERR! npm install stderr:
../src/ fatal error: fontconfig/fontconfig.h: No such file or directory
    1 | #include <fontconfig/fontconfig.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

See full build log:

luxcem commented on 2020-12-17 16:37

I changed the PKGBUILD to use provided electron version instead of system installed.

The downside is the increased footprint but insomnia team is not using up to date electron or node.

Thank you for your feedbacks.

entertainyou commented on 2020-12-14 14:41

Compilation seems to break for me when electron is updated from version 10 to 11, see following logs:

make: Leaving directory '/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/'                                                                                   
Failed to execute '/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/.nvm/versions/node/v12.18.3/bin/node /home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/.nvm/versions/node/v12.18.3/lib/node_modules/npm/node_modules/n

ode-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/ --module_name=node_libcurl --module_path=/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/ --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v11.1' (1)

                errorOut=In file included from /home/foo/.electron-gyp/11.1.0/include/node/node.h:67,             
                 from ../src/                                                                                                                                                                                                             
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:9182:75: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]                                                                            
 9182 |   void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);                                                                                                                                                                       
      |                                                                           ^                                                                                                                                                                        
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:7384:16: note: declared here                                     
 7384 | typedef void (*MicrotasksCompletedCallback)(Isolate*);                                                                                                                                                                                             
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                         
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:9190:78: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]                                                                            
 9190 |   void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);                                    
      |                                                                              ^                                                                                                                                                                     
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:7384:16: note: declared here                                     
 7384 | typedef void (*MicrotasksCompletedCallback)(Isolate*);                                                             
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                             In file included from /home/foo/.electron-gyp/11.1.0/include/node/node.h:67,                                                                                                                                                                      
                 from ../src/FontDescriptor.h:3,                                                                                                                                                                                                           
                 from ../src/                                                                                                                                                                                                        
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:9182:75: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]                                                                            
 9182 |   void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);

whynothugo commented on 2020-12-10 19:54

Can you include a better quality icon with this package?

The one installed right now is 16x16px, which is absurdly tiny. There's a 1024x1024px one in packages/insomnia-app/app/ui/images/insomnia-core-logo.png.

luxcem commented on 2020-11-07 14:59

Thanks @wereii for the fix, I will add this information to the Node.JS package guidelines it's really usefull. I agree with eletron builder, for the moment I think we can keep the system electron, keeping in mind it can change in the future.

sardaukar commented on 2020-11-06 01:22

Works for me now, thanks!