Comments (5)
The curl | sh
method worked fine when I ran this using a different Internet connection (home v/s work).
from edgedb.
The npx installation issue has been fixed in v1.5.7, thanks for the details!
from edgedb.
The installer is downloaded from https://packages.edgedb.com/<architecture>/edgedb-cli<extension>
.
<extension>
is .exe
if you're on Windows or nothing elsewhere.
For <architecture>
, the script runs uname -s
and uname -m
to determine the CPU type and OS, normalizes them, and combines them in the format <cpu-type>-<os-type>
.
It looks like you're on a Mac, so your URL would be either https://packages.edgedb.com/dist/aarch64-apple-darwin/edgedb-cli
if you have an Apple Silicon Mac or https://packages.edgedb.com/dist/x86_64-apple-darwin/edgedb-cli
if you have an Intel Mac.
You might check your Mac's network settings and see if the firewall is on. If so, try disabling it and see if that helps.
from edgedb.
You can also get more debug information from the npx
version by setting DEBUG=*
on the command line like:
DEBUG=* npx edgedb
Feel free to share your results here, or if the output is sensitive, feel free to email me at [email protected].
from edgedb.
Debug logs for npx:
mac@workbox sm % DEBUG=* npx edgedb
edgedb:cli Process argv: [
'/Users/mac/.asdf/installs/nodejs/20.11.0/bin/node',
'/Users/mac/.npm/_npx/825ece814932565b/node_modules/.bin/edgedb'
] +0ms
edgedb:cli Running CLI wrapper from: /Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs +1ms
edgedb:cli Starting main function with args: [] +1ms
edgedb:cli - IS_TTY: true +0ms
edgedb:cli - SCRIPT_LOCATION: /Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs +0ms
edgedb:cli - EDGEDB_PKG_ROOT: https://packages.edgedb.com +0ms
edgedb:cli - CACHE_DIR: /Users/mac/Library/Caches/edgedb-nodejs +0ms
edgedb:cli - TEMPORARY_CLI_PATH: /Users/mac/Library/Caches/edgedb-nodejs/edgedb-cli +0ms
edgedb:cli - CLI_LOCATION_CACHE_FILE_PATH: /Users/mac/Library/Caches/edgedb-nodejs/cli-location +0ms
edgedb:cli Checking CLI cache... +0ms
edgedb:cli - Cache file does not exist. +0ms
edgedb:cli Checking if CLI is in PATH... +0ms
edgedb:cli - CLI found in PATH at: /Users/mac/.npm/_npx/825ece814932565b/node_modules/.bin/edgedb (resolved to: /Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs) +1ms
edgedb:cli - CLI found in PATH is the current script. Ignoring. +0ms
edgedb:cli - No CLI found in PATH. +0ms
edgedb:cli Installing temporary CLI to get install directory... +0ms
No EdgeDB CLI found, downloading CLI package...
edgedb:cli Downloading CLI package... +1ms
edgedb:cli Getting base distribution for: arm64 darwin +0ms
edgedb:cli - Base distribution: aarch64-apple-darwin +0ms
edgedb:cli Finding compatible package for aarch64-apple-darwin... +0ms
edgedb:cli Getting version map for distribution: aarch64-apple-darwin +0ms
edgedb:cli Getting matching version for range: >=4.1.1 +959ms
edgedb:cli - Matching version found: 5.1.0+8ff9f85 +3ms
edgedb:cli - Package found: {
basename: 'edgedb-cli',
name: 'edgedb-cli',
slot: '',
version: '5.1.0+8ff9f85',
version_details: {
major: 5,
minor: 1,
patch: 0,
prerelease: [],
metadata: {
build_revision: '202404292247',
source_date: '2024042922',
scm_revision: 'a8d4a5020',
build_hash: '8ff9f85'
}
},
version_key: '5.1.0.202404292247',
revision: '202404292247',
architecture: 'aarch64',
installref: '/archive/aarch64-apple-darwin/edgedb-cli-5.1.0+8ff9f85',
installrefs: [
{
ref: '/archive/aarch64-apple-darwin/edgedb-cli-5.1.0+8ff9f85',
type: 'application/x-mach-binary',
encoding: 'identity',
verification: [Object]
},
{
ref: '/archive/aarch64-apple-darwin/edgedb-cli-5.1.0+8ff9f85.zst',
type: 'application/x-mach-binary',
encoding: 'zstd',
verification: [Object]
}
]
} +0ms
edgedb:cli Downloading file from URL: URL {
href: 'https://packages.edgedb.com/archive/aarch64-apple-darwin/edgedb-cli-5.1.0+8ff9f85',
origin: 'https://packages.edgedb.com',
protocol: 'https:',
username: '',
password: '',
host: 'packages.edgedb.com',
hostname: 'packages.edgedb.com',
port: '',
pathname: '/archive/aarch64-apple-darwin/edgedb-cli-5.1.0+8ff9f85',
search: '',
searchParams: URLSearchParams {},
hash: ''
} +1ms
edgedb:cli Reading stream... +130ms
edgedb:cli - Stream reading completed. +3s
edgedb:cli - File downloaded successfully. +1ms
edgedb:cli - CLI package downloaded to: /Users/mac/Library/Caches/edgedb-nodejs/edgedb-cli +1ms
edgedb:cli Getting install directory for CLI path: /Users/mac/Library/Caches/edgedb-nodejs/edgedb-cli +12ms
edgedb:cli Running EdgeDB CLI: /Users/mac/Library/Caches/edgedb-nodejs/edgedb-cli info --get "'install-dir'" +1ms
node:internal/errors:932
const err = new Error(message);
^
Error: Command failed: /Users/mac/Library/Caches/edgedb-nodejs/edgedb-cli info --get "'install-dir'"
error: invalid value ''install-dir'' for '--get <GET>'
[possible values: install-dir, config-dir, cache-dir, data-dir, service-dir]
tip: a similar value exists: 'install-dir'
For more information, try '--help'.
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at runEdgeDbCli (file:///Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs:199:12)
at getInstallDir (file:///Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs:304:24)
at getCliLocationFromTempCli (file:///Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs:149:24)
at async main (file:///Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs:42:10)
at async file:///Users/mac/.npm/_npx/825ece814932565b/node_modules/edgedb/dist/cli.mjs:26:1 {
status: 2,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(217) [Uint8Array] [
101, 114, 114, 111, 114, 58, 32, 105, 110, 118, 97, 108,
105, 100, 32, 118, 97, 108, 117, 101, 32, 39, 39, 105,
110, 115, 116, 97, 108, 108, 45, 100, 105, 114, 39, 39,
32, 102, 111, 114, 32, 39, 45, 45, 103, 101, 116, 32,
60, 71, 69, 84, 62, 39, 10, 32, 32, 91, 112, 111,
115, 115, 105, 98, 108, 101, 32, 118, 97, 108, 117, 101,
115, 58, 32, 105, 110, 115, 116, 97, 108, 108, 45, 100,
105, 114, 44, 32, 99, 111, 110, 102, 105, 103, 45, 100,
105, 114, 44, 32,
... 117 more items
]
],
pid: 23313,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(217) [Uint8Array] [
101, 114, 114, 111, 114, 58, 32, 105, 110, 118, 97, 108,
105, 100, 32, 118, 97, 108, 117, 101, 32, 39, 39, 105,
110, 115, 116, 97, 108, 108, 45, 100, 105, 114, 39, 39,
32, 102, 111, 114, 32, 39, 45, 45, 103, 101, 116, 32,
60, 71, 69, 84, 62, 39, 10, 32, 32, 91, 112, 111,
115, 115, 105, 98, 108, 101, 32, 118, 97, 108, 117, 101,
115, 58, 32, 105, 110, 115, 116, 97, 108, 108, 45, 100,
105, 114, 44, 32, 99, 111, 110, 102, 105, 103, 45, 100,
105, 114, 44, 32,
... 117 more items
]
}
Node.js v20.11.0
from edgedb.
Related Issues (20)
- When adding a constraint to User.awards in cards db: InternalServerError: column old.id does not exist
- `InternalServerError` when trying to coalesce with an existing link property value HOT 2
- Branches with the GitHub and Vercel integrations failing when there's a forward slash HOT 1
- Email+password Provider with BuiltInUI doesn't handle non-existing accounts gracefully HOT 5
- apt repository does not have a Release file for Ubuntu 24.04 LTS HOT 2
- ISE: "subquery in FROM must have an alias" in PG < 16
- Magic Code Support
- Don't allow setting a global if it was declared with a computable expression HOT 1
- Auth improvements HOT 1
- Keycloak OAuth Provider HOT 2
- No index names in interactive migrations HOT 2
- Docs search shouldn't close on open in new tab
- Docs search should be improved
- Unclear error message for insert with mutation rewrite
- Overly strict error: INSERT does not support volatile properties with exclusive constraints
- `constraint expression on` causes InternalServerError: NotImplementedError HOT 2
- ISE when selecting link property in a complicated expression HOT 2
- Database restore should show some form of progress bar
- `assert` should fire on empty sets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgedb.