実現したいこと
Cloudflare Pages で、Hugo のサイトを自動デプロイしたい
発生している問題・分からないこと
しかし、npm run build コマンドの処理の途中で
Specified input file ./themes/vnovel/assets/css/main.css does not exist.
となる。
エラーメッセージ
error
113:13:04.625 Cloning repository... 213:13:05.885 From https://xxx (自サイトのURLです) 313:13:05.886 * branch 44866c0edca4e95589437ce456a9c07da2fcf7aa -> FETCH_HEAD 413:13:05.886 513:13:07.002 HEAD is now at 44866c0 bug 613:13:07.003 713:13:07.133 813:13:07.134 Using v2 root directory strategy 913:13:07.221 Success: Finished cloning repository files 1013:13:08.543 Detected the following tools from environment: hugo@extended_0.123.8, npm@9.6.7, nodejs@18.17.1 1113:13:08.544 Installing hugo extended_0.123.8 1213:13:08.727 * Downloading hugo release extended_0.123.8... 1313:13:10.498 hugo extended_0.123.8 installation was successful! 1413:13:10.972 Installing project dependencies: npm clean-install --progress=false 1513:13:23.307 1613:13:23.307 added 173 packages, and audited 174 packages in 11s 1713:13:23.307 1813:13:23.307 47 packages are looking for funding 1913:13:23.308 run `npm fund` for details 2013:13:23.308 2113:13:23.309 found 0 vulnerabilities 2213:13:24.478 Executing user command: npm run build 2313:13:25.215 2413:13:25.215 > vnovel@0.0.1 build 2513:13:25.216 > tailwindcss -i ./themes/vnovel/assets/css/main.css -o ./themes/vnovel/assets/css/style.css && hugo --minify 2613:13:25.216 2713:13:25.636 Specified input file ./themes/vnovel/assets/css/main.css does not exist. 2813:13:25.653 Failed: Error while executing user command. Exited with error code: 9 2913:13:25.664 Failed: build command exited with code: 1 3013:13:26.672 Failed: error occurred while running build command
該当のソースコード
特になし
試したこと・調べたこと
上記の詳細・結果
エラーコードで検索していろいろと調べたのですが、わかりませんでした。
補足
特になし
0 コメント