Closed bdunn313 closed 4 years ago
Hey @bdunn313! Thanks for raising this issue. The release-postinstall.js
script was taken mostly from the spin
template, so we'll be debugging/learning together 😄 I'll drop a review in your PR, I think the issue makes sense though.
@dylanirlbeck Thanks! I saw your comment and responded. I think we're good to go after your final spot-check/approval. Let me know if there's any follow up, and thanks for creating/maintaining this project! I'm looking forward to using it!
@bdunn313 Just published version 0.7.8 on NPM. Fingers crossed that it works 🤞
@dylanirlbeck Awesome! 🤞 Going to give it a spin this afternoon!
@dylanirlbeck just to close the loop on this - works for me on Win!
Even though windows binaries exist, installation fails on win32 x64.
Example output after running
yarn add --dev @dylanirlbeck/tailwind-ppx
It appears that the
postinstall.js
script tries to find a platform-win32-x64 directory, but only a platform-windows-x64 directory exists. The script also does not properly check for the directory as thesupported
variable does not take into account the current dirname when trying to check to see if the architecture is supported.