how can i install this nuget package? - nuget-package

I'm having this error while installing a package, does anyone know how to fix it?
Install-Package : Impossibile trovare una parte del percorso
'C:\Users\Sisinfo01.nuget\packages\xamarin.firebase.ios.core\8.10.0.1\lib\xamarinios10\Firebase.Core.resources\GoogleUtilitiesComponents.xcframework\ios-arm64_i386_x86_64-simulator\GoogleUtilitiesComponents.framework\Headers\GoogleUtilitiesComponents-umbrella.h'.
In riga:1 car:1
Install-Package "C:\Users\Sisinfo01.nuget\packages\barcodescanner.mo ...
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
I tried to search on the internet but I can't find anything and actually the folder is missing the files but how can I fix it

Related

Error with MSys2 toolchain when using ghcup to install Haskell?

My Haskell installation suddenly decided to break itself, so I uninstalled it. When I tried to install again with ghcup, I got the following error when trying to install the MSys2 toolchain:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
Exec: Error executing command curl.exe with arguments '-o
C:\Users\~\AppData\Local\Temp\\msys2-x86_64-latest.sfx.exe
https://repo.msys2.org/distrib/msys2-x86_64-latest.sfx.exe'
At line:170 char:11
+ throw ('Exec: Error executing command {0} with arguments '' ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Exec: Error exe...latest.sfx.exe':String) [], RuntimeException
+ FullyQualifiedErrorId : Exec: Error executing command curl.exe with arguments '-o C:\Users\~\AppData\Local\T
emp\\msys2-x86_64-latest.sfx.exe https://repo.msys2.org/distrib/msys2-x86_64-latest.sfx.exe'
I've installed Haskell before without getting this error before. What could this possibly mean? Thank you!
NOTE: This has been fixed! All I had to do was open up MSys2 and type in echo "ssl-no-revoke" > ~/_curlrc. This worked like a charm!

dnvm upgrade failing with exception

I'm getting an unhelpful exception when running dnvm upgrade:
C:\Users\...\Visual Studio 2015\Projects\foo>dnvm upgrade
Determining latest version
Unable to find any runtime packages on the feed!
At C:\Users\banksd\.dnx\bin\dnvm.ps1:483 char:9
+ throw "Unable to find any runtime packages on the feed!"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Unable to find ...es on the feed!:String) [], RuntimeException
+ FullyQualifiedErrorId : Unable to find any runtime packages on the feed!
I also can't resolve "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final" in a fresh ASP.NET 5 project.
Don't know if the two are related.
Any advise?

Unresolved assembly reference with sandcastle

I am trying to generate documentation with sandcastle help file builder. While building the project in the sandcastle i am getting the following error.
MRefBuilder : error : Unresolved assembly reference: Microsoft.Owin (Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) required by Microsoft.AspNet.Identity.Owin [C:\Users\inkosah\Documents\Help\Working\GenerateRefInfo.proj]
Last step completed in 00:01:19.4610
Can anybody help me to resolve this issue? I also tried adding it separately to project references in the sandcastle but no help.
Solution 1 : Add missing references to a dummy project.
Create 'dummyProject' (ie class library)
In Visual Studio - Package Manager Console
Install-Package Microsoft.Owin -Version 2.1.0.0 -ProjectName dummyProject
Install-Package Microsoft.Owin.Security.OAuth -version 2.1.0.0 -ProjectName dummyProject
In Sandcastle Help Fil Builder - Project Explore, add two references
Microsoft.aspNet.identity.Owin (dll found in ..\packages\Microsoft.AspNet.Identity.Owin.2.2.0\lib\net45)
Microsoft.Owin (dll found in ..\packages\Microsoft.Owin.2.1.0\lib\net45\Microsoft.Owin.dll)
It looks like MRefBuilder found that Microsoft.AspNet.Identity.Owin relies on Microsoft.Owin (== v 2.1.0) and not Microsoft.Owin (>= 2.1.0).
The main project is still using Microsoft.Owin 3.0.1.0
Solution 2 : Ignore unresolved references
In Documentation (or SHFB) Project Properties / Plug-Ins :
Add "Assembly Binding Redirection" in "Plugs-Ins in This Project"
configure it to "ignore if Unresolved" "Microsoft.Owin" and "Microsoft.Owin.Security.OAuth"

node-gyp rebuild fails installing stanford-corenlp on Windows 7

