Picture of Mike  Nedelko
Adapt Framework Install Issues
by Mike Nedelko - Friday, 26 December 2014, 3:45 AM
 

Hi Adapt Community

I just attempted to set up the Adapt Framework on a new machine, and ran into troubles whilst following the "setup your Development Environment". The following error occurs when I enter sudo npm install adapt-cli -g. Any ideas what could cause this? Any advice would be highly appreciated.

npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/adaptlearning/download.git)
npm ERR! git clone git://github.com/adaptlearning/download.git dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
npm ERR! git clone git://github.com/adaptlearning/download.git Referenced from: /usr/local/git/bin/git
npm ERR! git clone git://github.com/adaptlearning/download.git Expected in: /usr/lib/libSystem.B.dylib
npm ERR! git clone git://github.com/adaptlearning/download.git
npm ERR! git clone git://github.com/adaptlearning/download.git dyld: Symbol not found: ___strlcpy_chk
npm ERR! git clone git://github.com/adaptlearning/download.git Referenced from: /usr/local/git/bin/git
npm ERR! git clone git://github.com/adaptlearning/download.git Expected in: /usr/lib/libSystem.B.dylib
npm ERR! Darwin 12.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "adapt-cli" "-g"
npm ERR! node v0.10.35
npm ERR! npm v2.1.16

npm ERR! Command failed: dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
npm ERR! Referenced from: /usr/local/git/bin/git
npm ERR! Expected in: /usr/lib/libSystem.B.dylib
npm ERR!
npm ERR! dyld: Symbol not found: ___strlcpy_chk
npm ERR! Referenced from: /usr/local/git/bin/git
npm ERR! Expected in: /usr/lib/libSystem.B.dylib
npm ERR!
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR! /Users/mac/Documents/npm-debug.log

Picture of Tom Taylor
Re: Adapt Framework Install Issues
by Tom Taylor - Tuesday, 30 December 2014, 12:44 PM
 

Hi Mike,

It sounds like you may be running into the same issue as Michael in the following post:

https://community.adaptlearning.org/mod/forum/discuss.php?d=399

Did you run the command from the windows command prompt?

Picture of Leonardo Wavere
Re: Adapt Framework Install Issues
by Leonardo Wavere - Monday, 5 January 2015, 3:11 PM
 

You may also need to check your firewall options to see if it meddles with anything which concerns the framework. From my experience of working with a certain web development company I can say that very often the possible issues with firewall are simply overlooked.

Picture of Oliver Foster
Re: Adapt Framework Install Issues
by Oliver Foster - Monday, 5 January 2015, 3:49 PM
 

Hi Mike,

This is a Mac command line issue which can be solved by googling the phrase:

dyld: Symbol not found: ___strlcpy_chk

 

http://stackoverflow.com/questions/20929689/git-clone-command-not-working-in-mac-terminal

^ this link should give you some idea of what you need to do.

 

Kind Regards,

Oliver Foster

Picture of Mike  Nedelko
Re: Adapt Framework Install Issues
by Mike Nedelko - Tuesday, 6 January 2015, 6:13 AM
 

Thank you very much Oliver. I'll check it out!

Picture of Mike  Nedelko
Re: Adapt Framework Install Issues
by Mike Nedelko - Tuesday, 6 January 2015, 6:14 AM
 

Thank you Tom and Leonard. I will have a tinker and will see what works :).