Closed devthejo closed 2 years ago
Thanks for moving this over, @devthejo!
@RecuencoJones do you think you could have a look at this?
Can you please share some details about the environment?
I think I found the issue 😄 Was trying to reproduce with latest from my go-npm fork, but it is already fixed there!
https://github.com/RecuencoJones/go-npm/blob/master/src/common.js#L45
Thanks for fixing it, I wait impatiently for the npm release, for now
docker run --rm node:16-alpine npx gomplate --version
npm ERR! could not determine executable to run
I think we could publish a new version, but then the version wouldn't line up with gomplate's version... 🤔
I'd also like to get a new gomplate release out soon (it's been waaaay too long), so once that happens the npm package will be up-to-date as well... Also note that there are a number of other ways to install gomplate 😉
Using GitHub dependencies on the package.json should be also possible:
"gomplate": "gomplate/gomplate-npm"
You can also test this with npx:
npx -p "github:gomplate/gomplate-npm" -c "gomplate --version"
the bin is not at the good path in npm package: here is my current workaround, I had to link it manually