You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ We do not use templates for reporting issues - anyone who has a question about h
72
72
We appreciate contributions from the community, but as with any project a change suggested may not be something we choose to incorporate into the code base. If you have any questions about creation or implementation of a feature, please feel free to [open a new issue](https://github.com/StatTag/StatWrap/issues/new/choose) to solicit feedback.
73
73
74
74
## Solutions to Development Issues
75
+
75
76
If when running the project locally, you get the following error:
76
77
77
78
```
@@ -83,11 +84,13 @@ Error: ENOSPC: System limit for number of file watchers reached, watch '/home/<u
83
84
at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
84
85
at Object.watch (node:fs:2392:36)
85
86
```
87
+
86
88
You will need to increase the number of file watchers available, to its maximum, by running the following command:
87
89
88
90
For debian-based distros:
89
91
90
92
Execute this command:
93
+
91
94
```
92
95
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
This has to do with how `winCodeSign` is packaged up, where it wants to create symlinks for some lib files. If you search for this error, some recommendations are to run `yarn package` with administrative rights. **This is not adviseable** - you should not have to run the packaging process with elevated rights, and it opens potential security risks. Instead, follow these steps:
177
+
178
+
> "Download the winCodeSign.7z package manually. You can use the same URL as electron-builder is using:
This should be a one-time change to your system. Once this folder is set up, you should be able to run `yarn package`, and the build process will use the existing copy of `winCodeSign` instead of trying to download a new one.
187
+
159
188
## Packaging and Notarization (macOS)
160
189
161
190
**NOTE** These steps are only needed for official release builds of StatWrap. Local development and packaging should not require these steps.
0 commit comments