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

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

新規登録して質問してみよう
ただいま回答率
85.49%
AWS Amplify

AWS Amplifyとは、AWSを用いたWebアプリケーション向けのJavaScriptライブラリです。サインアップ/サインイン、MFA、コンテンツ管理、さらにサーバーレスなバックエンドの自動構築などの実装が容易にできます。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

React.js

Reactは、アプリケーションのインターフェースを構築するためのオープンソースJavaScriptライブラリです。

Q&A

0回答

1994閲覧

AWS amplify CLI をインストールした後に No such file or directory エラーとなる。

suzukitoshinari

総合スコア6

AWS Amplify

AWS Amplifyとは、AWSを用いたWebアプリケーション向けのJavaScriptライブラリです。サインアップ/サインイン、MFA、コンテンツ管理、さらにサーバーレスなバックエンドの自動構築などの実装が容易にできます。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

React.js

Reactは、アプリケーションのインターフェースを構築するためのオープンソースJavaScriptライブラリです。

0グッド

0クリップ

投稿2021/03/07 11:01

編集2021/03/08 17:02

AWSのamplifyのチュートリアルにしたがって、行っていますが、npm install -g @aws-amplify/cliでインストール後にamplify configureコマンドを入力すると、

bash: /Users/user/.npm-global/lib/node_modules/@aws-amplify/cli/bin/amplify: No such file or directory
とでます。

which amplifyと入力すると、

/Users/suzukitoshinari/.npm-global/bin/amplify

とでます。

ちなみにnpm install -g @aws-amplify/cliでインストール後は以下が出ました。

suzukitarinoMBP:~ suzukitoshinari$ npm install -g @aws-amplify/cli

npm WARN deprecated graphql-import@0.7.1: GraphQL Import has been deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-import for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
npm WARN deprecated @graphql-toolkit/common@0.9.7: GraphQL Toolkit is deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-toolkit for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated @graphql-toolkit/common@0.6.6: GraphQL Toolkit is deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-toolkit for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
npm WARN deprecated event-to-promise@0.8.0: Use promise-toolbox/fromEvent instead
/Users/suzukitoshinari/.npm-global/bin/amplify -> /Users/suzukitoshinari/.npm-global/lib/node_modules/@aws-amplify/cli/bin/amplify

core-js@3.9.1 postinstall /Users/suzukitoshinari/.npm-global/lib/node_modules/@aws-amplify/cli/node_modules/@aws-amplify/graphql-types-generator/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.9.1 postinstall /Users/suzukitoshinari/.npm-global/lib/node_modules/@aws-amplify/cli/node_modules/amplify-graphql-types-generator/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

core-js@2.6.12 postinstall /Users/suzukitoshinari/.npm-global/lib/node_modules/@aws-amplify/cli/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

@aws-amplify/cli@4.45.0 postinstall /Users/suzukitoshinari/.npm-global/lib/node_modules/@aws-amplify/cli
node scripts/post-install.js


Successfully installed the Amplify CLI

JavaScript Getting Started - https://docs.amplify.aws/start

Android Getting Started - https://docs.amplify.aws/start/q/integration/android

iOS Getting Started - https://docs.amplify.aws/start/q/integration/ios

Flutter Getting Started - https://docs.amplify.aws/start/q/integration/flutter

Amplify CLI collects anonymized usage data, which is used to help understand
how to improve the product. If you don't wish to send anonymized Amplify CLI
usage data to AWS, run amplify configure --usage-data-off to opt-out.

Learn more - https://docs.amplify.aws/cli/reference/usage-data

  • @aws-amplify/cli@4.45.0

added 1208 packages from 735 contributors and updated 2 packages in 50.518s

よろしくお願いします。

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

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

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

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

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

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

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

ただいまの回答率
85.49%

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

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

質問する

関連した質問