sbdchd / squawk

🐘 linter for PostgreSQL, focused on migrations
https://squawkhq.com
GNU General Public License v3.0
594 stars 40 forks source link

Installation error on darwin-x64 #360

Closed nanpx closed 3 months ago

nanpx commented 3 months ago

https://github.com/sbdchd/squawk/commit/e0212fa841a32179d3dacadd2ec02b417cb2db28#diff-67d657dd3a1103d0c7d518c7af28f72c6006ff93a1648f5734811be7303f2689R49 introduced a typo for darwin-x64 as darmin-x64 in the supported platforms list, resulting in a error during install.

npm ERR! command sh -c -- node js/install.js
npm ERR! Error: unsupported target darwin-x64
npm ERR!     at downloadBinary (node_modules/squawk-cli/js/install.js:110:27)
npm ERR!     at Object.<anonymous> (node_modules/squawk-cli/js/install.js:151:1)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1198:14)
npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1076:32)
npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:911:12)
npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
npm ERR!     at node:internal/main/run_main_module:22:47