tailwind-ppx
tailwind-ppx copied to clipboard
An error is thrown when trying to remove or reinstall an other node module (with Yarn)
Running yarn
or yarn remove ...
will often throw an error, like here on Circle CI:
/home/circleci/workspace/node_modules/@dylanirlbeck/tailwind-ppx: Command failed.
Exit code: 1
Command: node ./postinstall.js
Arguments:
Directory: /home/circleci/workspace/node_modules/@dylanirlbeck/tailwind-ppx
Output:
error: Error: EEXIST: file already exists, mkdir '/home/circleci/workspace/node_modules/@dylanirlbeck/tailwind-ppx/3'
I wonder if removing the folder 3
in the postinstall script (after the package is built) could solve this issue?
Hmm, yeah that is weird. I haven't looked at the build process in quite a while, so I'll need to revisit this issue.
We do some weird stuff with caching in the same directory as the package, so that might be causing the issue.
@dylanirlbeck any updates?
@dauletisataev No updates, but I will take a look soon to see if there's an easy fix. I just graduated so I'll have some more time on my hands 😄