Meteor Rejects Addon Upd Now

| Root Cause | Solution | |------------|----------| | Version mismatch | Updated Meteor: meteor update --release 2.15 or pinned addon version: meteor add my:addon@=1.2.3 | | Native addon | Used Meteor’s npm wrapper: meteor npm install <addon> and added to server/main.js with dynamic import to avoid client-side bundling | | Path violation | Moved addon files into /imports/addons/ and used absolute imports | | Peer dependency | Installed missing peer: meteor add react-meteor-data or meteor npm install react | | Atmosphere not found | Published local package: created /packages/my-addon and added api.use statements correctly |

meteor build --directory --production Depending on the cause, one or more of the following solutions were applied: meteor rejects addon

// server/main.js import sharp from 'sharp'; // now accepted on server only | Root Cause | Solution | |------------|----------| |