There are quite a few similar threads, which I thoroughly worked through this weekend, none of which contained the answer to my problem.
Installing the node package stanford-corenlp by calling
npm install stanford-corenlp
fails on my Windows 7 machine with the error output containing
npm ERR! Failed at the java#0.2.9 install script 'node-gyp rebuild'.
The first error displayed is:
child_process: customFds option is deprecated, use stdio instead.
This error ist followed by a few warnings and then hundreds of errors like these:
f:\appdata\roaming\npm\node_modules\stanford-corenlp\node_modules\java\src\java.h(10): error C2039: 'ObjectWrap' : is not a member of 'node' (..\src\java.cpp) [f:\AppData\Roaming\npm\node_modules\stanford-corenlp\node_modules\java\build\nodejavabridge_bindings.vcxproj]
f:\appdata\roaming\npm\node_modules\stanford-corenlp\node_modules\java\src\java.h(10): error C2504: 'ObjectWrap' : base class undefined (..\src\java.cpp) [f:\AppData\Roaming\npm\node_modules\stanford-corenlp\node_modules\java\build\nodejavabridge_bindings.vcxproj]
f:\appdata\roaming\npm\node_modules\stanford-corenlp\node_modules\java\src\java.h(23): error C2039: 'Arguments' : is not a member of 'v8' (..\src\java.cpp) [f:\AppData\Roaming\npm\node_modules\stanford-corenlp\node_modules\java\build\nodejavabridge_bindings.vcxproj]
f:\appdata\roaming\npm\node_modules\stanford-corenlp\node_modules\java\src\java.h(23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\java.cpp) [f:\AppData\Roaming\npm\node_modules\stanford-corenlp\node_modules\java\build\nodejavabridge_bindings.vcxproj]
f:\appdata\roaming\npm\node_modules\stanford-corenlp\node_modules\java\src\java.h(23): error C2143: syntax error : missing ',' before '&' (..\src\java.cpp) [f:\AppData\Roaming\npm\node_modules\stanford-corenlp\node_modules\java\build\nodejavabridge_bindings.vcxproj]
...
..\src\java.cpp(43): error C2819: type 'v8::Persistent<T>' does not have an overloaded member 'operator ->'
..\src\java.cpp(43): error C2039: 'InstanceTemplate' : is not a member of 'v8::Persistent<T>'
..\src\java.cpp(43): error C2227: left of '->SetInternalFieldCount' must pointto class/struct/union/generic type
..\src\java.cpp(44): error C2819: type 'v8::Persistent<T>' does not have an overloaded member 'operator ->'
..\src\java.cpp(44): error C2039: 'SetClassName' : is not a member of 'v8::Persistent<T>'
..\src\java.cpp(44): error C2039: 'NewSymbol' : is not a member of 'v8::String'
..\src\java.cpp(44): error C3861: 'NewSymbol': identifier not found
..\src\java.cpp(46): error C2664: 'node::NODE_SET_PROTOTYPE_METHOD' : cannot convert parameter 1 from 'v8::Persistent<T>' to 'v8::Handle<T>'
...
At the moment I have 32-bit versions of, Python, Java-SDK and node.js installed and environment variables set. (I started with 64-bit versions with the same result.)
I installed the Visual Studio 2012 Express version.
I tried the Windows SDK version 8.1.
I tried calling the npm call from the SDK 6.1 (2008) command prompt.
I tried .NET 3.5 and 4.5.
I tried adding the
--msvs_version=2012
option to the npm call.
I tried updating node-gyp with
npm install node-gyp#latest
I would be grateful for any kind of input, especially the kind of input that makes me understand what is going on, so that I might figure out the solution by myself.
I think this should be related to node version. However I couldn't find .travis.yml file under stanford-corenlp so I have no clue of the min/max version it supports. I would recommend you to start with v10, then v8 and v6 to see if it works.
I guess this was related to the node modules java, the latest java#0.4.7 work's well. PS : I am the author of the node module stanford-corenlp.

Installing v8-profiler using npm

While trying
npm install -g v8-profiler
I'm hitting the below errors:
..\graph_node.cc(99): error C2039: 'GetRetainersCount' : is not a member of 'v8::HeapGraphNode' [C:\Users\username\AppData\Roaming\npm\node_modules\v8
-profiler\build\profiler.vcxproj]
C:\Users\username\.node-gyp\0.10.15\deps\v8\include\v8-profiler.h(249) : see declaration of 'v8::HeapGraphNode'
..\graph_node.cc(132): error C2039: 'GetRetainedSize' : is not a member of 'v8::HeapGraphNode' [C:\Users\username\AppData\Roaming\npm\node_modules\v8-
profiler\build\profiler.vcxproj]
C:\Users\username\.node-gyp\0.10.15\deps\v8\include\v8-profiler.h(249) : see declaration of 'v8::HeapGraphNode'
..\graph_node.cc(154): error C2039: 'GetRetainer' : is not a member of 'v8::HeapGraphNode' [C:\Users\username\AppData\Roaming\npm\node_modules\v8-prof
iler\build\profiler.vcxproj]
C:\Users\username\.node-gyp\0.10.15\deps\v8\include\v8-profiler.h(249) : see declaration of 'v8::HeapGraphNode'
..\graph_node.cc(162): error C2039: 'GetDominatorNode' : is not a member of 'v8::HeapGraphNode' [C:\Users\username\AppData\Roaming\npm\node_modules\v8
-profiler\build\profiler.vcxproj]
C:\Users\username\.node-gyp\0.10.15\deps\v8\include\v8-profiler.h(249) : see declaration of 'v8::HeapGraphNode'
profiler.cc
Looks like a compilation issue. What might be wrong ?
My system has :
Visual Studio 2010
Windows SDK 7.1 Note: If you get error on installation, maybe this
link will help you.
Visual Studio 2010 SP1
Visual C++ 2010 SP1 Compiler Update for the Windows SDK 7.1
Python 2.7
As mentioned in : https://github.com/TooTallNate/node-gyp/wiki/Visual-Studio-2010-Setup
I just ran into this same issue. It looks like NodeFly's fork of v8-profiler contains the fix that Sean described, so I installed that version instead:
npm install nodefly-v8-profiler
According to this comment on GitHub, some APIs were removed from V8, and v8-profiler hasn't been updated.
It was V8 problem.
v8-profiler uses some V8 API's, but those API's are eliminated from V8 in version 3.11.5.
...
In order to use v8-profiler, simplest way is to remove the following
methods and SetAccessor call inside constructor from graph_node.cc and
rebuild v8-profiler.
GraphNode::GetRetainersCount
GraphNode::GetRetainedSize
GraphNode::GetRetainer
GraphNode::GetDominator
But of course, if you do this, you can't see anymore dominator and retainer informations.

Resources