You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS C:\Users\Chet\Documents\theProject\amplify-next-template> npx ampx info --debug
ampx info
Generates information for Amplify troubleshooting
Options:
--debug Print debug logs to the console [boolean] [default: false]
-h, --help Show help [boolean]
Error: Command failed: wmic os get Caption
os - Alias not found.
[DEBUG] 2024-12-24T21:15:07.785Z: Error: Command failed: wmic os get Caption
os - Alias not found.
at y (C:\Users\Chet\Documents\theProject\amplify-next-template\node_modules\envinfo\dist\envinfo.js:1:130041)
at e.exports.sync (C:\Users\Chet\Documents\theProject\amplify-next-template\node_modules\envinfo\dist\envinfo.js:1:131910)
at e.exports (C:\Users\Chet\Documents\theProject\amplify-next-template\node_modules\envinfo\dist\envinfo.js:1:128247)
at e.exports (C:\Users\Chet\Documents\theProject\amplify-next-template\node_modules\envinfo\dist\envinfo.js:1:107151)
at C:\Users\Chet\Documents\theProject\amplify-next-template\node_modules\envinfo\dist\envinfo.js:1:27846
at async Promise.all (index 0)
at async EnvironmentInfoProvider.getEnvInfo (file:///C:/Users/Chet/Documents/theProject/amplify-next-template/node_modules/@aws-amplify/backend-cli/lib/info/env_info_provider.js:12:22)
at async Object.handler (file:///C:/Users/Chet/Documents/theProject/amplify-next-template/node_modules/@aws-amplify/backend-cli/lib/commands/info/info_command.js:30:33)
Describe the bug
npx ampx info fails to generate any information on the environment. Above I've shown the command run with --debug included, but it fails in the same way without --debug included.
Reproduction steps
Environment:
I am using Windows 10 version 19045.5247. Please inform me what other information on the environment is relevant.
Open powershell. cd to the repo and run npm install
Aside: installing dependencies through npm install warns of 3 vulnerabilities. Running or not running npm audit fix --force does not resolve the issue with npx ampx info.
Run npx ampx info --debug.
The text was updated successfully, but these errors were encountered:
Environment information
Describe the bug
npx ampx info
fails to generate any information on the environment. Above I've shown the command run with--debug
included, but it fails in the same way without--debug
included.Reproduction steps
Environment:
I am using Windows 10 version 19045.5247. Please inform me what other information on the environment is relevant.
Reproduction:
https://docs.amplify.aws/nextjs/start/quickstart/nextjs-app-router-client-components/#1-create-the-repository
You can also clone the repo used in bug demonstration. For me the result is the same:
https://github.com/Ao1K/amplify-next-template
cd
to the repo and runnpm install
Aside: installing dependencies through
npm install
warns of 3 vulnerabilities. Running or not runningnpm audit fix --force
does not resolve the issue withnpx ampx info
.npx ampx info --debug
.The text was updated successfully, but these errors were encountered: