Apologies if i’ve posted in the wrong place, however I have an issue trying to deploying a subgraph locally. I am following through your tutorial here: https://thegraph.academy/developers/local-development/
I have created a subgraph, installed Docker and followed all these instructions but am experiencing an issue when I come to run truffle compile or truffle migrate.
This is the error I get:
The truffle.js is standard, but I can’t help notice it’s referencing ropsten.
require('babel-register')
require('babel-polyfill')
const HDWalletProvider = require('truffle-hdwallet-provider')
module.exports = {
networks: {
development: {
host: '127.0.0.1',
port: 8545,
network_id: '*',
},
ropsten: {
provider: function() {
return new HDWalletProvider(
process.env.MNEMONIC,
`https://ropsten.infura.io/v3/${process.env.ROPSTEN_INFURA_API_KEY}`
)
},
network_id: '3',
},
},
compilers: {
solc: {
version: '0.4.25' // Fetch exact version from solc-bin (default: truffle's version)
}
}
}
I’d very much appreciate some support
many thanks