Picture of Snorre Rubin
Login screen blank
by Snorre Rubin - Tuesday, 5 September 2017, 9:31 AM
 

I have now managed to install the app. But when opening localhost:5000 I get a blank screen:

 

any ideas?

Picture of Stu Pod
Re: Login screen blank
by Stu Pod - Tuesday, 5 September 2017, 11:07 AM
 

I had this happen when first trying Adapt. I can't remember whether it was due to a dud installation or the network I was on being locked down and blocking :5000 even for localhost, but I know there was a 500 error in the console and I know it only happened when using the Vagrant installation. Are you using Vagrant?

Picture of Thomas Berger
Re: Login screen blank
by Thomas Berger - Wednesday, 6 September 2017, 7:06 AM
 

Hello Snorre,

looks like there was an error with building the Frontend.

Can you please try executing "grunt build" in a Terminal Window located in the root directory of your Authoring Tool? This should be the same where you start the Tool with "node server". 

Please check the error messages in case something breaks and post them to the forum. This will help us understand what's causing the issue.

Thanks

Thomas

Picture of Snorre Rubin
Re: Login screen blank
by Snorre Rubin - Thursday, 7 September 2017, 11:22 AM
 

Hi Thomas

Thanks for the reply when trying to execute "grunt build", it tells me that 'grunt' is not recognized as an internal or external command

Picture of Thomas Berger
Re: Login screen blank
by Thomas Berger - Friday, 8 September 2017, 6:15 AM
 

Hello,

that is definitely an issue. Have you installed grunt cli according to this instructions?

If you did and are on a Windows PC you may add the npm path to your system path so that it can be found as an executable.

On my system node modules are installed here: C:\Users\{USER}\AppData\Roaming\npm

So I have added this path to my environmental variables.

Hope this is usefull.

Thomas 

Picture of Snorre Rubin
Re: Login screen blank
by Snorre Rubin - Friday, 8 September 2017, 7:04 AM
 

I'm a bit of a noob here. I'm not sure how I add the path to my environmental variables. 

Picture of Snorre Rubin
Re: Login screen blank
by Snorre Rubin - Friday, 8 September 2017, 7:10 AM
 

I have just tried to execute the command "node upgrade.js"

Once again I get an error: 'grunt' not recognized...

node server still not working properly.

Picture of Thomas Berger
Re: Login screen blank
by Thomas Berger - Monday, 11 September 2017, 7:04 AM
 

Hello Snorre,

first of all, messing with the environment variables can cause issues on your system, so proceed only if you feel comfortable. Backups for super urgent files are usually a good idea. You may also do some further research on the internet to set environment variables on Windows.

 

First confirm that grunt is installed on your system:

Type in "%appdata%\npm" in an Explorer Window's url bar.

In this folder you should see a grunt and grunt.cmd file.

If that's the case, grunt is already installed but the path is missing in the system, so the executable can't be found.

 

Here is how I added the path to my environmental variables:

type in "environmental variables for this profile".

This should open a window that looks something like the image I attached.

Select PATH and click edit.

In this Window you will need to add a new entry with the text "%appdata%\npm". This is the location where your modules are installed.

Hope this helps.

Thomas


Picture of Snorre Rubin
Re: Login screen blank
by Snorre Rubin - Monday, 11 September 2017, 8:03 AM
 

Thank you SO much. It works now.

Picture of Thomas Berger
Re: Login screen blank
by Thomas Berger - Tuesday, 12 September 2017, 6:03 AM
 

cool, that's fantastic news!

Picture of Stephanie Sapienza
Re: Login screen blank
by Stephanie Sapienza - Wednesday, 10 January 2018, 12:10 AM
 

I'm having this same issue, and have walked through the same steps as you've kindly outlined for Snorre - checked that grunt is installed, and made sure that there's a path specified for it in my environmental variables. My error message is this:

ERROR: Failed to build the web application, ('grunt' is not recognized as an internal or external command,

operable program or batch file.
)
Install will continue. Try again after installation completes using 'grunt build:prod'.

Install was unsuccessful. Please check the console output.

I've successfully installed all other components, and MongoDB is running. This seems to be the final hurdle (after many). Please help??