Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.
This repository was archived by the owner on May 22, 2023. It is now read-only.

error parsing reference - mhart/alpine-node is not a valid repository tag #21

Open

Description

@philcruz

I'm running the build.sh and it seems to do the meteor build then errors with

[minimeteor] Copying bundle from build container to temp directory
cp: cannot stat '/home/user/build/bundle': No such file or directory
[minimeteor] Meteor build container finished
sed: /tmp/minimeteor/DobtB/bundle/.node_version.txt: No such file or directory
[minimeteor] Writing Alpine build script
[minimeteor] Setting executable rights on Alpine build script
[minimeteor] Starting Alpine build container
docker: Error parsing reference: "mhart/alpine-node:" is not a valid repository/tag: invalid reference format.```

What could be the issue?

Activity

  1. philcruz commented on Apr 19, 2017

    @philcruz
    Author

    The call to docker run refers to ${NODE_VERSION}. I see earlier in the script

    NODE_VERSION=`sed 's/v//g' ${TEMPDIR}/bundle/.node_version.txt`
    

    But I don't see that file. But I do see the /tmp/minimeteor/DobtB/bundle/ directory. What could be the issue?

  2. philcruz commented on Apr 19, 2017

    @philcruz
    Author

    I found the issue. It was happening earlier in the script. From the output I saw

    [minimeteor] Performing Meteor build
    Currently, it is only possible to build iOS apps on an OS X system.
    Supply the server hostname and port in the --server option for mobile app
    builds.
    

    I realized the build wasn't actually being, well, built, hence the bundle directory wasn't being created. I have ios and android platforms in my app but those can't be built so I added

    --server-only to the meteor build command. That should probably be added, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions