Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12460

Unable to build in M1 Mac

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 22.01.01
    • None
    • themes
    • Apple Mac: M1 processor

      Java version:

      Ofbiz release/branche

    Description

      Following error occurs when building in M1 Mac

      Could not determine the dependencies of task ':nodeSetup'.
      > Failed to query the value of task ':nodeSetup' property 'nodeArchiveFile'.
         > Could not resolve all files for configuration ':detachedConfiguration1'.
            > Could not find node-12.18.1-darwin-arm64.tar.gz (org.nodejs:node:12.18.1).
              Searched in the following locations:
                  https://nodejs.org/dist/v12.18.1/node-v12.18.1-darwin-arm64.tar.gz
      

      Need to upgrade Node.js version from 12.x.x to 16.x.x as 16.x.x has support for M1 Mac.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jamesyong James Yong
            jamesyong James Yong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment