mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
13 lines
324 B
JavaScript
13 lines
324 B
JavaScript
/**
|
|
* @description Default error message for when a package is not found
|
|
* @param id{string}
|
|
* @return {Error}
|
|
*/
|
|
cannotFindMeteorPackage = function(id) {
|
|
var packageName = id.split('/', 2)[1];
|
|
return new Error(
|
|
'Cannot find package "' + packageName + '". ' +
|
|
'Try "meteor add ' + packageName + '".'
|
|
);
|
|
};
|