Closed dastanaron closed 1 month ago
I install older version of core
and this working
"@zenfs/core": "0.15.2",
"@zenfs/zip": "0.4.5",
This is correct, FileType
was changed from an enum to a type.
I'll publish a fix soon.
@dastanaron,
The fix was commited in https://github.com/zen-fs/zip/commit/21afcb410b7a8dc5dee46ef7f15fa90ea12c7615 on July 25th, but was not actually published on NPM. 0.4.6 includes that commit. The issue should be fixed, please let me know.
@james-pre Yes, this problem has been solved. Thank you so much!
Now, I fix this versions in my package.json: "@zenfs/core": "0.16.2", "@zenfs/zip": "0.4.6",
[ERROR] No matching export in "node_modules/@zenfs/core/dist/index.js" for import "FileType" node_modules/@zenfs/zip/dist/ZipFS.js:1:9: 1 │ import { FileType, NoSyncFile, Stats, flagToMode, isWriteable } from '@zenfs/core';
Really no export
But in
@zenfs/core/stats.js
no export FileTypeMy versions: "@zenfs/core": "^0.16.2", "@zenfs/zip": "^0.4.5",