Picture of Darrin Quesenberry
Problems running install scrip
by Darrin Quesenberry - Tuesday, 16 June 2015, 3:32 PM
 

I am trying to install the Adapt Authoring tool and I made it to the step 3: Run the Install Script. 

I navigated to my adapt_authoring folder and I type npm install and it returns this: 

 

 

Picture of Helen Bailey
Re: Problems running install scrip
by Helen Bailey - Tuesday, 16 June 2015, 5:06 PM
 

WHat happens if you just leave it there for a few minutes, anything?

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Tuesday, 16 June 2015, 6:11 PM
 

Nothing happens. It just sits there. If I push enter, it just creates a new line and nothing happens. 

Picture of Dennis Heaney
Re: Problems running install scrip
by Dennis Heaney - Tuesday, 16 June 2015, 9:14 PM
 

Hi Darrin,

At this point in the install process, git is invoked to clone the framework from https://github.com/adaptlearning/adapt_framework.git - I would expect to see an error logged to the console if git was not available, or if there was an error.

It is possible that the github link was not available for one reason or another when you ran the script. Can you try running "node install" again, and if nothing seems to happen after 2-3 minutes, try visiting the link https://github.com/adaptlearning/adapt_framework in your browser and check if it loads ok.

Dennis

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Wednesday, 17 June 2015, 4:46 PM
 

I have tried several different time to run the node install. I tried just now again. Still nothing happens. I can go to the link just fine. Is there another report I can show you that may help?

 

 

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Wednesday, 17 June 2015, 8:14 PM
 

Ok so I deleted the original adapt_authoring folder and re-cloned. Ran the install again and now I have new problems: 

 

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Wednesday, 17 June 2015, 8:54 PM
 

This is what I get when I do node install:

 

Picture of Dennis Heaney
Re: Problems running install scrip
by Dennis Heaney - Wednesday, 17 June 2015, 9:11 PM
 

Hi Darren,

It looks like you haven't run the "npm install" command after re-cloning. Try that first, then try "node install" again. Also, can you please verify that you have node v0.10.33 installed by running the command "node -v".

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Thursday, 18 June 2015, 12:26 PM
 

Dennis,

That is the message I get after I run the npm install command. 

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Thursday, 18 June 2015, 12:35 PM
 

and yes I have v.0.10.33. You can see that in the screenshot. 

Picture of Dennis Heaney
Re: Problems running install scrip
by Dennis Heaney - Thursday, 18 June 2015, 10:21 PM
 

Hi Darrin,

So it seems that the phantomjs package install is broken for some reason - I've tried a fresh install on my ubuntu box, and I can't reproduce that error. I'll try this on a Windows machine tomorrow when I get the chance. Can you post and let us know which version of Windows you're using.

I believe that the phantomjs package is not actually required to run the tool as an end user, however, so until we can locate and fix the cause of your issue, please try removing line 62 in package.json that says:

    "phantom": "^0.6.5",

I've added an issue to the bug tracker here: https://github.com/adaptlearning/adapt_authoring/issues/726

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Monday, 22 June 2015, 3:10 PM
 

Sorry I am just replying to this. I am using Windows 7. 

Picture of finbar tracey
Re: Problems running install scrip
by finbar tracey - Monday, 22 June 2015, 4:11 PM
 
Hi Darren,
I am using a win 7 machine with a similar set up.
Node version 0.10.33, npm version 1.4.28.

I am not experiencing any problems. Can you try npm cache clean.
Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Monday, 22 June 2015, 4:18 PM
 

Like so: It doesn't look like it did anything? 

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Monday, 22 June 2015, 4:29 PM
 

Did you install node version manager for windows?  I downloaded node version 0.10.33 from here and I feel like this is my problem? http://blog.nodejs.org/2014/10/23/node-v0-10-33-stable/

 

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Monday, 22 June 2015, 4:11 PM
 

Ok I went to adapt_authoring > package> deleted line 62 and tried to install and this is what I get: 

Picture of Darrin Quesenberry
Re: Problems running install scrip
by Darrin Quesenberry - Tuesday, 30 June 2015, 2:06 PM
 

Dennis,

Any update on this? I have tried a couple different things, but I am still getting the same error. 

Mark
Re: Problems running install scrip
by Mark Lynch - Tuesday, 30 June 2015, 2:55 PM
 

Hi,

From your SS I see that you are using Powershell, I'm guessing that most others are using the regular windows CMD shell.

So, I found this

http://stackoverflow.com/questions/19569990/npm-install-doesnt-work-in-windows-powershell

It might be worth giving that a try or even switching out to using the regular windows CMD prompt (I think node installs one and you'll find it as a shortcut).