Effect CommunityEC
Effect Community2y ago
14 replies
Phrack

Issues after updating @effect/platform

Is this expected between 0.53.0 and 0.53.1?

https://www.npmjs.com/package/@effect/platform/v/0.53.0?activeTab=code
https://www.npmjs.com/package/@effect/platform/v/0.53.1?activeTab=code

@effect/platform/dist/dts/index.d.ts
export {};
//# sourceMappingURL=index.d.ts.map


Getting a handul of these after updating.

1. Module '"@effect/platform"' has no exported member 'Error'. [2305]
2. Module '"@effect/platform"' has no exported member 'FileSystem'. [2305]
3. Module '"@effect/platform"' has no exported member 'Path'. [2305]


I can fix by switching away from the root index.ts import.

// broken
import { FileSystem } from '@effect/platform';
// works
import { FileSystem } from '@effect/platform/FileSystem';
Was this page helpful?