Has anyone tried to use meteor/ddp-client package in his meteor + vue app?
As soon as I add `import { DDP } from 'meteor/ddp-client' the app starts crashing; here's the log:
W20250823-13:20:59.696(2)? (STDERR) 13:20:59 [vite] (client) Pre-transform error: Failed to resolve import "../common/namespace.js" from "meteor/ddp-client". Does the file exist?
W20250823-13:20:59.697(2)? (STDERR) Plugin: vite:import-analysis
W20250823-13:20:59.697(2)? (STDERR) File: meteor/ddp-client:9:29
W20250823-13:20:59.697(2)? (STDERR) 7 | const g = typeof window !== 'undefined' ? window : globalThis ?? global;
W20250823-13:20:59.697(2)? (STDERR) 8 | const m = g.Package['ddp-client']
W20250823-13:20:59.697(2)? (STDERR) 9 | export { DDP as DDP } from '../common/namespace.js';
W20250823-13:20:59.697(2)? (STDERR) | ^
W20250823-13:20:59.698(2)? (STDERR) 10 |
W20250823-13:20:59.698(2)? (STDERR) 11 | let m2 = Package["ddp-client"];
Has anyone tried to use
meteor/ddp-clientpackage in his meteor + vue app?As soon as I add `import { DDP } from 'meteor/ddp-client' the app starts crashing; here's the log: