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

createConfig not found in fuels #2316

Closed
fareeha25 opened this issue May 16, 2024 · 3 comments
Closed

createConfig not found in fuels #2316

fareeha25 opened this issue May 16, 2024 · 3 comments
Assignees
Labels
awaiting We need further input from the author bug Issue is a bug stale Issue is now stale

Comments

@fareeha25
Copy link

fareeha25 commented May 16, 2024

What version of fuels-ts are you using?

beta-5

Steps to Reproduce

In your frontend folder, run
npm install fuels@0.82.0 @fuels/react@0.18.0 @fuels/connectors@0.2.2 @tanstack/react-query@5.28.9

Generate config file
npm install fuels@0.82.0 @fuels/react@0.18.0 @fuels/connectors@0.2.2 @tanstack/react-query@5.28.9

this will generate fuels.config.ts and the first line is import { createConfig } from 'fuels'; and it has the following error:
Screen Shot 2024-05-16 at 12 50 55 PM

and after this when we run npx fuels@0.82.0 build, and it shows the following error:
Screen Shot 2024-05-16 at 12 09 14 PM

Expected Behavior

It should run the fuels.config.ts file and move the contracts and ABI files to the frontend.

Actual Behavior

The errors are thrown. I have attached screenshots in Steps to reproduce part.

@fareeha25 fareeha25 added the bug Issue is a bug label May 16, 2024
@petertonysmith94 petertonysmith94 self-assigned this May 16, 2024
@petertonysmith94
Copy link
Contributor

Hey there @fareeha25 👋🏼

I'm unable to reproduce the error you're experiencing:
image

Could share a repository link that I could look at?

@petertonysmith94 petertonysmith94 added the awaiting We need further input from the author label May 16, 2024
Copy link
Contributor

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

@github-actions github-actions bot added the stale Issue is now stale label May 31, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

This issue was closed because it is missing author input.

@github-actions github-actions bot closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting We need further input from the author bug Issue is a bug stale Issue is now stale
Projects
None yet
Development

No branches or pull requests

2 participants