質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Netlify

Netlifyは、静的サイトを超高速でホスティングできる高機能なWebサービスです。WordPressといった動的処理を必要としないLPなどの静的Webサイトを公開することが可能。カスタムドメイン設定や無料SSL証明書などの多くの機能を無料で使用できます。

GitHub

GitHubは、Gitバージョン管理システムを利用したソフトウェア開発向けの共有ウェブサービスです。GitHub商用プランおよびオープンソースプロジェクト向けの無料アカウントを提供しています。

Q&A

解決済

1回答

7189閲覧

netlifyでのdeploy時のエラーについて

TAIniko

総合スコア32

Netlify

Netlifyは、静的サイトを超高速でホスティングできる高機能なWebサービスです。WordPressといった動的処理を必要としないLPなどの静的Webサイトを公開することが可能。カスタムドメイン設定や無料SSL証明書などの多くの機能を無料で使用できます。

GitHub

GitHubは、Gitバージョン管理システムを利用したソフトウェア開発向けの共有ウェブサービスです。GitHub商用プランおよびオープンソースプロジェクト向けの無料アカウントを提供しています。

0グッド

0クリップ

投稿2019/03/26 09:13

5:53:53 PM: Build ready to start 5:53:55 PM: build-image version: 324ec043422499a87b63cac1f1dabeefe6dca19d 5:53:55 PM: build-image tag: v3.0.2 5:53:55 PM: buildbot version: ef2e26260c41679f4cdeaebbf93370345c9fecf7 5:53:55 PM: Fetching cached dependencies 5:53:55 PM: Starting to download cache of 254.9KB 5:53:55 PM: Finished downloading cache in 69.809409ms 5:53:55 PM: Starting to extract cache 5:53:55 PM: Failed to fetch cache, continuing with build 5:53:55 PM: Starting to prepare the repo for build 5:53:55 PM: No cached dependencies found. Cloning fresh repo 5:53:55 PM: git clone https://github.com/TAIniko/samplefolio 5:53:56 PM: Preparing Git Reference refs/heads/master 5:53:56 PM: Starting build script 5:53:56 PM: Installing dependencies 5:53:58 PM: v10.15.3 is already installed. 5:53:58 PM: Now using node v10.15.3 (npm v6.4.1) 5:53:58 PM: Attempting ruby version 2.6.2, read from environment 5:54:00 PM: Using ruby version 2.6.2 5:54:00 PM: Using PHP version 5.6 5:54:00 PM: Started restoring cached go cache 5:54:00 PM: Finished restoring cached go cache 5:54:00 PM: unset GOOS; 5:54:00 PM: unset GOARCH; 5:54:00 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64'; 5:54:00 PM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}"; 5:54:00 PM: go version >&2; 5:54:00 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env'; 5:54:00 PM: go version go1.12 linux/amd64 5:54:00 PM: Installing missing commands 5:54:00 PM: Verify run directory 5:54:00 PM: Executing user command: nuxt generate 5:54:00 PM: /usr/local/bin/build: line 32: nuxt: command not found 5:54:00 PM: Caching artifacts 5:54:00 PM: Started saving pip cache 5:54:00 PM: Finished saving pip cache 5:54:00 PM: Started saving emacs cask dependencies 5:54:00 PM: Finished saving emacs cask dependencies 5:54:00 PM: Started saving maven dependencies 5:54:00 PM: Finished saving maven dependencies 5:54:00 PM: Started saving boot dependencies 5:54:00 PM: Finished saving boot dependencies 5:54:00 PM: Started saving go dependencies 5:54:00 PM: Finished saving go dependencies 5:54:02 PM: Cached node version v10.15.3 5:54:02 PM: Error running command: Build script returned non-zero exit code: 127 5:54:02 PM: Failing build: Failed to build site 5:54:02 PM: failed during stage 'building site': Build script returned non-zero exit code: 127 5:54:02 PM: Finished processing build request in 7.675976085s 5:54:02 PM: Shutting down logging, 0 messages pending ``` ### githubからnetlifyでのdeploy時のエラーについて 設定は以下の通りです Base directory: Not set Build command: nuxt generate Publish directory: dist Deploy log visibility: Logs are public こちらの記事 [リンク内容](https://qiita.com/isihigameKoudai/items/e3b136e9964f1d30d73d) を参考にしてサーバーレスSPAの構築を試みました。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

コメントまで読めばビルドコマンドをnpm run generateにすればいいと分かる。

投稿2019/03/26 09:19

kawax

総合スコア10377

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

TAIniko

2019/03/26 23:58

回答ありがとうございます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問