Run "nile node" cmd got this error
See original GitHub issue(env) xxxxx@xxxxxMacBook-Pro testProject % nile node
Traceback (most recent call last):
File "/Users/xxxxx/devData/starkNet/testProject/env/bin/starknet-devnet", line 5, in <module>
from starknet_devnet.server import main
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/starknet_devnet/server.py", line 3, in <module>
from starkware.starknet.services.api.gateway.transaction import Deploy, InvokeFunction, Transaction
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/starkware/starknet/services/api/gateway/transaction.py", line 13, in <module>
from services.everest.api.gateway.transaction import (
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/services/everest/api/gateway/transaction.py", line 5, in <module>
from starkware.starkware_utils.validated_dataclass import ValidatedMarshmallowDataclass
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/starkware/starkware_utils/validated_dataclass.py", line 13, in <module>
from starkware.starkware_utils.validated_fields import Field
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/starkware/starkware_utils/validated_fields.py", line 12, in <module>
from starkware.starkware_utils.marshmallow_dataclass_fields import (
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/starkware/starkware_utils/marshmallow_dataclass_fields.py", line 6, in <module>
from frozendict import frozendict
File "/Users/xxxxx/devData/starkNet/testProject/env/lib/python3.10/site-packages/frozendict/__init__.py", line 16, in <module>
class frozendict(collections.Mapping):
AttributeError: module 'collections' has no attribute 'Mapping'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/nile", line 8, in <module>
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nile/main.py", line 122, in node
node_command()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nile/commands/node.py", line 8, in node_command
subprocess.check_call("starknet-devnet")
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'starknet-devnet' returned non-zero exit status 1.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
nile setup fails · Issue #63 · OpenZeppelin/nile - GitHub
I am trying to setup a private key alias as described in the README. but I get an error. I am on a...
Read more >How to resolve 'node' is not recognized as an internal or ...
Open the Environment Variables option in your Control Panel. · Select the variable named Path. · Restart the command prompt again and now...
Read more >Npm Please try using this command again as root/administrator
Right click the nodejs folder (under Program Files), select Properties (scroll all the way down), click the Security tab, and click all items...
Read more >Manage your StarkNet deployments with Nile ⛵️ - Medium
Nile is a python development environment for developing StarkNet contracts, and version ... Now let's run our own local node (powered by starknet-devnet...
Read more >15 Common Error Codes in Node.js and How to Fix Them
15. EPERM · Close all instances of your editor before rerunning the command (maybe some files were locked by the editor). · Clean...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It looks like the error is caused by
starknet-devnet. I think their repository is a better place for this issue.It looks like the error is originating from starknet devnet? I see you’re using Python 3.10, can you also post the version of starknet devnet, nile, cairo, and your OS?