Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to azd package api for todo-java-mongo on Apple Silicon #2693

Closed
v-jiaodi opened this issue Sep 1, 2023 · 4 comments · Fixed by #2709
Closed

Failed to azd package api for todo-java-mongo on Apple Silicon #2693

v-jiaodi opened this issue Sep 1, 2023 · 4 comments · Fixed by #2709
Assignees
Labels
bug Something isn't working java templates

Comments

@v-jiaodi
Copy link
Member

v-jiaodi commented Sep 1, 2023

Describe the issue:
Test todo-java-mongo template on Apple Silicon. Install azd (ARM64), run azd package api, get error as follow:

image

Repro Steps:

  1. Install azd : curl -fsSL https://aka.ms/install-azd.sh | bash -s -- --architecture arm64
  2. Run command: azd init -t todo-java-mongo
  3. Run command: azd package api .

Environment:
OS: Mac M2 (ARM64)
Template: todo-java-mongo
Azd version: (azd-mac-arm64) 1.2.0

Expected behavior:
Run command azd package api can pass.

@rajeshkamal5050, @danieljurek for notification.

@rajeshkamal5050
Copy link

rajeshkamal5050 commented Sep 1, 2023

@v-jiaodi @v-xuto HubSpot/prettier-maven-plugin#66 seems similar. Can we try upgrading prettier-maven-plugin 0.18 or latest and try it locally?

@rajeshkamal5050 rajeshkamal5050 added bug Something isn't working templates java labels Sep 1, 2023
@v-jiaodi
Copy link
Member Author

v-jiaodi commented Sep 4, 2023

@rajeshkamal5050 It works after upgrading prettier-maven-plugin 0.18 in locally.

@rajeshkamal5050
Copy link

@rajeshkamal5050 It works after upgrading prettier-maven-plugin 0.18 in locally.

Can you do a PR for the same in these places - https://github.com/search?q=repo%3AAzure%2Fazure-dev%20prettier-maven-plugin&type=code ?

cc @weikanglim

@v-jiaodi
Copy link
Member Author

v-jiaodi commented Sep 6, 2023

@rajeshkamal5050 I have created a PR : #2709

weikanglim pushed a commit that referenced this issue Sep 6, 2023
Update prettier-maven-plugin used in java templates to 0.18

Fixes #2693
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java templates
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants