Oneschema uses eventemitter3 rather than the built-in EventEmitter. Due to this, when using pnpm as the package manager, which requires strict dependency resolution, eventemitter3 is never installed and thus code doesn't compile. Specifically, the error received is OneSchemaImporterClass.on() is not a function. This is resolved by bringing in eventemitter3 as a dependency in my local project.
This isn't an issue when yarn legacy since yarn hoists dependencies automatically. Will pnpm be supported?
Oneschema uses
eventemitter3rather than the built-inEventEmitter. Due to this, when using pnpm as the package manager, which requires strict dependency resolution,eventemitter3is never installed and thus code doesn't compile. Specifically, the error received isOneSchemaImporterClass.on()is not a function. This is resolved by bringing ineventemitter3as a dependency in my local project.This isn't an issue when yarn legacy since yarn hoists dependencies automatically. Will pnpm be supported?