I have created one helium package and the all the files are locally available. Following is my package.json, it worked absolutely fine on Zeppelin-0.8.snapshot version but on Zeppelin-0.7.2, I am getting an error that the package is not found in npm registry. Why it is searching for this in the npm registry? I have also tried providing absolute path but same error.
{
"type" : "VISUALIZATION",
"name" : "zeppelin_helium_XXX",
"description" : "XXXX",
"artifact" : "./zeppelin-helium-verity",
"license" : "Apache-2.0",
"icon" : "<img>Removed the actual base64 string</img>"
}
Related
I'm trying to install React Native by following instructions on this page : https://facebook.github.io/react-native/docs/getting-started.html
but when I want to run my new project I obtain several errors and a log file is created with all what happened during the procedure.
The link to see the log : https://drive.google.com/open?id=0B8Sis1RFrKgiZTFTRWFLUmZpZlk
Thank you !
You need to install git, as you log says.
2223 error not found: git
2224 error Failed using git.
2224 error This is most likely not a problem with npm itself.
2224 error Please check if you have git installed and in your PATH.
2225 verbose exit [ 1, true ]
Here you can find how to do it:
Installing Git
I have tried so many times install wpf extended toolkit via Nuget.Here I got an error
You are trying to install this package into a project that targets '.NETCore,Version=v4.5.1', but the package does not contain any assembly
references or content files that are compatible with that framework. For more information, contact the package author
How to resolve this issue
So I created a blank C# WPF Application solution/project and then went to the project properties setting the framework version to v4.5.1. Next I went to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution and in the search filter type WPF Extended Toolkit. This should list v2.5.0 of the Extended.WPF.Toolkit with the Plus version underneath.
By default, any project you have available should be listed on the right hand side as ticked for install if you don't already have the package installed. Click on Install which should give you a preview window saying what it is going to do and confirming will action the change.
In the Output Window, it should be selected to the Package Manager in the drop down and there it will list what it has done. If this fails, can you copy the content of the Package Manager output and paste it in here for us to see.
It should look something like this:
Attempting to gather dependencies information for package 'Extended.Wpf.Toolkit.2.5.0' with respect to project 'WpfApplication1', targeting '.NETFramework,Version=v4.5.1'
Attempting to resolve dependencies for package 'Extended.Wpf.Toolkit.2.5.0' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Extended.Wpf.Toolkit.2.5.0'
Resolved actions to install package 'Extended.Wpf.Toolkit.2.5.0'
Adding package 'Extended.Wpf.Toolkit.2.5.0' to folder 'c:\users\netniv\documents\visual studio 2015\Projects\WpfTestApplication1\packages'
Added package 'Extended.Wpf.Toolkit.2.5.0' to folder 'c:\users\netniv\documents\visual studio 2015\Projects\WpfTestApplication1\packages'
Added package 'Extended.Wpf.Toolkit.2.5.0' to 'packages.config'
Executing script file 'c:\users\netniv\documents\visual studio 2015\Projects\WpfTestApplication1\packages\Extended.Wpf.Toolkit.2.5\tools\install.ps1'...
AutoHides : False
Caption : Loading...
Collection : {Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase,
Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase,
Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase,
Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase...}
CommandBars : {URL Toolbar, F1 Disambiguation Toolbar}
ContextAttributes : System.__ComObject
DTE : System.__ComObject
Document :
HWnd : 593536
Height : 856
IsFloating : False
Kind : Tool
Left : 31
Linkable : False
LinkedWindowFrame : Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase
LinkedWindows :
Object : System.__ComObject
ObjectKind : {E8B06F52-6D01-11D2-AA7D-00C04F990343}
Project :
ProjectItem :
Selection :
Top : 106
Type : vsWindowTypeToolWindow
Visible : True
Width : 1623
WindowState : vsWindowStateMaximize
HasBeenDeleted : False
Events : Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowEvents
VisibilityEvents : Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowVisibilityEvents
Rect : 31,106,1623,856
OutstandingEventCount : 0
Successfully installed 'Extended.Wpf.Toolkit 2.5.0' to WpfApplication1
========== Finished ==========
I am trying to install Cakephp Ratchet Plugin in existing project.
My CakePHP version is 2.4.3.
It says to follow this link which has following steps:
$ cd myproject/app/
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar require --no-update opauth/opauth:dev-wip/1.0 opauth/twitter:dev- wip/1.0
$ php composer.phar config vendor-dir Vendor
$ php composer.phar install
I am not very familiar with composer and when i do the last step,it shows following error....
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package opauth/opauth could not be found in any version, there may be a typo in the package name.
Problem 2
- The requested package opauth/twitter could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
EDIT:
Composer.json is like this
{
"require": {
"opauth/opauth": "dev-wip/1.0",
"opauth/twitter": "dev-wip/1.0"
},
"config": {
"vendor-dir": "Vendor"
}
}
As already mentioned in my comment, the Ratchet Plugin has nothing to do with Opauth, the linked article over at ceeram.github.io should only serve as an example on how to configure Composer and the CakePHP bootstrap.
However, for Composer autoloading in CakePHP I'd recommend to refer to the CakePHP cookbook, even if you're not including CakePHP itself via Composer:
http://book.cakephp.org/2.0/en/installation/advanced-installation.html
Long story short, what the "Getting Started / 2. Composer" section of the plugin docs want you to do, is to require the ratchet plugin, to make sure the vendor dir points to /app/Vendor/, and to include the Composer autoloader in your bootstrap.php.
composer.json (assuming it's placed in /app)
{
"require": {
"wyrihaximus/ratchet": "dev-master"
},
"config": {
"vendor-dir": "Vendor"
}
}
bootstrap.php (as per Cookbook)
// Load Composer autoload.
require APP . '/Vendor/autoload.php';
// Remove and re-prepend CakePHP's autoloader as Composer thinks it is the
// most important.
// See: http://goo.gl/kKVJO7
spl_autoload_unregister(array('App', 'load'));
spl_autoload_register(array('App', 'load'), true, true);
Run composer install or composer update and you should be good.
I am really frustrated that making my adhoc app install to my device. I have got this problem in this app. I used a team provision file (i.e. with "*" as identifier) to build all my apps for adhoc. it works fine for all other apps. just this app, when i install, it pops up a message "a signed resource has been added modified or deleted" and getting the following message in the organizer console log.
installd[53] : 0x303000 handle_install: Install of "/var/mobile/Media/PublicStaging/mygame.ipa" requested by mobile_installation_proxy
Jul 25 03:52:35 Chaus-iPhone-5 installd[53] : 0x303000 MobileInstallationInstall_Server: Installing app com.mycom.mobile.mygame
installd[53] : Jul 25 03:52:36 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
installd[53] : 0x303000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.8gaMZw/foo_extracted/Payload/mygame.app/mygame: 0xe8008017
installd[53] : 0x303000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.8gaMZw/foo_extracted/Payload/mygame.app
installd[53] : 0x303000 install_application: Could not preflight application install
mobile_installation_proxy[6989] : 0x3ceefb78 MobileInstallationInstall: failed with -1
mobile_installation_proxy[6989] : handle_install: Installation failed
installd[53] : 0x303000 handle_install: API failed
please let me know what I should do to fix this problem. Thanks a lot!!!!
finally I found this is the solution:
go to your project in terminal and type:
find . -name "._*" -delete
Here's the composer.json:
{
"repositories": [
{
"type": "composer",
"url": "https://packages.zendframework.com/"
}
],
"require": {
"zendframework/zend-http": "2.*"
}
}
... and the exhaustive list:
Authentication Code Db Escaper Filter InputFilter Log Mime Paginator Server Stdlib Uri XmlRpc
Barcode Config Debug EventManager Form Json Mail ModuleManager Permissions ServiceManager Tag Validator
Cache Console Di Feed Http Ldap Math Mvc ProgressBar Session Test Version
Captcha Crypt Dom File I18n Loader Memory Navigation Serializer Soap Text View
Some of them actually make sense. But what about Barcode,Captcha,Navigation or even Dbfor instance?
Edit
$ rm -rf vendor
$ rm -rf ~/.composer/
$ rm composer.lock
$ more composer.json
{
"require": {
"zendframework/zend-http": "2.*"
}
}
$ composer self-update
You are using the latest composer version.
$ composer install
Loading composer repositories with package information
Installing dependencies
- Installing zendframework/zendframework (2.1.3)
Downloading: 100%
zendframework/zendframework suggests installing doctrine/common (Doctrine\Common >=2.1 for annotation features)
zendframework/zendframework suggests installing ext-intl (ext/intl for i18n features)
zendframework/zendframework suggests installing pecl-weakref (Implementation of weak references for Zend\Stdlib\CallbackHandler)
zendframework/zendframework suggests installing zendframework/zendpdf (ZendPdf for creating PDF representations of barcodes)
zendframework/zendframework suggests installing zendframework/zendservice-recaptcha (ZendService\ReCaptcha for rendering ReCaptchas in Zend\Captcha and/or Zend\Form)
Writing lock file
Generating autoload files
PS: pleased that some consider my question as simply good to be closed ... I really thank the others for having tryed to answer.
It doesn't.
Using that composer.json file, I get this:
$ composer.phar install
Loading composer repositories with package information
Installing dependencies
- Installing zendframework/zend-stdlib (2.1.3)
Downloading: 100%
- Installing zendframework/zend-servicemanager (2.1.3)
Downloading: 100%
- Installing zendframework/zend-filter (2.1.3)
Downloading: 100%
- Installing zendframework/zend-i18n (2.1.3)
Downloading: 100%
- Installing zendframework/zend-validator (2.1.3)
Downloading: 100%
- Installing zendframework/zend-escaper (2.1.3)
Downloading: 100%
- Installing zendframework/zend-uri (2.1.3)
Downloading: 100%
- Installing zendframework/zend-loader (2.1.3)
Downloading: 100%
- Installing zendframework/zend-http (2.1.3)
Downloading: 100%
zendframework/zend-stdlib suggests installing pecl-weakref (Implementation of weak references for Stdlib\CallbackHandler)
zendframework/zend-servicemanager suggests installing zendframework/zend-di (Zend\Di component)
zendframework/zend-filter suggests installing zendframework/zend-crypt (Zend\Crypt component)
zendframework/zend-validator suggests installing zendframework/zend-db (Zend\Db component)
zendframework/zend-validator suggests installing zendframework/zend-math (Zend\Math component)
Writing lock file
Generating autoload files
The full list of dependencies that zend-http has are:
Escaper
Filter
i18n
Loader
ServiceManager
StdLib
Uri
Validator