-
Notifications
You must be signed in to change notification settings - Fork 60
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
Build error #753
Comments
In ocean-subgraph, it's standard ocean.js usage: |
I think the issue could be caused by the wrong name in the "exports" field within package.json: https://github.com/oceanprotocol/ocean.js/pull/754/files |
I re-ran the build job in the Ocean Sub Graph and it's still giving the same error: https://github.com/oceanprotocol/ocean-subgraph/runs/2380269955?check_suite_focus=true |
We need to release a new ocean.js first and bump it in subgraph. Doing that now |
Ok cool, thank you |
if it helps @jamiehewitt15 👍 /ocean/ocean-subgraph$ ls node_modules/@oceanprotocol/lib/dist/node/ I can see lib.module.js in node_modules/@oceanprotocol/lib/dist/node/ and not in node_modules/@oceanprotocol/lib/dist/ |
@alexcos20 Thank you for pointing that out. I have updated the paths here: https://github.com/oceanprotocol/ocean.js/pull/756/files |
and still fails: https://github.com/oceanprotocol/ocean-subgraph/pull/89/checks?check_run_id=2382858822 |
This is what I was suggesting on the call, potentially trying to use the Common JS bundle rather than the ESM module: https://github.com/oceanprotocol/ocean.js/pull/761/files I'll try and test it locally with Ocean sub graph |
@alexcos20 I tested out pull request #761 with Ocean sub graph using |
It looks the Ocean.js isn't being built correctly when it's used with Ocean sub graph:
The text was updated successfully, but these errors were encountered: