Skip to content
Snippets Groups Projects
Commit af59f73d authored by Martin Ledvinka's avatar Martin Ledvinka
Browse files

Updated README with solutions to common problems.

parent 5d4874d7
No related branches found
No related tags found
No related merge requests found
......@@ -57,3 +57,12 @@ be teaching you, including their contact emails and rooms where to find them.
9. A browser will automatically open at [http://localhost:8080/ear-setup](http://localhost:8080/ear-setup).
1. If not, open it manually.
10. Congratulations, you are done!
### Common Problems
If you are unable to install npm dependencies or run the application, make sure of the following things:
* If you are running on Windows, move the project directory as far up the directory tree as possible. `npm install` tends to run into the
file path limit on Windows (260 characters), because it creates a relatively deep file structure.
Or, you can tell Windows to support longer paths - see [https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx](https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx), section **Maximum Path Length Limitation**.
* If `npm install` fails with errors on _Unmet peer dependencies_, make sure you are running npm at least version 3, which no longer treats missing peer dependencies as error.
* Make sure sufficient rights are set both on the project directory and on the directory of the Tomcat server, which is used to deploy your application.
* Make sure there are no spaces in paths to both your project and the Tomcat. Especially on Windows, where Tomcat is often installed into `Program Files`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment