webpack 4.8.3 e.merge不是函数异常

时间:2018-05-15 11:11:45

标签: webpack asp.net-core angular-cli

我在运行核心项目后立即收到例外情况。

   kind: Deployment
    apiVersion: apps/v1
    metadata:
      labels:
        k8s-app: mycustomapp
      name: mycustomapp
    spec:
      replicas: 1
      selector:
        matchLabels:
          k8s-app: mycustomapp
      template:
        metadata:
          labels:
            k8s-app: mycustomapp
        spec:
          containers:
          - name: mycustomapp
            image: xxxx.azurecr.io/mycustomapp:999
            ports:
            - containerPort: 80
              protocol: TCP
          imagePullSecrets:
          - name: xxxx
          serviceAccountName: mycustomapp
    ---
    kind: Service
    apiVersion: v1
    metadata:
      annotations:
        prometheus.io/scrape: 'true'
      labels:
        k8s-app: mycustomapp
      name: mycustomapp
    spec:
      type: ClusterIP
      ports:
        - port: 80
          targetPort: 80
      selector:
        k8s-app: mycustomapp
自从2天没有任何成功以来我一直在挣扎。 所有这些都发生在项目中的一些webpack和依赖项更新之后。每件事都习惯了。

bellow是我的包装版本;

 dotnet run
    info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
          User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
    fail: Microsoft.AspNetCore.NodeServices[0]
          (node:17308) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    Hosting environment: Development
    Content root path: D:\vega
    Now listening on: http://localhost:5000
    Application started. Press Ctrl+C to shut down.
    info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
          Request starting HTTP/1.1 GET http://localhost:5000/
    info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
          Executing action method vega.Controllers.HomeController.Index (vega) with arguments ((null)) - ModelState is Valid
    info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
          Executing ViewResult, running view at path /Views/Home/Index.cshtml.
    info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
          Executed action vega.Controllers.HomeController.Index (vega) in 6024.6747ms
    fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0]
          An unhandled exception has occurred while executing the request
    Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: e.merge is not a function
    TypeError: e.merge is not a function
        at new t (D:\vega\ClientApp\dist\vendor.js:280:4447)

0 个答案:

没有答案