Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Maxim 1 post 71 karma points
    Aug 23, 2021 @ 11:42
    Maxim
    0

    Installing Avenue Clothing Ucommerce shop on Umbraco in Visual Studio 2019

    Hi. I'm trying to install demo shop for Umraco Ucommrece from https://github.com/Ucommercenet/Avenue-Clothing-For-Umbraco I've downloaded it to my pc and clicked to src/AvenueClothing.sln It was opened in Visual Studio 19 Then I tried to build the solution but got some errors. The first was during building process:

    Build started... 1>------ Build started: Project: AvenueClothing, Configuration: Debug Any CPU ------ 1> VS 11 Common Tools not found 1> VS 12 Common Tools not found 1> npm WARN package.json [email protected] No description 1> npm WARN package.json [email protected] No repository field. 1> npm WARN package.json [email protected] No README data 1> npm WARN package.json [email protected] No license field. 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 1> npm WARN engine [email protected]: wanted: {"node":">= 6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN deprecated [email protected]: this library is no longer supported 1> npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":"6.* || 8.* || >= 10.*"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1> npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. 1> npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"5.3.0","npm":"2.13.1"}) 1>
    1> > [email protected] install D:\Avenue\src\nodemodules\gulp-sass\nodemodules\node-sass 1> > node scripts/install.js 1>
    1> 'node' is not recognized as an internal or external command, 1> operable program or batch file. 1> npm ERR! WindowsNT 10.0.19042 1> npm ERR! argv "D:\Avenue\src\packages\Node.js.5.3.0\node.exe" "D:\Avenue\src\packages\Npm.js.2.13.1.0\tools\nodemodules\npm\bin\npm-cli.js" "install" 1> npm ERR! node v5.3.0 1> npm ERR! npm v2.13.1 1> npm ERR! code ELIFECYCLE 1>
    1> npm ERR! [email protected] install: node scripts/install.js 1> npm ERR! Exit status 1 1> npm ERR! 1> npm ERR! Failed at the [email protected] install script 'node scripts/install.js'. 1> npm ERR! This is most likely a problem with the node-sass package, 1> npm ERR! not with npm itself. 1> npm ERR! Tell the author that this fails on your system: 1> npm ERR! node scripts/install.js 1> npm ERR! You can get their info via: 1> npm ERR! npm owner ls node-sass 1> npm ERR! There is likely additional logging output above. 1>
    1> npm ERR! Please include the following file with any support request: 1> npm ERR! D:\Avenue\src\AvenueClothing\npm-debug.log 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: The command " 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: IF EXIST "%VS110COMNTOOLS%VsDevCmd.bat" ( 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: call "%VS110COMNTOOLS%VsDevCmd.bat" 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: ) ELSE ( 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: echo VS 11 Common Tools not found 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: ) 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: IF EXIST "%VS120COMNTOOLS%VsDevCmd.bat" ( 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: call "%VS120COMNTOOLS%VsDevCmd.bat" 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: ) ELSE ( 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: echo VS 12 Common Tools not found 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: ) 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: set PATH=D:\Avenue\src\packages\Npm.js.2.13.1.0\build..\tools\;%PATH% 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: "D:\Avenue\src\packages\Npm.js.2.13.1.0\build..\tools\npm" install 1>D:\Avenue\src\packages\Npm.js.2.13.1.0\build\npm.js.targets(27,5): error MSB3073: " exited with code 1. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    and the second during runnig the project:

    enter image description here

    Server Error in '/' Application. Could not load file or assembly 'System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

    WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    Stack Trace:

    [FileLoadException: Could not load file or assembly 'System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] Ucommerce.SystemHttp.App_Start.PreStartEnableAttributesRoutes.EnableAttributesRoutes() +0

    [InvalidOperationException: The pre-application start initialization method EnableAttributesRoutes on type Ucommerce.SystemHttp.App_Start.PreStartEnableAttributesRoutes threw an exception with the following error message: Could not load file or assembly 'System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).] System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection1 methods, Func1 setHostingEnvironmentCultures) +617 System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +138 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +163 System.Web.Compilation.BuildManager.ExecutePreAppStart() +156 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +692

    [HttpException (0x80004005): The pre-application start initialization method EnableAttributesRoutes on type Ucommerce.SystemHttp.App_Start.PreStartEnableAttributesRoutes threw an exception with the following error message: Could not load file or assembly 'System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +659 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4330.0

    Could you please help my to spot what is the issue and how to solve it ?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft