minimeteor
minimeteor copied to clipboard
error parsing reference - mhart/alpine-node is not a valid repository tag
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?
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?
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?