【问题标题】:While running command nerdctl run after building an image getting error : Starting the development server... node:在构建图像后运行命令 nerdctl run 时出现错误:启动开发服务器...节点:
【发布时间】:2022-12-15 18:48:19
【问题描述】:

我试图为 powershell 添加系统变量路径,但它是一样的。我认为它的错误与 powershell 有关但不确定 启动开发服务器...节点: 这个。事件:491
扔呃; // 未处理的“错误”事件 ^ 错误:生成 /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe 在 ChildProcess._handle.onexit (n

Starting the development server...

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: spawn /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe ENOENT   
    at ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)  

【问题讨论】:

    标签: node.js docker nerdctl


    【解决方案1】:

    enter image description here 这是错误的完整描述

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-17
      • 2021-08-10
      • 2019-10-31
      • 1970-01-01
      • 2021-02-03
      • 2020-03-17
      相关资源
      最近更新 更多