Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React JS contract compile error #210

Open
larkben opened this issue Jun 29, 2023 · 3 comments
Open

React JS contract compile error #210

larkben opened this issue Jun 29, 2023 · 3 comments

Comments

@larkben
Copy link

larkben commented Jun 29, 2023

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

@Lbqds
Copy link
Member

Lbqds commented Jun 29, 2023

It's strange, could you try to run this command: curl -X 'GET' 'http://127.0.0.1:22973/infos/node'?

@polarker
Copy link
Member

devnet is not live This means your devnet is not properly launched.

@larkben
Copy link
Author

larkben commented Jun 30, 2023

I haven't reverted back to the next js implementation after I noticed I have no problems using devnet on the getting started repo so I don't think that is quite the issue; I will test more later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants