You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since a few versions back I am now getting this error when I attempt to run the prebuild cli.
> ./node_modules/react-clear-cache/bin/cli.js
./node_modules/mkdirp/lib/opts-arg.js:13
throw new TypeError('invalid options argument')
^
TypeError: invalid options argument
at optsArg (/.../node_modules/mkdirp/lib/opts-arg.js:13:11)
at mkdirp (/.../node_modules/mkdirp/index.js:11:10)
at writeFile (/.../node_modules/react-clear-cache/bin/cli.js:37:3)
at Object.<anonymous> (/.../node_modules/react-clear-cache/bin/cli.js:23:1)
Any ideas on how to get around this?
Thanks in advance .
The text was updated successfully, but these errors were encountered:
@noahjohn9259 Tried that a few times, and again just now to be certain. Still have the same issue.
It seems that some of the packages I use have upgraded to mkdirp 1.0 instead of the older 0.5. In your react-clear-cache no mkdirp version is set. I think this may potentially be the culprit, as it's trying to use the newer version which now works on promises only.
Since a few versions back I am now getting this error when I attempt to run the
prebuild
cli.Any ideas on how to get around this?
Thanks in advance .
The text was updated successfully, but these errors were encountered: