Package Details: nodejs-surge 0.23.1-1

Git Clone URL: https://aur.archlinux.org/nodejs-surge.git (read-only, click to copy)
Package Base: nodejs-surge
Description: CLI for the surge.sh CDN
Upstream URL: https://github.com/sintaxi/surge
Licenses: ISC
Submitter: christoph.gysin
Maintainer: christoph.gysin
Last Packager: christoph.gysin
Votes: 4
Popularity: 0.000005
First Submitted: 2017-02-13 20:46 (UTC)
Last Updated: 2022-08-27 07:11 (UTC)

Required by (0)

Sources (0)

Latest Comments

raininja commented on 2022-08-26 18:15 (UTC) (edited on 2022-08-26 18:25 (UTC) by raininja)

package does not build, suggest upgrading to version 0.23.1 (current in npm as of 26 AUG 2022)

/usr/lib/node_modules/surge/lib/middleware/plan.js:8
var inquirer    = require('inquirer')
                  ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/lib/node_modules/surge/node_modules/inquirer/lib/inquirer.js from /usr/lib/node_modules/surge/lib/middleware/plan.js not supported.
Instead change the require of inquirer.js in /usr/lib/node_modules/surge/lib/middleware/plan.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/usr/lib/node_modules/surge/lib/middleware/plan.js:8:19)
    at Object.<anonymous> (/usr/lib/node_modules/surge/lib/surge.js:39:19)
    at Object.<anonymous> (/usr/lib/node_modules/surge/lib/cli.js:3:13) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v18.7.0

christoph.gysin commented on 2018-05-05 08:15 (UTC)

@solistice: Fixed, thanks!

solsticedhiver commented on 2018-05-02 08:36 (UTC)

you could add a

options=(!strip)

to your PKGbUILD to speed up the build.

also a

arch=(any)

would be appareciated

christoph.gysin commented on 2018-03-04 10:50 (UTC)

@milkmiruku: fixed, thanks!

milkii commented on 2018-02-14 04:13 (UTC)

this package seems to be rather broken at the moment, providing broken symlinks :/