[BUG] Error for accessNodes.api not defined in config points to page that does not exist:
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 333
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
Current Behavior
I've tried to shoehorn @onflow/fcl into a Node script to test something. I've received an error that:
Error: INVARIANT query(opts) -- Required value for "accessNode.api" not defined in config. See: https://github.com/onflow/flow-js-sdk/blob/master/packages/fcl/src/exec/query.md#configuration
The linked page does not exist.
Expected Behavior
The linked page should exist.
Steps To Reproduce
Repro not needed, the link is hardcoded here:
Environment
- OS:
- Node:
- npm:
What are you currently working on that this is blocking?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the hardcoded link in packages/fcl-core/src/exec/utils/pre.js at line 22 and check whether its target resolves. Update the reference so it points to an existing configuration page, then verify the URL works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100