AWS Amplify,初始化失败

时间:2020-09-14 01:32:41

标签: flutter dart aws-amplify

我正在尝试将AWS Amplify集成到我的flutter项目中,但是在尝试运行 amplify init 命令

时遇到此问题
init failed
TypeError [ERR_INVALID_ARG_TYPE]: The 'request' argument must be string. Received type undefined
    at Object.onSuccess (/Users/osx/.nvm/versions/node/v14.2.0/lib/node_modules/@aws-amplify/cli/src/init-steps/s9-onSuccess.ts:26:26)
    at Object.exports.run (/Users/osx/.nvm/versions/node/v14.2.0/lib/node_modules/@aws-amplify/cli/src/commands/init.ts:24:11)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at Object.executeAmplifyCommand (/Users/osx/.nvm/versions/node/v14.2.0/lib/node_modules/@aws-amplify/cli/src/index.ts:181:5)
    at executePluginModuleCommand (/Users/osx/.nvm/versions/node/v14.2.0/lib/node_modules/@aws-amplify/cli/src/execution-manager.ts:161:3)
    at Object.executeCommand (/Users/osx/.nvm/versions/node/v14.2.0/lib/node_modules/@aws-amplify/cli/src/execution-manager.ts:26:5)

0 个答案:

没有答案