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
Hello, i was following the instructions on the readme to deploy a subgraph,
but after the npm run deploy:{network} in my case npm run deploy:sepolia , i get the follow error in the compilig data source seccion.
Compile data source: CollectionFactory => build/CollectionFactory/CollectionFactory.wasm
Compile data source: CollectionFactoryV3 => build/CollectionFactory/CollectionFactory.wasm (already compiled)
Compile data source: Marketplace => build/Marketplace/Marketplace.wasm
⠋ Compile subgraphERROR TS6054: File 'src/modules/NFT.ts' not found.
import { getNFTId, updateNFTOrderProperties, cancelActiveOrder } from '../modules/NFT'
~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(4,71)
ERROR TS6054: File 'src/modules/Count.ts' not found.
import { buildCountFromOrder } from '../modules/Count'
~~~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(5,37)
ERROR TS6054: File 'src/modules/Order.ts' not found.
import * as status from '../modules/Order'
~~~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(6,25)
✖ Failed to compile subgraph: Failed to compile data source mapping: 3 parse error(s)
Error: Failed to compile data source mapping: 3 parse error(s)
at Compiler._compileDataSourceMapping (/media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:297:19)
at /media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:167
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2121:22)
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2134:23)
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2134:23)
at updateIn$1 (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2099:24)
at Map.updateIn (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2180:12)
at /media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:115
at /media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:3321:30
at List.withMutations (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2367:5)
UNCAUGHT EXCEPTION: Error: The AssemblyScript compiler crashed when compiling this file: 'src/handlers/marketplace.ts'
Suggestion: try to comment the whole file and uncomment it little by little while re-running the graph-cli until you isolate the line where the problem happens.
Also, please contact us so we can make the CLI better by handling errors like this. You can reach out in any of these links:
- Discord channel: https://discord.gg/eM8CA6WA9r
- Github issues: https://github.com/graphprotocol/graph-tooling/issues/new/choose
Compile data source: CollectionFactory => build/CollectionFactory/CollectionFactory.wasm
Compile data source: CollectionFactoryV3 => build/CollectionFactory/CollectionFactory.wasm (already compiled)
Compile data source: Marketplace => build/Marketplace/Marketplace.wasm
⠋ Compile subgraphERROR TS6054: File 'src/modules/NFT.ts' not found.
import { getNFTId, updateNFTOrderProperties, cancelActiveOrder } from '../modules/NFT'
~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(4,71)
ERROR TS6054: File 'src/modules/Count.ts' not found.
import { buildCountFromOrder } from '../modules/Count'
~~~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(5,37)
ERROR TS6054: File 'src/modules/Order.ts' not found.
import * as status from '../modules/Order'
~~~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(6,25)
✖ Failed to compile subgraph: Failed to compile data source mapping: 3 parse error(s)
Error: Failed to compile data source mapping: 3 parse error(s)
at Compiler._compileDataSourceMapping (/media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:297:19)
at /media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:167
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2121:22)
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2134:23)
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2134:23)
at updateIn$1 (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2099:24)
at Map.updateIn (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2180:12)
at /media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:115
at /media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:3321:30
at List.withMutations (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2367:5)
UNCAUGHT EXCEPTION: Error: The AssemblyScript compiler crashed when compiling this file: 'src/handlers/marketplace.ts'
Suggestion: try to comment the whole file and uncomment it little by little while re-running the graph-cli until you isolate the line where the problem happens.
Also, please contact us so we can make the CLI better by handling errors like this. You can reach out in any of these links:
- Discord channel: https://discord.gg/eM8CA6WA9r
- Github issues: https://github.com/graphprotocol/graph-tooling/issues/new/choose
Compile data source: CollectionFactory => build/CollectionFactory/CollectionFactory.wasm
Compile data source: CollectionFactoryV3 => build/CollectionFactory/CollectionFactory.wasm (already compiled)
Compile data source: Marketplace => build/Marketplace/Marketplace.wasm
⠋ Compile subgraphERROR TS6054: File 'src/modules/NFT.ts' not found.
import { getNFTId, updateNFTOrderProperties, cancelActiveOrder } from '../modules/NFT'
~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(4,71)
ERROR TS6054: File 'src/modules/Count.ts' not found.
import { buildCountFromOrder } from '../modules/Count'
~~~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(5,37)
ERROR TS6054: File 'src/modules/Order.ts' not found.
import * as status from '../modules/Order'
~~~~~~~~~~~~~~~~~~
in src/handlers/marketplace.ts(6,25)
✖ Failed to compile subgraph: Failed to compile data source mapping: 3 parse error(s)
Error: Failed to compile data source mapping: 3 parse error(s)
at Compiler._compileDataSourceMapping (/media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:297:19)
at /media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:167
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2121:22)
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2134:23)
at updateInDeeply (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2134:23)
at updateIn$1 (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2099:24)
at Map.updateIn (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2180:12)
at /media/2TB_M2/graph_node/collections-graph/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:115
at /media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:3321:30
at List.withMutations (/media/2TB_M2/graph_node/collections-graph/node_modules/immutable/dist/immutable.js:2367:5)
UNCAUGHT EXCEPTION: Error: The AssemblyScript compiler crashed when compiling this file: 'src/handlers/marketplace.ts'
Suggestion: try to comment the whole file and uncomment it little by little while re-running the graph-cli until you isolate the line where the problem happens.
Also, please contact us so we can make the CLI better by handling errors like this. You can reach out in any of these links:
- Discord channel: https://discord.gg/eM8CA6WA9r
- Github issues: https://github.com/graphprotocol/graph-tooling/issues/new/choose
also the discord link expired
The text was updated successfully, but these errors were encountered:
Hello, i was following the instructions on the readme to deploy a subgraph,
but after the
npm run deploy:{network}
in my casenpm run deploy:sepolia
, i get the follow error in the compilig data source seccion.also the discord link expired
The text was updated successfully, but these errors were encountered: