You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
Load subgraph from subgraph.yaml
Compile data source: Factory => build\Factory\Factory.wasm
× Failed to compile subgraph: Failed to compile data source mapping: Import file '~lib/const.ts' not found.
Error: Failed to compile data source mapping: Import file '~lib/const.ts' not found.
at Compiler._compileDataSourceMapping (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules@graphprotocol\graph-cli\src\compiler.js:314:13)
at Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules@graphprotocol\graph-cli\src\compiler.js:207:20
at updateInDeepMap (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1971:22)
at updateInDeepMap (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1980:23)
at updateInDeepMap (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1980:23)
at Map.updateIn (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1278:26)
at Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules@graphprotocol\graph-cli\src\compiler.js:206:24
at Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:3016:46
at List.__iterate (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:2206:13)
at IndexedIterable.mappedSequence.__iterateUncached (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:3015:23)
I got this error when trying to deploy exchange subgraph.
Please let me know how I can solve this issue
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Load subgraph from subgraph.yaml
Compile data source: Factory => build\Factory\Factory.wasm
× Failed to compile subgraph: Failed to compile data source mapping: Import file '~lib/const.ts' not found.
Error: Failed to compile data source mapping: Import file '~lib/const.ts' not found.
at Compiler._compileDataSourceMapping (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules@graphprotocol\graph-cli\src\compiler.js:314:13)
at Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules@graphprotocol\graph-cli\src\compiler.js:207:20
at updateInDeepMap (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1971:22)
at updateInDeepMap (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1980:23)
at updateInDeepMap (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1980:23)
at Map.updateIn (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:1278:26)
at Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules@graphprotocol\graph-cli\src\compiler.js:206:24
at Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:3016:46
at List.__iterate (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:2206:13)
at IndexedIterable.mappedSequence.__iterateUncached (Z:\08-Swap-Projects\20220824-black-swap\works\black-subgraph\node_modules\immutable\dist\immutable.js:3015:23)
Please let me know how I can solve this issue
The text was updated successfully, but these errors were encountered: