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
- Run `npm install` to install required node packages
89
93
- Run `pipenv run lektor server -f webpack` to start the Lektor development
90
94
server.
91
95
- You will be able to see the website at [`http://localhost:5000/`][local5000].
92
96
- The Lektor server will rebuild the site every time you change any content.
93
97
94
98
[local5000]:http://localhost:5000/
95
99
96
-
97
100
### Troubleshooting Possible Errors
98
101
99
-
Should you get series of type errors that looks something like `npm ERR! typeerror Error: Missing required argument #1`, after running `npm install`, this is most likely due to running an older version of node.
102
+
Should you get series of type errors that looks something like `npm ERR! typeerror Error: Missing required argument #1`, after running `pipenv run lektor server -f webpack`, this is most likely due to running an older version of node.
100
103
101
-
From experience, running Node versions 12+ seems to be okay. Follow [this](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions) tutorial to upgrade your node version(for unix systems).
102
-
103
-
Should you get an `OSError: [Errno 28] inotify watch limit reached` after running any command, this means that your system file watcher is running out of alloted handles, usually because the workspace is large and contains many files.
104
+
As stated earlier in the prerequisites, you should be running Node versions 12+.
104
105
105
-
The solution is to run `sudo sysctl fs.inotify.max_user_watches=524288`
106
+
* Follow [this](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions) tutorial to upgrade your node version (for GNU/Unix systems).
106
107
107
-
This increases your inotify watch limit to 524288, which is the maximum value.
108
+
Should you get an `OSError: [Errno 28] inotify watch limit reached` after running any command, this means that your system file watcher is running out of alloted handles, usually because the workspace is large and contains many files.
108
109
109
-
You can learn more about file watchers [here](https://unixia.wordpress.com/2018/04/28/inotify-watch-limit-reached-wait-what/) and [here](https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc).
110
+
The solution is to run:
110
111
112
+
*`sudo sysctl fs.inotify.max_user_watches=524288`
111
113
114
+
This increases your inotify watch limit (for the session) to 524288, which is the maximum value and is also enough to allow the setup go through.
112
115
116
+
You can learn more about file watchers [here](https://unixia.wordpress.com/2018/04/28/inotify-watch-limit-reached-wait-what/) and [here](https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc).
0 commit comments