-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
Your docs say you need to deploy to Surge.sh using Node. I don't ever install any packages directly on my computer for security's sake, and I don't recommend you advise people to do that in your docs.
So I ran your package in Docker so it has proper security, but it fails. Why please? The container has access to the Internet, so that can't be the address failure.
docker run --init -it --rm --name "surge" -v ".:/app" -w "/app" node:24.0.1-alpine3.21 sh -c "npx surge";
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated [email protected]: this library is no longer supported
npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
Welcome to surge! (surge.sh)
Login or create surge account by entering email & password.
email: censored/[email protected]
password:
/root/.npm/_npx/23158936acd5c32d/node_modules/surge/lib/util/helpers.js:203
if (e) throw e
^
Error: getaddrinfo EAI_AGAIN surge.surge.sh
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3001,
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'surge.surge.sh'
}
Node.js v24.0.1
npm notice
npm notice New minor version of npm available! 11.3.0 -> 11.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
npm notice To update run: npm install -g [email protected]
npm noticeMetadata
Metadata
Assignees
Labels
No labels