Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run the front-end dev server #9389

Closed
sachin-chand-tc opened this issue Jan 30, 2019 · 6 comments
Closed

Not able to run the front-end dev server #9389

sachin-chand-tc opened this issue Jan 30, 2019 · 6 comments
Labels
a-DevHelp Help request from contributors; this label is not used anymore c.Message A means of communication with the core team; this label is not used anymore

Comments

@sachin-chand-tc
Copy link

  • Commit SHA: 5de3876
  • Operating System: Ubuntu 18.04.1 LTS
  • JDK Version: 1.8.0_191
  • Node.js Version: v10.14.2
  • Google Cloud SDK Version: 231.0.0
  • Eclipse / IntelliJ Version (if applicable):
  • Firefox / Chrome Version (if applicable):

What I was trying to do / What I need help with
I am setting up the local development environment and have followed the setting up document properly. While following the development.md document I am not able to start the dev-server front-end.

When trying to do ./gradlew generateTypes I am shown this error:

  • What went wrong:
    Task 'generateTypes' not found in root project 'teammates'.

  • Try:
    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Attempts to resolve the problem
I tried doing everthing from scratch and checking all the dependencies a couple of time, but looks like I am missing some configuration files.

I tried doing ./gradlew buildDependents but an error was again incurred.

I also tried going through previous questions around dev server but couldn't come to a solution.

Hope someone helps me soon.
Thanks in advance

@jacoblipech
Copy link
Contributor

Hi @crownedlake did you face any other problem during the set up process? Also, can you do an git pull from the master to ensure that you are on the latest version of teammates.

@xpdavid xpdavid added a-DevHelp Help request from contributors; this label is not used anymore c.Message A means of communication with the core team; this label is not used anymore labels Jan 30, 2019
@wkurniawan07
Copy link
Member

@crownedlake, if your repo is the same as what I see here https://github.com/crownedlake/teammates (and it tallies with the commit SHA you wrote above), you need to sync it with the latest master branch. A lot has changed, and very particularly, the movement from JSP to Angular.

@sachin-chand-tc
Copy link
Author

Hi @crownedlake did you face any other problem during the set up process? Also, can you do an git pull from the master to ensure that you are on the latest version of teammates.

Hi @jacoblipech I did git pull before setting the environment.

@sachin-chand-tc
Copy link
Author

@crownedlake, if your repo is the same as what I see here https://github.com/crownedlake/teammates (and it tallies with the commit SHA you wrote above), you need to sync it with the latest master branch. A lot has changed, and very particularly, the movement from JSP to Angular.

Hi @wkurniawan07 I have not updated my forked repo but i did 'git pull' from teammates master repo in my local system before setting up, though I will try again by updating my forked repo and proceeding as per the document

@sachin-chand-tc
Copy link
Author

I have updated the repo and followed all the steps again, and happily the front end dev server looks fine

I have a new problem while starting the backend server.
Getting the 404 not found error. Help needed.

@sachin-chand-tc
Copy link
Author

So it looks like i have to start front end and back end dev server separately for the application to work fine. Closing this. Thanks for the help guys 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-DevHelp Help request from contributors; this label is not used anymore c.Message A means of communication with the core team; this label is not used anymore
Projects
None yet
Development

No branches or pull requests

4 participants