无法通过Docker在Windows上设置Laravel

eyh26e7m  于 2022-11-30  发布在  Windows
关注(0)|答案(1)|浏览(124)

以下:https://bootcamp.laravel.com/blade/installation
此命令出现错误:php ArtisonBreeze:安装刀片
错误消息:

npm ERR! code 1
npm ERR! path \\wsl$\Ubuntu\home\p7\chirper\node_modules\esbuild
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! '\\wsl$\Ubuntu\home\p7\chirper\node_modules\esbuild'
npm ERR! CMD.EXE was started with the above path as the current directory.
npm ERR! UNC paths are not supported.  Defaulting to Windows directory.
npm ERR! node:internal/modules/cjs/loader:998
npm ERR!   throw err;
npm ERR!   ^
npm ERR!
npm ERR! Error: Cannot find module 'C:\Windows\install.js'
npm ERR!     at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:841:27)
npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
npm ERR!     at node:internal/main/run_main_module:23:47 {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   requireStack: []
npm ERR! }
npm ERR!
npm ERR! Node.js v18.12.1

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Megaport\AppData\Local\npm-cache\_logs\2022-11-27T21_52_29_015Z-debug-0.log

   INFO  Breeze scaffolding installed successfully.

我该怎么修?
尝试通过Docker在Windows上设置Laravel。

9rbhqvlz

9rbhqvlz1#

我找到了答案......不得不用帆上所有的码头工命令。

相关问题