I am new to plugin development and typescript. I want to create a plugin that syncs my google calendar events and such as notes; but I ran into some problems right away. I need to import a few modules: readline, http2, fs-extra.
Everything builds okay after running, npm install and npm run dist, but when I start the app in dev using "\AppData\Local\Programs\Joplin\Joplin.exe --env dev" the console throws an error saying Uncaught Error: Module readline cannot be found. I've tried everything I can think of and everything in this thread generator-joplin: Module not found: Error: Can't resolve 'fs' · Issue #4372 · laurent22/joplin · GitHub.