-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problem #2
Comments
@casamia918, this one might be tough to debug... @superkhau or @gunjpan, can you guys both try the install? $ git clone [email protected]:strongloop/loopback-sdk-xamarin.git
$ cd loopback-sdk-xamarin
$ npm install If either of you see similar failures, please let me know and I will figure out how to move forward from there. |
Nobody here? |
Sorry, I talked to @gunjpan in person and he said he had some issues too although they were different. I'm on windows and I had issues building @casamia918, will keep you updated as we figure this out. |
Do you know when this bug will be fixed? |
@xnramx, the issue isn't actually with this repo, it's with dependencies. Whenever we have an issue with 3rd party dependencies, it's difficult to put a timeline on it. Your best bet is to try and figure out what's going on with the dependency and see if you can get that built, then this repo should work fine. |
For what its worth, I got it working on my machine by manually upgrading edge. First, I followed the install instructions for edge. For me it was the following commands:
At this point I restarted the terminal.
I removed the line for edge, I believe the version was ^0.10.1
And everything seems to work just fine. I won't pretend that I know why this works because I'm just getting started with Node but here it is. The edge version that gets installed is ^5.0.0 |
Thanks @jpflueger! I'm going to keep this issue open so that people can find your solution. I don't want to update the package.json to |
Thanks @jpflueger . I followed your advise, removed currently installed edge version(^0.10.1) and installed latest edge version (^5.0.0).
By reading https://github.com/tjanczuk/edge, it seems to need to use core_clr variable. So I declare EDGE_USE_CORECLR variable, and got new error
I read lb-xm.js line 50 and found it’s the edge function that calling LBXamarinSDKGenerator.dll. Refer to the readme, this is builded library for the C# part of the SDKgenerator. I presumed that the error is due to the system library loading. So I opened the the LBXamarinSDK.sln (C# project) to observe C# source code.
Hmm… I blocked in every step by step. Anyway, can someone find the cause of System.console problem? Thanks. At last, I made it. Just do jpflueger's bash command. After various trial, my loopback-sdk-xamarin project folder looks like somewhat twisted. So I removed the whole folder, uninstalled the every related products (mono, edge), and only follow the jpflueger's step. Do not install mono by yourself from the mono homepage.
the mono is installed automatically during the coreclr installation step. I guess that that my error 'cannot load type System.Console' is due to the complict of 2 mono version. (I'm not sure). Thanks |
Hi @casamia918 |
@loay See my last comment. I fixed all isssues. What problems do you have? |
All my issues were fixed by replacing the requirement for edge into edge-js, in |
[Environment]
Mono JIT compiler version 4.4.0 (mono-4.4.0-branch/a3fabf1 Fri Apr 8 13:48:29 EDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/a173357)
GC: sgen
I'm following the installation guid step by step.
Clone the git repositories and executed
Then, the error message is
I found that loopback-sdk-generator needs mono64, and the brew install link in the install script is broken. So I installed mono64 by official homepage.
http://www.mono-project.com/download/ -> Download Mono Universal Installer
After install mono64(Wait. when I command mono --version, its architecture shows x86, not x64.Is this important?) I execute the lb-xm command
Then the error message is
I followed the edge build guide from https://github.com/tjanczuk/edge.
$npm install edge -> Error
I searched the problem and it needs to set path PKG_CONFIG_PATH. So I executed
And then, again
I totally lost the way at this stage. What's the problem?
The text was updated successfully, but these errors were encountered: