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
If applicable, what version of Node.js are you using?
18.20.4
Amplify CLI Version
12.14.0
What operating system are you using?
Mac Sequoia 15.1.1
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Describe the bug
I have a published service in the web and work on making a new project with the same amplify server.
While I'm setting up the project, amplify pull has been failed.
Expected behavior
Succeed pull the backend
Reproduction steps
remove all related files,
aws-exports.js
amplifyconfiguration.json
command amplify pull
put credentials
? Please choose the profile you want to use default
? Which app are you working on? ###
? Pick a backend environment: master
? Choose your default editor: Visual Studio Code
✔ Choose the type of app that you're building · javascript
Please tell us about your project
? What javascript framework are you using react
? Source Directory Path: src
? Distribution Directory Path: build
? Build Command: npm run-script build
? Start Command: npm run-script start
got failed
Project Identifier
76cd9fdb-58cf-4b29-bc4b-ad21fb9b3f02
Log output
Do you plan on modifying this backend? Yes
⠴ Fetching updates to backend environment: master from the cloud.Overrides functionality is not implemented for this category
✔ Successfully pulled backend environment master from the cloud.
✖ There was an error initializing your environment.
🛑 Failed to pull the backend.
PullBackendFault: Failed to pull the backend.
at attachBackend (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/attach-backend.js:55:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/commands/pull.js:64:9)
at async Object.executeAmplifyCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:194:9)
at async executePluginModuleCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:139:5)
at async executeCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:37:9)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:121:5)
Unable to parse aws-exports.js. Has this file been modified?
Error: Unable to parse aws-exports.js. Has this file been modified?
at getCurrentAWSExports (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/lib/frontend-config-creator.js:301:13)
at getAWSExports (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/lib/frontend-config-creator.js:158:35)
at createAWSExports (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/lib/frontend-config-creator.js:150:31)
at Object.createFrontendConfigs (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/index.js:49:16)
at AmplifyToolkit.onCategoryOutputsChange (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/extensions/amplify-helpers/on-category-outputs-change.js:49:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async initializeEnv (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/initialize-env.js:143:9)
at async onSuccess (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/attach-backend.js:81:17)
at async attachBackend (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/attach-backend.js:50:9)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/commands/pull.js:64:9)
at async Object.executeAmplifyCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:194:9)
at async executePluginModuleCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:139:5)
at async executeCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:37:9)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:121:5)
Additional information
No response
Before submitting, please confirm:
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
I have removed any sensitive information from my code snippets and submission.
The text was updated successfully, but these errors were encountered:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.20.4
Amplify CLI Version
12.14.0
What operating system are you using?
Mac Sequoia 15.1.1
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Describe the bug
I have a published service in the web and work on making a new project with the same amplify server.
While I'm setting up the project, amplify pull has been failed.
Expected behavior
Succeed pull the backend
Reproduction steps
command amplify pull
put credentials
? Please choose the profile you want to use default
? Which app are you working on? ###
? Pick a backend environment: master
? Choose your default editor: Visual Studio Code
✔ Choose the type of app that you're building · javascript
Please tell us about your project
? What javascript framework are you using react
? Source Directory Path: src
? Distribution Directory Path: build
? Build Command: npm run-script build
? Start Command: npm run-script start
got failed
Project Identifier
76cd9fdb-58cf-4b29-bc4b-ad21fb9b3f02
Log output
Do you plan on modifying this backend? Yes
⠴ Fetching updates to backend environment: master from the cloud.Overrides functionality is not implemented for this category
✔ Successfully pulled backend environment master from the cloud.
✖ There was an error initializing your environment.
🛑 Failed to pull the backend.
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
PullBackendFault: Failed to pull the backend.
at attachBackend (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/attach-backend.js:55:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/commands/pull.js:64:9)
at async Object.executeAmplifyCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:194:9)
at async executePluginModuleCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:139:5)
at async executeCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:37:9)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:121:5)
Unable to parse aws-exports.js. Has this file been modified?
Error: Unable to parse aws-exports.js. Has this file been modified?
at getCurrentAWSExports (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/lib/frontend-config-creator.js:301:13)
at getAWSExports (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/lib/frontend-config-creator.js:158:35)
at createAWSExports (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/lib/frontend-config-creator.js:150:31)
at Object.createFrontendConfigs (/snapshot/amplify-cli/build/node_modules/@aws-amplify/amplify-frontend-javascript/index.js:49:16)
at AmplifyToolkit.onCategoryOutputsChange (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/extensions/amplify-helpers/on-category-outputs-change.js:49:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async initializeEnv (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/initialize-env.js:143:9)
at async onSuccess (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/attach-backend.js:81:17)
at async attachBackend (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/attach-backend.js:50:9)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/commands/pull.js:64:9)
at async Object.executeAmplifyCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:194:9)
at async executePluginModuleCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:139:5)
at async executeCommand (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:37:9)
at async Object.run (/snapshot/amplify-cli/build/node_modules/@aws-amplify/cli-internal/lib/index.js:121:5)
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: