0

I am trying to install AWS Amplify on Windows 10 machine, as mention in the Amplify JavaScript - AWS documentation

As a prerequisites, I have following versions installed

  1. node - v10.14.2
  2. npm - 6.4.1

when i shoot installation command npm install -g @aws-amplify/cli, it gives me following error.

enter image description here

npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2

npm WARN relay-compiler@6.0.0 requires a peer of graphql@^14.2.0 but none is installed. You must install peer dependencies yourself

npm ERR! Maximum call stack size exceeded

Can you help me to understand what is the issue here ?

Pankaj
  • 360
  • 5
  • 22

2 Answers2

0

try cleaning the npm cache and try installing again

npm rebuild

Arun Kamalanathan
  • 8,107
  • 4
  • 23
  • 39
0

On windows try this command - curl -sL https://aws-amplify.github.io/amplify-cli/install-win -o install.cmd && install.cmd

Rabin Mallilck
  • 431
  • 6
  • 13