-
Notifications
You must be signed in to change notification settings - Fork 33
Development Faq
user_name edited this page Aug 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 lightweight_localnet
on an operating system with SELinux, the command gives the error:
Recreating validator2 ... done
Recreating validator4 ... done
Recreating validator1 ... done
Recreating validator3 ... done
Attaching to validator3, validator1, validator2, validator4
validator2 | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
validator1 | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
validator3 | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
validator1 exited with code 2
validator4 | /bin/sh: can't open 'build/scripts/watch.sh': Permission denied
validator2 exited with code 2
validator3 exited with code 2
validator4 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