alephium / alephium/docs

React JS contract compile error

Open
#210 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
12
Forks
49
Avg merge
27m
Merged PRs (30d)
4

Description

Loading alephium config file: /Users/benjaminlarkey/Desktop/Ergollamas-Alphpacas/alphpacas/alephium.config.ts
(node:1875) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use node --trace-warnings ... to show where the warning was created)
devnet is not live
node:child_process:946
throw err;
^

Error: Command failed: npx --yes ts-node --transpile-only /Users/benjaminlarkey/.npm/_npx/f1b120e1b513c04c/node_modules/@alephium/cli/cli_internal.ts compile
at checkExecSyncError (node:child_process:871:11)
at execSync (node:child_process:943:15)
at Object. (/Users/benjaminlarkey/.npm/_npx/f1b120e1b513c04c/node_modules/@alephium/cli/cli.js:34:1)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 1870,
stdout: null,
stderr: null
}

Node.js v18.12.1

to reaffirm that the devnet is live I tried starting one and it said it was already live and it does not work. tried with and without --yes tags

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the npx --yes ts-node --transpile-only .../@alephium/cli/cli_internal.ts compile command with alephium.config.ts and the devnet state described in the report. Determine why compilation exits with status 1 despite the devnet already being live, then verify that the documented contract compile workflow completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, typescript
Domain
build-system, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.