React-native-windows: WPF ChakraCore missing package

Created on 22 Jun 2017  路  14Comments  路  Source: microsoft/react-native-windows

The ChakraCore version used in the WPF project is no longer available.

Severity Code Description Project File Line Suppression State
Error NuGet Package restore failed for project Native: Unable to find version '1.4.1-preview-00010-42060' of package 'Microsoft.ChakraCore'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'Microsoft.ChakraCore.1.4.1-preview-00010-42060' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
https://www.myget.org/F/chakracore-preview/api/v3/index.json: Package 'Microsoft.ChakraCore.1.4.1-preview-00010-42060' is not found on source 'https://www.myget.org/F/chakracore-preview/api/v3/index.json'.
https://api.nuget.org/v3/index.json: Package 'Microsoft.ChakraCore.1.4.1-preview-00010-42060' is not found on source 'https://api.nuget.org/v3/index.json'.
https://www.nuget.org/packages/Microsoft.ChakraCore: The V2 feed at 'https://www.nuget.org/packages/Microsoft.ChakraCore/FindPackagesById()?id='Microsoft.ChakraCore'' returned an unexpected status code '404 Not Found'.

Version: [email protected]

All 14 comments

@matthargett any thoughts on this?

crap, it looks like the ChakraCore team removed the preview package. We should update this to latest 1.5.x release and backport to 42, 43, 44.

I'm running into the same issue when trying to bootstrap a new wpf project. :-)

react-native init foowpf
cd foowpf
yarn add -D rnpm-plugin-wpf
yarn add -D rnpm-plugin-windows
react-native wpf
react-native run-wpf

Failed to restore the NuGet packages

Any way to hotfix this?

I naively attempted to replace the 2 occurrences of Microsoft.ChakraCore.1.4.1-preview-00010-42060 with Microsoft.ChakraCore.1.4.4 (in packages.config and .csproj) and now the demo compiles correctly.

can you submit a pull request that updates those package versions in the project templates and CLI to latest ChakraCore 1.5.2 release?

problem-command

problem

any solution ?

@sm2017 just manually change the dependency from Microsoft.ChakraCore.1.4.1-preview-00010-42060 to Microsoft.ChakraCore.1.4.4

@kyrre
in packages file

<package id="Microsoft.ChakraCore" version="1.4.1-preview-00010-42060" targetFramework="net46" developmentDependency="true" />

Change to

<package id="Microsoft.ChakraCore" version="1.4.4" targetFramework="net46" developmentDependency="true" />

its your mean ?

Ok
Now Show This Error

Build failed with message Error: Command failed: "C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" "C:/Users/PC/Desktop/AwesomeProject/wpf/AwesomeProject.sln" /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo /p:Configuration=Debug /p:Platform=x86 /p:AppxBundle=Never. Check your build configuration.

problem

?????

sorry for the delay. #1185 fixes this issue by using official ChakraCore 1.5.2 release from nuget.org. Once it's merged to master, we'll cherry pick into 42-46 branches and re-release those. /cc @digitalinfinity

Any update?

@sm2017 did you also update the ChakraCore version to 1.4.4 in the .csproj file as well?

Closed by #1185

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qmatteoq picture qmatteoq  路  3Comments

jesbis picture jesbis  路  3Comments

GurtejSafaltek picture GurtejSafaltek  路  3Comments

James-E-Adams picture James-E-Adams  路  3Comments

tahakhozooie picture tahakhozooie  路  4Comments