v2-subgraph icon indicating copy to clipboard operation
v2-subgraph copied to clipboard

Unable to deploy testnet branch on testnet works

Open ArchTaqi opened this issue 2 years ago • 0 comments

I'm trying to deploy the testnet branch to the Rinkeby network, but when I run yarn build I got the below error.

✖ Failed to compile subgraph: Failed to compile data source template: Import file 'src/types/Exchange/Exchange.ts' not found.
Error: Failed to compile data source template: Import file 'src/types/Exchange/Exchange.ts' not found.
    at Compiler._compileTemplateMapping (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/@graphprotocol/graph-cli/src/compiler.js:332:13)
    at /Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/@graphprotocol/graph-cli/src/compiler.js:184:24
    at updateInDeepMap (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:1971:22)
    at updateInDeepMap (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:1980:23)
    at updateInDeepMap (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:1980:23)
    at Map.updateIn (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:1278:26)
    at /Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/@graphprotocol/graph-cli/src/compiler.js:183:26
    at /Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:3016:46
    at List.__iterate (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:2206:13)
    at IndexedIterable.mappedSequence.__iterateUncached (/Users/muhammadtaqi/Projects/UniSwap-POC/v2-subgraph/node_modules/immutable/dist/immutable.js:3015:23)
error Command failed with exit code 1.

Is testnet branch still relevant or do we have to make some changes to make it work?

ArchTaqi avatar Jul 25 '22 09:07 ArchTaqi