Stable-types build error moving to 0.9.3 and later versions of the SDK

Here’s an example dfx.json that passes some command line args to moc for the “hello” canister.


{
  "version": 1,
  "dfx": "0.8.1",
  "canisters": {
    "hello": {
      "type": "motoko",
      "main": "src/hello/main.mo",
      "args": "-v --compacting-gc -no-check-ir"
    },
    "hello_assets": {
      "type": "assets",
      "source": [
        "src/hello_assets/assets"
      ],
      "dependencies": [
        "hello"
      ]
    }
  },
  "defaults": {
    "build": {
      "packtool": "",
      "args": ""
    }
  },
  "networks": {
    "local": {
      "bind": "127.0.0.1:8000",
      "type": "ephemeral"
    }
  }
}
3 Likes