ope@localhost ~> git clone --recursive https://github.com:balena-io/etcher Cloning into 'etcher'... fatal: unable to access 'https://github.com:balena-io/etcher/': URL using bad/illegal format or missing URL hope@localhost ~ [128]> git clone --recursive https://github.com/balena-io/etcher Cloning into 'etcher'... remote: Enumerating objects: 25259, done. remote: Counting objects: 100% (90/90), done. remote: Compressing objects: 100% (68/68), done. remote: Total 25259 (delta 34), reused 46 (delta 12), pack-reused 25169 Receiving objects: 100% (25259/25259), 99.22 MiB | 633.00 KiB/s, done. Resolving deltas: 100% (15663/15663), done. Submodule 'scripts/resin' (https://github.com/balena-io/scripts.git) registered for path 'scripts/resin' Cloning into '/usr/home/hope/etcher/scripts/resin'... remote: Enumerating objects: 1843, done. remote: Counting objects: 100% (199/199), done. remote: Compressing objects: 100% (123/123), done. remote: Total 1843 (delta 75), reused 146 (delta 55), pack-reused 1644 Receiving objects: 100% (1843/1843), 338.01 KiB | 901.00 KiB/s, done. Resolving deltas: 100% (908/908), done. Submodule path 'scripts/resin': checked out 'd1b05ad312e65ea82b1c16b31f5af3c0b5fa2777' hope@localhost ~> rm -rf node_modules hope@localhost ~> make electron-develop make: don't know how to make electron-develop. Stop make: stopped in /usr/home/hope hope@localhost ~ [2]> hope@localhost ~> cd etcher hope@localhost ~/etcher (master)> ls -l nm* fish: No matches for wildcard 'nm*'. See `help expand`. ls -l nm* ^ hope@localhost ~/etcher (master) [124]> ls CHANGELOG.md electron-builder.yml CODEOWNERS entitlements.mac.plist FAQ.md lib GhostBSD_Etcher_Build_errors.txt npm-shrinkwrap.json LICENSE package.json Makefile repo.yml README.md requirements.txt SUPPORT.md scripts afterPack.js tests afterSignHook.js tsconfig.json assets tsconfig.webpack.json beforeBuild.js typings dev-app-update.yml webpack.config.ts dictionary.txt webpack.dev.config.ts docs hope@localhost ~/etcher (master)> ls no* fish: No matches for wildcard 'no*'. See `help expand`. ls no* ^ hope@localhost ~/etcher (master) [124]> ls -l nod* fish: No matches for wildcard 'nod*'. See `help expand`. ls -l nod* ^ hope@localhost ~/etcher (master) [124]> rm -rf node_modules hope@localhost ~/etcher (master)> gmake electron-develop gmake: /bin/bash: No such file or directory gmake: /bin/bash: No such file or directory Makefile:73: *** We could not detect your host platform. Stop. hope@localhost ~/etcher (master) [2]> make electron-develop make: "/usr/home/hope/etcher/Makefile" line 27: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 40: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 70: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 72: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 73: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 74: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 75: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 76: Invalid line type make: "/usr/home/hope/etcher/Makefile" line 77: Invalid line type make: Fatal errors encountered -- cannot continue make: stopped in /usr/home/hope/etcher hope@localhost ~/etcher (master) [1]> ls /boot/efi # GhostBSD is missing a ?? HARD ?? link to /bin/bash sudo ln /usr/local/bin/bash /bin/bash gmake electron-develop -f Makefile_FreeBSD ./scripts/resin/electron/install.sh \ -b /home/hope/etcher \ -r x64 \ -s darwin \ -m 6.14.8 Dependency missing: npm gmake: *** [Makefile_FreeBSD:96: electron-develop] Error 1 #Install npm System--> Administration --> Software-Station select npm package apply to install 4 packages installed c-ares, libuv, npm-6.14.8 gmake electron-develop -f Makefile_FreeBSD ./scripts/resin/electron/install.sh \ -b /home/hope/etcher \ -r x64 \ -s freebsd \ -m 6.14.8 Dependency missing: jq gmake: *** [Makefile_FreeBSD:96: electron-develop] Error 1 Install JQ https://stedolan.github.io/jq/download/ FreeBSD pkg install jq as root installs a pre-built binary package. make -C /usr/ports/textproc/jq install clean as root installs the jq port from source. System --> Administration --> Software-Station jq 2 packages jq Oniguruma gmake electron-develop -f Makefile_FreeBSD ./scripts/resin/electron/install.sh \ -b /home/hope/etcher \ -r x64 \ -s freebsd \ -m 6.14.8 node: v16.2.0 npm: 6.14.8 NPM configuration ; cli configs long = true metrics-registry = "http://registry.npmjs.org/" scope = "" user-agent = "npm/6.14.8 node/v16.2.0 freebsd x64" ; environment configs arch = "x64" build-from-source = true disturl = "https://atom.io/download/electron" fetch-retries = 20 fetch-retry-factor = 1.5 fetch-retry-maxtimeout = 10000 fetch-retry-mintimeout = 1000 loglevel = "warn" progress = false registry = "http://registry.npmjs.org/" runtime = "electron" spin = false strict-ssl = false target = "12.0.2" ; globalconfig /usr/local/etc/npmrc python = "/usr/local/bin/python3.8" ; default values access = null allow-same-version = false also = null always-auth = false audit = true audit-level = "low" auth-type = "legacy" before = null bin-links = true browser = null ca = null cache = "/home/hope/.npm" cache-lock-retries = 10 cache-lock-stale = 60000 cache-lock-wait = 10000 cache-max = null cache-min = 10 cafile = undefined cert = null cidr = null color = true commit-hooks = true depth = null description = true dev = false dry-run = false editor = "vi" engine-strict = false ; fetch-retries = 2 (overridden) ; fetch-retry-factor = 10 (overridden) ; fetch-retry-maxtimeout = 60000 (overridden) ; fetch-retry-mintimeout = 10000 (overridden) force = false format-package-lock = true fund = true git = "git" git-tag-version = true global = false global-style = false globalconfig = "/usr/local/etc/npmrc" globalignorefile = "/usr/local/etc/npmignore" group = 0 ham-it-up = false heading = "npm" https-proxy = null if-present = false ignore-prepublish = false ignore-scripts = false init-author-email = "" init-author-name = "" init-author-url = "" init-license = "ISC" init-module = "/home/hope/.npm-init.js" init-version = "1.0.0" json = false key = null legacy-bundling = false link = false local-address = undefined ; loglevel = "notice" (overridden) logs-max = 10 ; long = false (overridden) maxsockets = 50 message = "%s" ; metrics-registry = null (overridden) node-options = null node-version = "16.2.0" noproxy = null offline = false onload-script = null only = null optional = true otp = null package-lock = true package-lock-only = false parseable = false prefer-offline = false prefer-online = false prefix = "/usr/local" preid = "" production = false ; progress = true (overridden) proxy = null read-only = false rebuild-bundle = true ; registry = "https://registry.npmjs.org/" (overridden) rollback = true save = true save-bundle = false save-dev = false save-exact = false save-optional = false save-prefix = "^" save-prod = false scope = "" script-shell = null scripts-prepend-node-path = "warn-only" searchexclude = null searchlimit = 20 searchopts = "" searchstaleness = 900 send-metrics = false shell = "/usr/local/bin/fish" shrinkwrap = true sign-git-commit = false sign-git-tag = false sso-poll-frequency = 500 sso-type = "oauth" ; strict-ssl = true (overridden) tag = "latest" tag-version-prefix = "v" timing = false tmp = "/tmp" umask = 18 unicode = true unsafe-perm = true update-notifier = true usage = false user = 0 ; user-agent = "npm/{npm-version} node/{node-version} {platform} {arch} {ci}" (overridden) userconfig = "/home/hope/.npmrc" version = false versions = false viewer = "man" Installing dependencies npx: installed 434 in 147.003s > @ronomon/direct-io@3.0.1 install /usr/home/hope/etcher/node_modules/@ronomon/direct-io > node-gyp rebuild (node:36452) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. (Use `node --trace-deprecation ...` to show where the warning was created) gmake[1]: Entering directory '/usr/home/hope/etcher/node_modules/@ronomon/direct-io/build' CC(target) Release/obj.target/binding/binding.o SOLINK_MODULE(target) Release/obj.target/binding.node COPY Release/binding.node COPY /usr/home/hope/etcher/node_modules/@ronomon/direct-io/binding.node TOUCH Release/obj.target/copy.stamp gmake[1]: Leaving directory '/usr/home/hope/etcher/node_modules/@ronomon/direct-io/build' > @balena.io/usb@1.3.14 install /usr/home/hope/etcher/node_modules/@balena.io/usb > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download (node:36619) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. (Use `node --trace-deprecation ...` to show where the warning was created) /bin/sh: pkg-config: not found gyp: Call to 'pkg-config libusb-1.0 --cflags-only-I | sed s/-I//g' returned exit status 0 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/home/hope/.npm/_npx/34760/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (node:events:365:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) gyp ERR! System FreeBSD 13.0-STABLE gyp ERR! command "/usr/local/bin/node" "/usr/home/hope/.npm/_npx/34760/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/home/hope/etcher/node_modules/@balena.io/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/usr/home/hope/etcher/node_modules/@balena.io/usb/src/binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=electron-v12.0" "--python=/usr/local/bin/python3.8" gyp ERR! cwd /usr/home/hope/etcher/node_modules/@balena.io/usb gyp ERR! node -v v16.2.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/home/hope/.npm/_npx/34760/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/home/hope/etcher/node_modules/@balena.io/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/home/hope/etcher/node_modules/@balena.io/usb/src/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v12.0 --python=/usr/local/bin/python3.8' (1) node-pre-gyp ERR! stack at ChildProcess. (/usr/home/hope/etcher/node_modules/@balena.io/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (node:events:365:28) node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) node-pre-gyp ERR! System FreeBSD 13.0-STABLE node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/home/hope/etcher/node_modules/@balena.io/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /usr/home/hope/etcher/node_modules/@balena.io/usb node-pre-gyp ERR! node -v v16.2.0 node-pre-gyp ERR! node-pre-gyp -v v0.14.0 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/home/hope/.npm/_npx/34760/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/home/hope/etcher/node_modules/@balena.io/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/home/hope/etcher/node_modules/@balena.io/usb/src/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v12.0 --python=/usr/local/bin/python3.8' (1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @balena.io/usb@1.3.14 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @balena.io/usb@1.3.14 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/hope/.npm/_logs/2021-06-30T04_55_12_953Z-debug.log gmake: *** [Makefile_FreeBSD:96: electron-develop] Error 1 hope@localhost ~/etcher (master) [2]>