简体   繁体   中英

I am getting an error when I ran amplify configure after sucessfully installing Amplify CLI

After successfully installing CLI.

----------------------------------------
Successfully installed the Amplify CLI
----------------------------------------

And when I try to run amplify configure I get the following errors.

Scanning for plugins...
Plugin scan failed.
Plugin scan failed.
Error: Plugin scan failed.
    at scan (/usr/local/lib/node_modules/@aws-amplify/cli/src/plugin-manager.ts:137:11)

How do I fix this? Thank you in advance!

Try to run with admin rights the following:

amplify plugin scan

This will grant the CLI permission to access the file mentioned in the error

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM