Picture of Chris Walker
Trouble on Install Adapt Authoring: Python & Casperjs
by Chris Walker - Friday, 15 May 2015, 9:52 PM
 

Hi,

I thought I had things going pretty well during install, but I came across a couple of bumps. Here's a copy of my terminal output during install (https://gist.github.com/NoisyText/2bb9701e18706e19add5). I'm new to all things node.js--I'm also a little bleary-eyed from staring at this for so long, but here are the problems I can identify in the log:

  • Line 33: From what I can tell, "gyp" doesn't like my Python v3.3.3. However this stackoverflow discussion (http://stackoverflow.com/questions/15912063/how-do-i-run-python-2-and-3-in-windows-7/17245543#17245543) says that py 3 and py 2 can work on the same system, but the script has to call it correctly.
  • Line 151: The other problem seems related to casperjs
    Error: EPERM, operation not permitted 'C:\xampp\adapt\adapt_authoring\node_modul
    es\casperjs\bin\casperjs'
        at Object.fs.symlinkSync (fs.js:741:18)
        at c:\xampp\adapt\adapt_authoring\node_modules\grunt-casperjs\install.js:34:
    20
        at ChildProcess.exithandler (child_process.js:646:7)
        at ChildProcess.emit (events.js:98:17)
        at maybeClose (child_process.js:756:16)
        at Socket.<anonymous> (child_process.js:969:11)
        at Socket.emit (events.js:95:17)
        at Pipe.close (net.js:465:12)

I'm very stumped and discouraged. I've been working at this for quite a while. Any help anyone can offer would be greatly appreciated.

Picture of Tom Taylor
Re: Trouble on Install Adapt Authoring: Python & Casperjs
by Tom Taylor - Monday, 18 May 2015, 11:03 AM
 

Hi Chris,

Sorry to hear you're having problems installing. It sounds like you might be experiencing this issue: https://github.com/ronaldlokers/grunt-casperjs/issues/46

Can you post back with the following information please:

  • Windows version
  • Node version (node --version in a bash prompt)
  • Python version (python --version in a bash prompt)

Can you also let us know at which step you're experiencing these issues? (I'm assuming it's during npm install).

 

Picture of Chris Walker
Re: Trouble on Install Adapt Authoring: Python & Casperjs
by Chris Walker - Tuesday, 19 May 2015, 4:56 AM
 

Hi Tom,

Thanks so much for your response. I've been tinkering with a number of things over the last few days, and I was just able to get the login page to load !! :). I started all the way over and used node.js version 10.

I did get a question about Casper.js, it asked me if Casper.js was installed, but before I could respond it moved on and finished the instal.

So, at least now I can log in and get started learning. I'll be sure to post here again if I come across any problems that stump me :). thanks again for taking the time to respond.

~Chris