Closed bakkerjoeri closed 3 years ago
When running xm dev when there's an .xm cache folder present, I get:
xm dev
.xm
(...)/xm/index.js:86 fs.rmSync(outDir, { recursive: true, force: true }); ^ TypeError: fs.rmSync is not a function
Could have been introduced by the change on index.js:86 here https://github.com/giuseppeg/xm/compare/v1.0.5...v1.0.6
Steps to reproduce:
This is only supported by new versions of node -.- I'll fix it today
fixed in 1.0.7
1.0.7
If anyone's here from searching after having this issue elsewhere, updating node.js fixed it for me.
When running
xm dev
when there's an.xm
cache folder present, I get:Could have been introduced by the change on index.js:86 here https://github.com/giuseppeg/xm/compare/v1.0.5...v1.0.6
Steps to reproduce:
xm dev
.xm
folder in the root of your project.xm dev
process.