Root folder discrepancy while running a build with eth-brownie

vscode live share link

I’m experimenting with an advance NFT collectible contract. while running brownie to compile I keep getting this error in VScode:

TypeError: string indices must be integers

any assistance is greatly appreciated in advance.

/Users/pc/.local/pipx/venvs/eth-brownie/lib/python3.8/site-packages/brownie/project/ BrownieEnvironmentWarning: Loaded project has a root folder of '/Users/pc/wayalabs/build' which is different from the current working directory
Generating interface ABIs...
  File "brownie/_cli/", line 64, in main
  File "brownie/_cli/", line 41, in main
    active_project = project.load()
  File "brownie/project/", line 768, in load
    return Project(name, project_path)
  File "brownie/project/", line 188, in __init__
  File "brownie/project/", line 249, in load
  File "brownie/project/", line 140, in _create_containers
    self.interface._add(data["contractName"], data["abi"])
  File "brownie/network/", line 610, in _add
    constructor = InterfaceConstructor(name, abi)
  File "brownie/network/", line 622, in __init__
    self.selectors = {
  File "brownie/network/", line 623, in <dictcomp>
    build_function_selector(i): i["name"] for i in self.abi if i["type"] == "function"
TypeError: string indices must be integers
bash-3.2$ ```

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.