fcl-js icon indicating copy to clipboard operation
fcl-js copied to clipboard

[BUG] Error for accessNodes.api not defined in config points to page that does not exist:

Open briandoyle81 opened this issue 1 year ago • 1 comments

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:

https://github.com/onflow/fcl-js/blob/3f066f9034e243922c0085d126e81e0b85bf4a8a/packages/fcl-core/src/exec/utils/pre.js#L22

Environment

  • OS:
  • Node:
  • npm:

What are you currently working on that this is blocking?

No response

briandoyle81 avatar Oct 28 '24 19:10 briandoyle81

@briandoyle81 I think the correct link is https://github.com/onflow/fcl-js/blob/master/packages/fcl-core/src/exec/query.md?plain=1

gregsantos avatar Oct 28 '24 20:10 gregsantos