Package Details: insomnia 2022.4.2-1

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: Gobidev
Last Packager: Gobidev
Votes: 17
Popularity: 0.85
First Submitted: 2020-10-19 17:29 (UTC)
Last Updated: 2022-06-22 17:19 (UTC)

Latest Comments

Gobidev commented on 2022-03-16 14:56 (UTC)

@rhbvkleef thanks, I will add this as soon as I find some time.

rhbvkleef commented on 2022-03-16 14:14 (UTC)

TheArcaneBrony: Yes, that is possible. OP should set BUILD_TARGETS=tar.gz in the environment.

TheArcaneBrony commented on 2022-03-14 08:01 (UTC)

Do you think it would be possible to skip building of the rpm/deb/appimage/snap version? This would greatly improve build and installation speeds.

Gobidev commented on 2022-02-03 13:39 (UTC) (edited on 2022-02-03 13:48 (UTC) by Gobidev)

GIT diff for latest version (2021.7.2)

diff --git a/.SRCINFO b/.SRCINFO
index 8a06d7d..dc38ff7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = insomnia
    pkgdesc = Cross-platform HTTP and GraphQL Client
-   pkgver = 2021.6.0
+   pkgver = 2021.7.2
    pkgrel = 1
    url = https://github.com/Kong/insomnia
    arch = any
@@ -8,9 +8,9 @@ pkgbase = insomnia
    makedepends = npm
    makedepends = nvm
    makedepends = fontconfig
-   source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.6.0.tar.gz
+   source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.7.2.tar.gz
    source = insomnia.desktop
-   b2sums = 48b9a5283022e81f14faec49400d8fb40e7632f43ac8dad770b63301774d61f24205a1f8656fd652d376e689e8a3788b9a2343dd10bc17c51d142079c94869cd
+   b2sums = 7efd5e63b66489c76edd727bf9c8dda93ae54d05528c6629533a0d2187b558313a24c9591c0b9eadac8538f3f6a2b1dd63a5806784ecffd084f5560f640575dd
    b2sums = 38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e

 pkgname = insomnia
