How to start an app installed from a private npm registry inside another angular2 app - html

I have created individual apps and published them into a private npm registry.
I have created a new Angular2 project and installed these apps as dependencies.
Now when I do npm start the Angular2 app is starting but how do I invoke the other apps which I had installed from the private registry.
I want all the apps to be working in the same project with displaying corresponding details based on the selection of app.

Instead of creating separate apps. I would suggest to convert them into Angular Module, import them and use them. Otherwise if you can show us your build system for the apps we might be able to help you more.

Related

Visual Studio Team Services Building JSON Scripts

I'm currently building scripts using Selenium Builder (which saves files as JSON) and i'm having a hard time running these scripts on VSTS. My question specifically is, can Visual Studio Team Services build JSON scripts and tie them in with its C.I.? If so, which approach must I take in order to do this / make it possible?
Thanks!
Here is my steps for your reference:
Deploy your own private build agent by following this link.
Configure the required environment on the build agent like Selenium Driver, Firefox so that the testing can be run on the build agent.
Upload the json file generated by Selenium Builder into VSTS Repository.
Create a build definition with two Command Line tasks: The first one runs npm install command to install se-interpreter:
And the second one run se-interpreter command to run the test in json file:
Queue the build, you will see the test been executed during the build:

Project requires the following components installed on your machine: Xamarin.GooglePlayServices.Base

I am developing a cross platform mobile app with Xamarin Forms PCL. There I want to create a screen with Google Map, for that have added NuGet package i.e. Xamarin.Forms.Maps as guided in https://developer.xamarin.com/guides/xamarin-forms/user-interface/map/. But after installing this package, my solution stopped working and event I can't clean/rebuild it.
Click here to see detailed error log
Any suggestion would be great help for me.

Google Drive API for Objective-C with CocoaPods not linking GTMOAuth2 and

I am trying to incorporate Google Drive API into my Objective-C app. I'm using this link. I setup the quickstart example and that works fine. For my app, I added the API using CocoaPods as directed. When I run the app, I get linker errors not finding GTMOAuth2, GTMSessionFetcher and GoogleAPIClient. Here is one example.
ld: warning: directory not found for option '-L/Users/k/Library/Developer/Xcode/DerivedData/DA/dntvfajcuzknsddygndaenxbqsii/Build/Products/Debug-iphonesimulator/GTMOAuth2'
Under Target->Build settings -> other linker flags
-ObjC -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleAPIClient" -framework "Security" -framework "SystemConfiguration" -lz
for run path search paths, I have #executable/Frameworks
Can some provide info on how to probably setup Xcode so it finds GTMOAuth2, GTMSessionFetcher and GoogleAPIClient that are setup by the CocoaPods.
You may want to try the installation process as discussed in Install a Google SDK using CocoaPods or in Google APIs for iOS which gives the following steps in adding a Google SDK to your iOS app:
CocoaPods is used to install and manage dependencies in existing Xcode projects.
Create an Xcode project, and save it to your local machine.
Create a file named Podfile in your project directory. This file defines your project's dependencies, and is commonly referred to as a Podspec.
Open Podfile, and add your dependencies.
Save the file.
Open a terminal and cd to the directory containing the Podfile.
Run the pod install command. This will install the SDKs specified in the Podspec, along with any dependencies they may have.
Open your app's .xcworkspace file to launch Xcode. Use this file for all development on your app.
Please also check the list of CocoaPods published by Google.
Furthermore, you may want to continue the setup using the approaches to add the library to your project as discussed in this GitHub post such as using GTM OAuth2 or Google Sign-In SDK and adding the framework to an Xcode project.
Lastly, to help you troubleshoot problems during installation, you may visit this guide.

Cordova build error :transformclasseswithdexfordebug

When I try build app I get this error what I do?
I tried re-install node.js and cordova but it didn't work.
Why not use Ionic to build your app via Cloud.
First, run
ionic io init
Create account on Ionic website, put in the details on command live as asked.
Run the below command.
ionic package build android
No need to install anything, files will be built online.

MonoDroid and Google Maps: package com.google.android.maps does not exist

I am having trouble to incorporate Google Maps in an adroid app created with MonoDroid. I am using the MonoDevelop IDE.
I referenced the Mono.Android.GoogleMaps package (I noticed that the version is 0.0.0.0).
I created a MapActvity called LocationMapActivity. When I try to build the app I get the following error in LocationMapActivity.java: package com.google.android.maps does not exist.
Thanks in advance for your help!
EDIT: Make sure not to forget to set the correct target framework after installing the Google API.
The Google Maps library is not included with the base Android SDK, so I'm guessing that you haven't installed the Google APIs add-on. Xamarin has some documentation available here with details on what you need to do to install the add-on and set up an emulator that includes support for it.