Picture of Amit Golhar
When I try to update node upgrade.js file it throw this error message
by Amit Golhar - Friday, 8 July 2016, 7:32 AM
 

$ node upgrade.js
This script will update the Adapt Builder (and/or Adapt Framework) to the latest released version. Would you like to continue?
prompt: Y/n: (Y) Y
info: [08 Jul 2016 12:56:18 +05:30] configuration loaded from C:\Users\amitg\Desktop\Desktop backup\adapt_authoring\conf\config.json
Server has started
Checking versions
Currently installed versions:
- Adapt Builder: v0.1.4
- Adapt Framework: v2.0.6
info: [08 Jul 2016 12:56:20 +05:30] Server started listening on port 5000
Checking for Adapt Builder upgrades...
Checking for Adapt Framework upgrades...
Update for Adapt Builder is available: v0.1.7
Update for Adapt Framework is available: v2.0.10
Upgrading the Adapt Builder...please hold on!
From https://github.com/adaptlearning/adapt_authoring
* branch HEAD -> FETCH_HEAD

Fetch from GitHub was successful.
Pulling latest changes...
fatal: ambiguous argument 'v0.1.7': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

ERROR: 128


Picture of Tom Taylor
Re: When I try to update node upgrade.js file it throw this error message
by Tom Taylor - Friday, 8 July 2016, 12:10 PM
 

Hi Amit,

I've just tried unsuccessfully to replicate your issue with a fresh copy of the tool's code -- the update worked fine for me.

It looks like something went wrong when fetching/pulling from GitHub. Try running the following to show you any differences between your local code and v0.1.7:

git diff v0.1.7 HEAD

I'd expect nothing to be output in the console if your code is the same.

Picture of Amit Golhar
Re: When I try to update node upgrade.js file it throw this error message
by Amit Golhar - Monday, 11 July 2016, 6:40 AM
 

Thanks Tom For the answeringÂ