Currently, I am in the process of creating a custom package to integrate the livefyre npm module into Meteor after receiving a request from a client. Despite following the instructions provided here, I keep encountering errors that state
Errors while scanning packages: File not found: livefyre.js
when attempting to add livefyre using the command meteor add livefyre.
To resolve this issue, I have established a packages/livefyre directory within the main project folder along with a package.js file containing the following code:
Package.describe({
summary: "livefyre package"
});
Npm.depends({
'livefyre':'1.1.4'
});
Package.on_use(function (api) {
api.add_files('livefyre.js', 'client');
});
In addition, another file named livefyre_settings.js includes the line:
liveFyre = Npm.require("livefyre");
At this stage, it appears that the npm package has been successfully installed as it is visible at /home/pnunn/.npm/livefyre/1.1.4/package/lib/livefyre.js. However, I am still facing difficulties. Can anyone point out what might be missing or incorrect in my implementation?