-
Notifications
You must be signed in to change notification settings - Fork 33
Development Faq
user_name edited this page Feb 3, 2023
·
4 revisions
A list of common issues & resolutions shared by the V1 contributors
-
Issue: when working on MacOS with iCloud backup turned on, redundant files could be generated in GitHub projects. (e.g.
file.go
andfile 2.go
) Details can be found here in this link. -
Solution: adding
.nosync
as suffix to the workspace folder, e.g.pocket.nosync
. Alternative, working in a folder that iCloud doesn't touch also works.
NOTE: Consider turning off the gofmt
in your IDE to prevent unexpected formatting
-
Issue: when trying to run
make compose_and_watch
on an operating system with SELinux, the command gives the error:
Recreating node2.consensus ... done
Recreating node4.consensus ... done
Recreating node1.consensus ... done
Recreating node3.consensus ... done
Attaching to node3.consensus, node1.consensus, node2.consensus, node4.consensus
node2.consensus | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
node1.consensus | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
node3.consensus | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
node1.consensus exited with code 2
node4.consensus | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
node2.consensus exited with code 2
node3.consensus exited with code 2
node4.consensus exited with code 2
- Solution: A temporary fix would be to run
su -c "setenforce 0"
Whereas a permanent approach would be to allow the docker container access to the local repository
sudo chcon -Rt svirt_sandbox_file_t ./pocket
See this stackoverflow post for more details.
Contents
- Home
- Persistence
- Changelog
-
Persistence
- Indexer
- Rpc
- Runtime
- State_Machine
-
Guides
- Roadmap
-
Guides
- Learning
- Guides
-
Guides
- Contributing
- Devlog
-
Guides
- Dependencies
-
Guides
- Releases
- Guides
- P2P
-
Shared
- Crypto
- Shared
-
Shared
- Modules
-
Build
- Config
- Consensus
-
Guides
- Telemetry
- Utility
- Logger