diff --git a/PKGBUILD b/PKGBUILD
index 9f8cbb0..a74b67f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2021.6.0
+pkgver=2021.7.2
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -16,7 +16,7 @@ source=(
   "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('48b9a5283022e81f14faec49400d8fb40e7632f43ac8dad770b63301774d61f24205a1f8656fd652d376e689e8a3788b9a2343dd10bc17c51d142079c94869cd'
+b2sums=('7efd5e63b66489c76edd727bf9c8dda93ae54d05528c6629533a0d2187b558313a24c9591c0b9eadac8538f3f6a2b1dd63a5806784ecffd084f5560f640575dd'
         '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

 _ensure_local_nvm() {

whynothugo commented on 2022-01-07 12:32 (UTC)

naxinz: systemd-sysvcompat is part of the base group, so is expected to be installed.

naxinz commented on 2021-12-31 20:07 (UTC)

@whynothugo A clean chroot does not have systemd-sysvcompat installed, so /sbin/init does not exist, which triggers this bug in nvm: https://github.com/nvm-sh/nvm/commit/1875fe8b40dbe69e2c5f7e6175cdc82a167eb072

Use a fresh build of nvm-git, or temporarily add 'systemd-sysvcompat' to makedepends for this package, until nvm upstream releases the fix.

whynothugo commented on 2021-11-28 21:06 (UTC)

Building fails for me:

==> Starting prepare()...
Found '/build/insomnia/src/insomnia-core-2021.6.0/.nvmrc' with version <12.18.3>
Downloading and installing node v12.18.3...
Binary download failed, trying source.
==> ERROR: A failure occurred in prepare().
    Aborting...

Any ideas?

FuzzyAtish commented on 2021-11-02 06:53 (UTC)

GIT diff for latest version (2021.6.0)

diff --git a/.SRCINFO b/.SRCINFO
index e069350..8a06d7d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = insomnia
        pkgdesc = Cross-platform HTTP and GraphQL Client
-       pkgver = 2021.5.0
+       pkgver = 2021.6.0
        pkgrel = 1
        url = https://github.com/Kong/insomnia
        arch = any
@@ -8,9 +8,9 @@ pkgbase = insomnia
        makedepends = npm
        makedepends = nvm
        makedepends = fontconfig
-       source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.5.0.tar.gz
+       source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.6.0.tar.gz
        source = insomnia.desktop
-       b2sums = 803856a02f950b1cf6ca14271343d287c1315a05c1f47115e446518f35fb0a32bf1a777e96ddceebce9ee0b57c168aee21c771d08d299c4474ed7e3f36922466
+       b2sums = 48b9a5283022e81f14faec49400d8fb40e7632f43ac8dad770b63301774d61f24205a1f8656fd652d376e689e8a3788b9a2343dd10bc17c51d142079c94869cd
        b2sums = 38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e

 pkgname = insomnia
diff --git a/PKGBUILD b/PKGBUILD
index 02c0fcb..9f8cbb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2021.5.0
+pkgver=2021.6.0
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -16,7 +16,7 @@ source=(
   "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('803856a02f950b1cf6ca14271343d287c1315a05c1f47115e446518f35fb0a32bf1a777e96ddceebce9ee0b57c168aee21c771d08d299c4474ed7e3f36922466'
+b2sums=('48b9a5283022e81f14faec49400d8fb40e7632f43ac8dad770b63301774d61f24205a1f8656fd652d376e689e8a3788b9a2343dd10bc17c51d142079c94869cd'
         '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

 _ensure_local_nvm() {

olingern commented on 2021-08-13 18:27 (UTC)

@harrydt's fix worked for me:

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

FuzzyAtish commented on 2021-07-13 14:08 (UTC) (edited on 2021-07-13 14:10 (UTC) by FuzzyAtish)

@Ten0 - I'm sorry that you weren't able to get it built. I just tried it again with the latest version using the git diff patch from below and it worked for me:

diff --git a/.SRCINFO b/.SRCINFO
index 85a2b5e..70b7144 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = insomnia
        pkgdesc = Cross-platform HTTP and GraphQL Client
-       pkgver = 2021.3.0
+       pkgver = 2021.4.1
        pkgrel = 1
        url = https://github.com/Kong/insomnia
        arch = any
@@ -8,9 +8,9 @@ pkgbase = insomnia
        makedepends = npm
        makedepends = nvm
        makedepends = fontconfig
-       source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.3.0.tar.gz
+       source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.4.1.tar.gz
        source = insomnia.desktop
-       b2sums = 1207e255f17b3080fd3c023d54369791fae3b62a38fb7d6237dfbe194981aaff309855f148eb10fa0c3f2a6166804ae1bcae7f5180ecd2e1b6884ecb02251ed0
+       b2sums = 91300c37a8ccccfd54e3fba051b54f28478652f964e5eed29427defed912b525a9cd394da5641bcebf3dad5a8a1af5023aed69de5658da5424e2439b6822057b
        b2sums = 38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e

 pkgname = insomnia
diff --git a/PKGBUILD b/PKGBUILD
index c326bce..1aacad1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2021.3.0
+pkgver=2021.4.1
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -16,8 +16,8 @@ source=(
   "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('1207e255f17b3080fd3c023d54369791fae3b62a38fb7d6237dfbe194981aaff309855f148eb10fa0c3f2a6166804ae1bcae7f5180ecd2e1b6884ecb02251ed0'
-        '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')
+b2sums=('91300c37a8ccccfd54e3fba051b54f28478652f964e5eed29427defed912b525a9cd394da5641bcebf3dad5a8a1af5023aed69de5658da5424e2439b6822057b'
+       '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

 _ensure_local_nvm() {
   # lets be sure we are starting clean

Ten0 commented on 2021-06-28 20:28 (UTC)

Hello, Thanks everyone for your suggestions. <3 Unfortunately I still have the same issue on all 3 of the arch computers I have at hand, even with the latest version, even when manually calling git clone & makepkg. Same log as before: https://pastebin.com/PFZiwL46. I'm still interested in any help that could be provided. :)

finek commented on 2021-06-07 12:39 (UTC)

nevermind, it seems that i have other problems with my system

finek commented on 2021-06-07 11:37 (UTC)

why it takes literally hours to build on ryzen 5600x? stuck at lerna info Installing external dependencies

luxcem commented on 2021-05-04 09:32 (UTC)

I updated the package, let me know if this doesn't work.

FuzzyAtish commented on 2021-05-03 21:36 (UTC) (edited on 2021-05-03 21:41 (UTC) by FuzzyAtish)

@Ten0, with the latest release - 2021.3.0 - what works for me is the following:
First, clone the git repo from AUR:

git clone https://aur.archlinux.org/insomnia.git/

Then, enter the directory

cd insomnia/

Copy paste the following diff into a file in the source dir, e.g. insomnia.patch

diff --git a/.SRCINFO b/.SRCINFO
index 988f715..85a2b5e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = insomnia
    pkgdesc = Cross-platform HTTP and GraphQL Client
-   pkgver = 2021.2.1
+   pkgver = 2021.3.0
    pkgrel = 1
    url = https://github.com/Kong/insomnia
    arch = any
@@ -8,9 +8,9 @@ pkgbase = insomnia
    makedepends = npm
    makedepends = nvm
    makedepends = fontconfig
-   source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.2.1.tar.gz
+   source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.3.0.tar.gz
    source = insomnia.desktop
-   b2sums = 23595c74e295256bbd0822a5bdade15f251aaf23f72e6115c4ed3d24b97de36dd1eebda60a3b10b874abe18fa04a875543ef2c2cbe0edf99306c88072b5ee7af
+   b2sums = 1207e255f17b3080fd3c023d54369791fae3b62a38fb7d6237dfbe194981aaff309855f148eb10fa0c3f2a6166804ae1bcae7f5180ecd2e1b6884ecb02251ed0
    b2sums = 38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e

 pkgname = insomnia
diff --git a/PKGBUILD b/PKGBUILD
index 368283e..c84ef26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2021.2.1
+pkgver=2021.3.0
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -16,7 +16,7 @@ source=(
   "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('23595c74e295256bbd0822a5bdade15f251aaf23f72e6115c4ed3d24b97de36dd1eebda60a3b10b874abe18fa04a875543ef2c2cbe0edf99306c88072b5ee7af'
+b2sums=('1207e255f17b3080fd3c023d54369791fae3b62a38fb7d6237dfbe194981aaff309855f148eb10fa0c3f2a6166804ae1bcae7f5180ecd2e1b6884ecb02251ed0'
         '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

 _ensure_local_nvm() {
@@ -51,4 +51,3 @@ package() {
   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}"
 }
-

Apply the above created patch

git apply insomnia.patch

Build and install the package with the new version

makepkg -si

Ten0 commented on 2021-04-20 12:12 (UTC) (edited on 2021-04-26 12:29 (UTC) by Ten0)

@FuzzyAtish it looks like your proposed changes were applied by the maintainer, but the issue persists: https://pastebin.com/qXtN9bes

Is anybody able to install this: - With yay? - With another AUR helper?

FuzzyAtish commented on 2021-03-20 15:21 (UTC) (edited on 2021-05-03 21:40 (UTC) by FuzzyAtish)

@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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2020.5.2
+pkgver=2021.1.1
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -13,10 +13,10 @@ license=('MIT')
 depends=()
 makedepends=('npm' 'nvm' 'fontconfig')
 source=(
-  "https://github.com/Kong/insomnia/archive/core@${pkgver}/${pkgname}-${pkgver}.tar.gz"
+  "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('5cd5f55b437926e85307e69a9c96349d1ea2516e34bea29bfa53c74d1bd5573d1a4bbbf4dcc181a51430d66bdb308f0eb982201b9d54fb63d3eb194ed701dffe'
+b2sums=('e4e8bfa9257e8d81f4364f6f0d632273f48fbda55d2127f229ed0fd7369c82c1abd36668905ed245e6d691b0a4b0cfb5f6fdbb440113d0c34eb656b2aee2e64d'
         '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

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

 build() {
   _ensure_local_nvm
   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/com.insomnia.app/linux-unpacked/." "$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 (UTC)

For a while now I've been unable to build it (yay): https://pastebin.com/PFZiwL46

harrydt commented on 2021-01-28 15:34 (UTC)

@procarrera: try

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

procarrera commented on 2021-01-19 01:07 (UTC) (edited on 2021-01-19 01:08 (UTC) by procarrera)

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.

DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.2.1
DISTRIB_CODENAME=Nibia
DISTRIB_DESCRIPTION="Manjaro Linux"

Does anyone has a light?

Thanks

rafaelff commented on 2020-12-22 20:24 (UTC)

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

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

See full build log: http://ix.io/2Jbj

luxcem commented on 2020-12-17 16:37 (UTC)

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 (UTC)

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/com.insomnia.app/node_modules/node-libcurl/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/com.insomnia.app/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/com.insomnia.app/node_modules/node-libcurl/lib/binding --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/FontManager.cc:2:                                                                                                                                                                                                             
/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/FontManagerLinux.cc:2:                                                                                                                                                                                                        
/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 (UTC)

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 (UTC)

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 (UTC)

Works for me now, thanks!

kescherAUR commented on 2020-11-05 23:12 (UTC)

Can confirm that @wereii's fix lets it adhere to guidelines.

However, I will defend yay here, because makepkg can set to only prepare, only build, only package, etc. Environment variables are also not going to carry over from this. This means that in order to make a proper PKGBUILD, it should be possible to build a package with each step seperated. Again, @wereii's gist does make that possible. I smell a pkgrel=7 :)

wereii commented on 2020-11-05 22:21 (UTC) (edited on 2020-11-05 22:23 (UTC) by wereii)

Bad news. Pulling & bulding the package with yay fails with

Incorrect node version installed ...

Current node version -> 14.15.0
Expected node version -> 12.18.3

Now, I made my homework and it seems that yay handles env differently then the rest(?) of aur helpers: https://github.com/Jguer/yay/issues/1004

Whatever you do in prepare with env will not transfer to other steps. With pamac or just makepkg the pkgbuild works as expected.

My solution is there https://gist.github.com/wereii/5b50c2be3f2289009827d5ef95f09708

One other thing is that you don't have to specify node version, insomnia packs .nvmrc with it and bare nvm install will look for that file in current dir.

By the way, electron-builder can also package into pacman and dir which will both produce "portable" binaries of the package (so installation that is expected to live in /opt).

Insomnia isn't using it's own custom electron version so using the system-wide electron (as docs say) seems ok, though I wonder if it's not asking for trouble down the pipe (when your system electron gets updated with breaking changes for example).

whynothugo commented on 2020-11-05 19:09 (UTC)

Thanks for your patience and your efforts maintaining this package!

luxcem commented on 2020-11-05 18:41 (UTC)

It should be good with the new version, sorry for going back and forth, thanks for all the feedbacks.

kescherAUR commented on 2020-11-05 18:33 (UTC)

I expected the previous comment to show up soon...

I think the init for the nvm folder can be configured to be inside srcdir.

whynothugo commented on 2020-11-05 18:15 (UTC) (edited on 2020-11-05 18:16 (UTC) by whynothugo)

This package leaves temporary files in $HOME/.nvm for the machine / user that builds the package.

PKGBUILDs should not alter the home directory of the user building, especially not leave litter behind.

kescherAUR commented on 2020-11-05 14:39 (UTC)

@luxcem No, it modifies ~/.nvm, so it interferes with all new shells.

luxcem commented on 2020-11-05 14:11 (UTC) (edited on 2020-11-05 18:46 (UTC) by luxcem)

@kescherAUR I think makepkg uses its own shell so we don't need to restore node version after the build. The env variables are only local.

kescherAUR commented on 2020-11-05 14:07 (UTC)

This fixes the build for people who haven't had nvm sourced before the build() function. Additionally, it only restores if the user hasn't changed the nvm version after the prepare() function.

diff --git a/.SRCINFO b/.SRCINFO
index d97d765..ba198a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = insomnia
        pkgdesc = Cross-platform HTTP and GraphQL Client
        pkgver = 2020.4.2
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/Kong/insomnia
        arch = any
        license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 24a23b0..f931ef9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgname=insomnia
 pkgver=2020.4.2
-pkgrel=4
+pkgrel=5
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
 url="https://github.com/Kong/insomnia"
@@ -39,8 +39,11 @@ build() {
   npm run bootstrap
   GIT_TAG="core@${pkgver}" npm run app-package

-  # Restore the previous node version so as not to interfere with a user's picked node version on each build
-  nvm use "$(cat "/tmp/${pkgname}-nvm-current.tmp")"
+  # Restore the previous node version if user hasn't changed it
+  source /usr/share/nvm/init-nvm.sh || [ -n "$NVM_BIN" ]
+  oldcurrent="$(cat "/tmp/${pkgname}-nvm-current.tmp")"
+  newcurrent="$(nvm current)"
+  [ "$oldcurrent" = "$newcurrent" ] && ( nvm use "$oldcurrent" || true )
 }

 package() {

sardaukar commented on 2020-11-05 13:27 (UTC)

I'll try using the fix in https://github.com/nvm-sh/nvm/issues/303#issuecomment-121086278 for the fish shell

luxcem commented on 2020-11-05 13:24 (UTC)

Thanks @kescherAUR, it seems we still have an issue with fish shell (https://github.com/nvm-sh/nvm/issues/303) but I don't see an alternative right now.

kescherAUR commented on 2020-11-05 13:12 (UTC)

This git diff:

  • Fixes the build issue (for me at least)
  • Restores a user's previously picked node version after build
diff --git a/.SRCINFO b/.SRCINFO
index e27f6a3..d97d765 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = insomnia
    pkgdesc = Cross-platform HTTP and GraphQL Client
    pkgver = 2020.4.2
-   pkgrel = 3
+   pkgrel = 4
    url = https://github.com/Kong/insomnia
    arch = any
    license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index c6367a1..4563957 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgname=insomnia
 pkgver=2020.4.2
-pkgrel=3
+pkgrel=4
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
 url="https://github.com/Kong/insomnia"
@@ -19,8 +19,7 @@ source=(
 )
 b2sums=('2527045680d99d0321ce9a29f8d3e9302bd07c79d059d0a2e9c3f963d2adb45c9566668faca817a0f4913ee22728ebb8f553463ae6cdc731793520a3371d0953'
         'd2ceeb224fa3a35551b0929648d5e066da93a451a66b73373c13ed0dd89575a2482c2dc8e7499b214d0d62cca2532189dac9a681537751a5a86b592cae5686c7'
-        '7ea4aff2779267bfc5f7be5533d70b07a3da1c8bfed424c9f6cc9806fe6567a4cd40144264a8827b016e51f31c6dbb395c90aac4d333f297070213c77a0b2c9c'
-)
+        '7ea4aff2779267bfc5f7be5533d70b07a3da1c8bfed424c9f6cc9806fe6567a4cd40144264a8827b016e51f31c6dbb395c90aac4d333f297070213c77a0b2c9c')

 prepare() {
   # Use local electron version
@@ -29,14 +28,19 @@ prepare() {
   cd ${pkgname}-core-${pkgver}
   electron_version=$(electron --version | sed s/v//)
   sed -i 's/"electron": ".+"/"electron": "'"$electron_version"'"/g' packages/insomnia-app/package.json
-  source /usr/share/nvm/init-nvm.sh
+  source /usr/share/nvm/init-nvm.sh || [ -n "$NVM_BIN" ]
+  # Backup the nvm version used before
+  nvm current > "/tmp/${pkgname}-nvm-current.tmp"
   nvm install ${_nodeversion}
+  nvm use ${_nodeversion}
 }

 build() {
   cd ${pkgname}-core-${pkgver}
   npm run bootstrap
   GIT_TAG="core@${pkgver}" npm run app-package
+  # Restore the previous node version so as not to interfere with a user's picked node version on each build
+  nvm use "$(cat "/tmp/${pkgname}-nvm-current.tmp")"
 }

 package() {

kescherAUR commented on 2020-11-05 12:44 (UTC) (edited on 2020-11-05 12:44 (UTC) by kescherAUR)

After the PKGBUILD update, it still breaks as soon as nvm-init.sh is sourced.

==> Making package: insomnia 2020.4.2-3 (Do 05 Nov 2020 13:41:44)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found insomnia-2020.4.2.tar.gz
  -> Found insomnia.desktop
  -> Found insomnia.sh
==> Validating source files with b2sums...
    insomnia-2020.4.2.tar.gz ... Passed
    insomnia.desktop ... Passed
    insomnia.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting insomnia-2020.4.2.tar.gz with bsdtar
==> Starting prepare()...
==> ERROR: A failure occurred in prepare().
    Aborting...

If I do the commands in prepare() and build() by hand and just package as before, it works.

dankobgd commented on 2020-11-05 12:43 (UTC)

i get an error during the build

Building insomnia...
==> Making package: insomnia 2020.4.2-3 (Thu Nov  5 13:38:57 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found insomnia-2020.4.2.tar.gz
  -> Found insomnia.desktop
  -> Found insomnia.sh
==> Validating source files with b2sums...
    insomnia-2020.4.2.tar.gz ... Passed
    insomnia.desktop ... Passed
    insomnia.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting insomnia-2020.4.2.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
==> ERROR: A failure occurred in prepare().
    Aborting...

kescherAUR commented on 2020-11-05 09:03 (UTC) (edited on 2020-11-05 09:08 (UTC) by kescherAUR)

Executing every single line in the build() function by hand works... So I can just do makepkg -eR and I'll have a working package. Weird.

kescherAUR commented on 2020-11-05 08:51 (UTC) (edited on 2020-11-05 08:52 (UTC) by kescherAUR)

Since the update for this package to use nvm, the package fails in the build() function. More specifically, it fails at the line

source /usr/share/nvm/init-nvm.sh

even though manually sourcing that works fine. I use bash.

sardaukar commented on 2020-11-05 02:20 (UTC) (edited on 2020-11-05 02:24 (UTC) by sardaukar)

Still getting an error on build() - is there a fix?

Running "source /usr/share/nvm/init-nvm.sh" gives me an error I think because I run the fish shell. If I source it on a bash prompt, it works fine.

/usr/share/nvm/nvm.sh (line 922): Unexpected ')' found, expecting '}'
      "${NVM_NODE_PREFIX}")
                          ^
from sourcing file /usr/share/nvm/nvm.sh
    called on line 4 of file /usr/share/nvm/init-nvm.sh
from sourcing file /usr/share/nvm/init-nvm.sh
source: Error while reading file “/usr/share/nvm/nvm.sh”
/usr/share/nvm/bash_completion (line 35): Unexpected ')' found, expecting '}'
      alias) __nvm_installed_nodes ;;
           ^
from sourcing file /usr/share/nvm/bash_completion
    called on line 5 of file /usr/share/nvm/init-nvm.sh
from sourcing file /usr/share/nvm/init-nvm.sh
source: Error while reading file “/usr/share/nvm/bash_completion”

luxcem commented on 2020-11-04 12:14 (UTC)

It might be but there is no guarantee, the nodejs-lts-fermium version is not officially supported. Also nodejs-lts-fermium conflicts with nodejs and I rather not force people to downgrade nodejs to @v14 just for this package. I think nvm is the "cleanest" solution, but not the most efficient.

twnaing commented on 2020-11-04 02:47 (UTC)

nvm affects all the terminals (and it takes time to startup). Wouldn't nodejs-lts-fermium (nodejs 14.x) be more suitable?

luxcem commented on 2020-11-03 11:57 (UTC)

It seems to be an issue with node@v15 as it builds with node@v14. I updated the PKGBUILD to use nvm instead and build it with the supported version.

blallo commented on 2020-11-02 12:10 (UTC)

Like @WhyNotHugo, I am getting an error. The log content is the following

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'app-package' ]
2 info using npm@6.14.8
3 info using node@v15.0.1
4 verbose run-script [ 'preapp-package', 'app-package', 'postapp-package' ]
5 info lifecycle insomnia@1.0.0~preapp-package: insomnia@1.0.0
6 info lifecycle insomnia@1.0.0~app-package: insomnia@1.0.0
7 verbose lifecycle insomnia@1.0.0~app-package: unsafe-perm in lifecycle true
8 verbose lifecycle insomnia@1.0.0~app-package: PATH: REDACTED
9 verbose lifecycle insomnia@1.0.0~app-package: CWD: /home/leo/.cache/pikaur/build/insomnia/src/insomnia-core-2020.4.2
10 silly lifecycle insomnia@1.0.0~app-package: Args: [ '-c', 'npm run package --prefix packages/insomnia-app' ]
11 silly lifecycle insomnia@1.0.0~app-package: Returned: code: 1  signal: null
12 info lifecycle insomnia@1.0.0~app-package: Failed to exec app-package script
13 verbose stack Error: insomnia@1.0.0 app-package: `npm run package --prefix packages/insomnia-app`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (node:events:327:20)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (node:events:327:20)
13 verbose stack     at maybeClose (node:internal/child_process:1048:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
14 verbose pkgid insomnia@1.0.0
15 verbose cwd /home/leo/.cache/pikaur/build/insomnia/src/insomnia-core-2020.4.2
16 verbose Linux 5.9.1-arch1-1
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "app-package"
18 verbose node v15.0.1
19 verbose npm  v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error insomnia@1.0.0 app-package: `npm run package --prefix packages/insomnia-app`
22 error Exit status 1
23 error Failed at the insomnia@1.0.0 app-package script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

whynothugo commented on 2020-10-30 15:25 (UTC)

I'm getting an error building:

[package] Removing existing directories
[package] Packaging app
  • electron-builder  version=22.7.0 os=5.9.1-arch1-1
  • writing effective config  file=dist/com.insomnia.app/builder-effective-config.yaml
  ⨯ node_modules.Dependency.Dependencies: ReadMapCB: expect { or n, but found [, error found in #10 byte of ...|ncies" : [],
    "main|..., bigger context ...|/garycourt/JSV.git"
        }
    ],
    "dependencies" : [],
    "main" : "lib/jsv.js",
    "keywords" : ["json"|...
Error reading package.json: /home/hugo/.cache/yay/aurdata/insomnia/src/insomnia-core-2020.4.2/packages/insomnia-app/build/com.insomnia.app/node_modules/JSV/package.json
[package] ERROR: ExecError: /home/hugo/.cache/yay/aurdata/insomnia/src/insomnia-core-2020.4.2/packages/insomnia-app/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/home/hugo/.cache/yay/aurdata/insomnia/src/insomnia-core-2020.4.2/packages/insomnia-app/node_modules/builder-util/src/util.ts:243:14)
    at Object.onceWrapper (node:events:434:26)
    at ChildProcess.emit (node:events:327:20)
    at maybeClose (node:internal/child_process:1048:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5) {
  exitCode: 1,
  alreadyLogged: false,
  code: 'ERR_ELECTRON_BUILDER_CANNOT_EXECUTE'
}
npm ERR! code 1
npm ERR! path /home/hugo/.cache/yay/aurdata/insomnia/src/insomnia-core-2020.4.2/packages/insomnia-app
npm ERR! command failed
npm ERR! command sh -c node ./scripts/package.js

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hugo/.npm/_logs/2020-10-30T15_24_43_147Z-debug.log
npm ERR! code 1
npm ERR! path /home/hugo/.cache/yay/aurdata/insomnia/src/insomnia-core-2020.4.2
npm ERR! command failed
npm ERR! command sh -c npm run package --prefix packages/insomnia-app

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hugo/.npm/_logs/2020-10-30T15_24_43_171Z-debug.log

Any hints?

Kniyl commented on 2020-10-29 09:33 (UTC)

I got an error during the build:

⨯ Get "https://github.com/electron/electron/releases/download/v10.1.5/electron-v10.1.5-linux-x64.zip": dial tcp: lookup github.com on [::1]:53: read udp [::1]:52111->[::1]:53: read: connection refused

Is there something I can do on my end to fix it?

wereii commented on 2020-10-27 11:18 (UTC)

@luxcem Confirming, works like a charm now. Thank you.

luxcem commented on 2020-10-26 12:54 (UTC)

@wereii It should be fixed now.

wereii commented on 2020-10-20 10:03 (UTC) (edited on 2020-10-20 10:04 (UTC) by wereii)

There is a abi mismatch with electron from repository, running insomnia fails with error:

The module ... was compiled against a different Node.js version using
NODE_MODULE_VERSION 80. This version of Node.js requires
NODE_MODULE_VERSION 82.

/usr/bin/electron -a says 82

This is partly caused by the insomnia's convoluted packaging (npm->lerna->packages/insomnia-app) but as well by your current pkgbuild which only rips out the resulting asar bundle and then running it with system-wide electron.

SpotlightKid commented on 2020-09-09 17:38 (UTC)

This package should be named insomnia and the insomnia package should be renamed to insomnia-bin.

vscncls commented on 2020-04-27 11:17 (UTC)

@tdemin done!

tdemin commented on 2020-04-27 10:46 (UTC)

Needs npm in build dependencies list. If building without npm installed:

==> Starting build()...
/home/tdemin/.cache/yay/insomnia-src/PKGBUILD: line 45: npm: command not found
==> ERROR: A failure occurred in build().
    Aborting...

neeks commented on 2019-08-13 16:59 (UTC)

@ccat3z thanks! I'm so use to scripting for cross-distro environments that it didn't cross my mind that realpath could be used for easier detection

ccat3z commented on 2019-08-13 16:34 (UTC) (edited on 2019-08-13 16:35 (UTC) by ccat3z)

@neeks thanks for your help. 6.6.2-2 support both electron3 and electron3-bin.

If you want to install electron3-bin instead of electron3, you can install electron3-bin before building this package.

$ yay -S electron3-bin --asdeps
$ yay -S insomnia-src

neeks commented on 2019-08-13 16:03 (UTC)

PKGBUILD for anyone wanting to use electron3-bin:

# Maintainer: ccat3 <c0ldcat3z@gmail.com>
# Contributor: bruceutut <zttt183525594@gmail.com>

pkgname=insomnia-src
_name=insomnia
pkgver=6.6.2
pkgrel=1
pkgdesc="Cross-platform HTTP and GraphQL Client (Build from source)"
arch=('x86_64' 'i686')
url="https://github.com/getinsomnia/insomnia"
license=('MIT')
depends=('electron3')
provides=("$_name")
conflicts=("$_name")
source=("$_name-$pkgver.src.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('815a4c5ab70218c92aa0082afa175ef4e5dd58d2e831655a48c960ecb64d6665')

prepare() {
    cd "$_name-$pkgver/packages/insomnia-app"

    # Make electron version to match community/electron
    electronV=$(electron3 --version)
    electronVer=${electronV#v}
    sed -i "/\"electron\": \"/c\\\"electron\": \"$electronVer\"," package.json

    # Edit electron builder config
    electronLib=$(basename $(find /usr/lib -maxdepth 1 -name "electron3*"))

    sed -i 's/"AppImage",//' .electronbuilder
    sed -i 's/"deb",//' .electronbuilder
    sed -i 's/"tar.gz",//' .electronbuilder
    sed -i 's/"snap",//' .electronbuilder
    sed -i 's/"rpm"/"dir"/' .electronbuilder
    sed -i "s/\"appId\": \"com.insomnia.app\",/\"appId\": \"com.insomnia.app\",\"electronDist\": \"\/usr\/lib\/$electronLib\",/" .electronbuilder
}

build() {
    cd "$_name-$pkgver"
    npm run bootstrap
    npm run app-package
}

package() {
    cd "$srcdir/$_name-$pkgver/packages/insomnia-app/dist/linux-unpacked"

    # Install asar files
    install -Dm644 resources/app.asar "$pkgdir/usr/share/insomnia/app.asar"
    install -Dm644 resources/bin/yarn-standalone.js "$pkgdir/usr/share/insomnia/bin/yarn-standalone.js"

    cd "$srcdir/$_name-$pkgver/packages/insomnia-app/build"

    # Install start script
    echo "#!/usr/bin/env sh
exec electron3 /usr/share/insomnia/app.asar \$@
" > "$srcdir/insomnia.sh"
    install -Dm755 "$srcdir/insomnia.sh" "$pkgdir/usr/bin/insomnia"

    # Install desktop file
    echo "[Desktop Entry]
Name=Insomnia
Comment=Debug APIs like a human, not a robot
Exec=insomnia %U
Terminal=false
Type=Application
Icon=insomnia
MimeType=x-scheme-handler/insomnia;
Categories=Development;
" > "$srcdir/insomnia.desktop"
    install -Dm644 "$srcdir/insomnia.desktop" "$pkgdir/usr/share/applications/insomnia.desktop"

    # Install icons
    cd icons
    for size in 16 32 48 128 256 512; do
        install -Dm644 ${size}x${size}.png "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/insomnia.png"
    done
}

neeks commented on 2019-08-09 03:21 (UTC) (edited on 2019-08-13 15:26 (UTC) by neeks)

Is it possible we could make the necessary changes to support detection of electron3-bin and not just electron3? Looks like the sed'ing for electron-buidler would need tweaking to use the output of which electron3.

Would prefer to not have to compile a legacy electron build it needs updating (e.g security-related patches, shared lib updates). The following error message was thrown when electron3-bin is installed:

ENOENT: no such file or directory, scandir '/usr/lib/electron3'

EDIT: Libevent was recently updated and electron3 needs to be recompiled for the updated shared library -- please update to work with electron3-bin. Thanks for the package regardless.

gandriyko commented on 2019-07-29 21:28 (UTC) (edited on 2019-07-29 21:29 (UTC) by gandriyko)

on build:

insomnia-app: Could not detect abi for version 5.0.8 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
insomnia-app: Error: Could not detect abi for version 5.0.8 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
insomnia-app:     at Object.getAbi (/mnt/data/home/.cache/pikaur/build/insomnia-src/src/insomnia-6.5.4/packages/insomnia-app/node_modules/node-abi/index.js:30:9)
insomnia-app:     at new Rebuilder (/mnt/data/home/.cache/pikaur/build/insomnia-src/src/insomnia-6.5.4/packages/insomnia-app/node_modules/electron-rebuild/lib/src/rebuild.js:122:28)
insomnia-app:     at rebuildWithOptions (/mnt/data/home/.cache/pikaur/build/insomnia-src/src/insomnia-6.5.4/packages/insomnia-app/node_modules/electron-rebuild/lib/src/rebuild.js:393:23)
insomnia-app:     at Object.doRebuild [as rebuild] (/mnt/data/home/.cache/pikaur/build/insomnia-src/src/insomnia-6.5.4/packages/insomnia-app/node_modules/electron-rebuild/lib/src/rebuild.js:400:16)
insomnia-app:     at Object.<anonymous> (/mnt/data/home/.cache/pikaur/build/insomnia-src/src/insomnia-6.5.4/packages/insomnia-app/node_modules/electron-rebuild/lib/src/cli.js:115:33)
insomnia-app:     at Generator.next (<anonymous>)
insomnia-app:     at fulfilled (/mnt/data/home/.cache/pikaur/build/insomnia-src/src/insomnia-6.5.4/packages/insomnia-app/node_modules/electron-rebuild/lib/src/cli.js:5:58)
insomnia-app: npm ERR! code ELIFECYCLE
insomnia-app: npm ERR! errno 255
insomnia-app: npm ERR! insomnia-app@1.1.7 bootstrap: `rimraf node_modules/fsevents && rimraf node_modules/graphql-language-service-interface/dist/*.flow && electron-rebuild -f -w insomnia-libcurl`
insomnia-app: npm ERR! Exit status 255
insomnia-app: npm ERR!