amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

(node:28980) ExperimentalWarning: the fs.promises API is experimetal #130

Open vahdet opened 6 years ago

vahdet commented 6 years ago

When use awsmobile-cli v1.1.4 on an Ubuntu 18.04 machine. I have already created a project with awsmobile init; pulled/pushed the changes etc. It has been ok so far.

Now, I want to add the feature appsync. However, when I type the following the root directory of my project:

awsmobile appsync --help 

Some weird message also given in the title of this issue appears:

Usage: awsmobile appsync <command> [options]

  contains subcommands of the awsmobile feature appsync

  Options:

      -h, --help  output usage information

  Commands:

   enable      enable appsync in the backend awsmobile project
   disable     disable appsync in the backend awsmobile project
   configure   configure the feature specifics for appsync
   console     open the web console of the appsync api associated with this project
(node:28980) ExperimentalWarning: The fs.promises API is experimental

I wonder if it is a bug, or AppSync is not ready on the console yet. All in all, I also cannot see an option to add AppSync as a backend feature on the MobileHub web console.

UnleashedMind commented 6 years ago

This might be related to an issue https://github.com/jprichardson/node-fs-extra/issues/577 are you using node version 10.x? We haven't tested the cli on node version 10. x

vahdet commented 6 years ago

Yup!