Created
November 4, 2015 05:05
-
-
Save awatson1978/ec27f561ca3e88716e0d to your computer and use it in GitHub Desktop.
Package Upgrade/Migration Logic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
````js | |
//packages/clinical-router/lib/version_conflict_error.js | |
if (Package['cmather:iron-router']) { | |
throw new Error("\n\n\ | |
Sorry! The cmather:iron-{x} packages were migrated to the new package system with the wrong name, and you have duplicate copies.\n\ | |
You can see which cmather:iron-{x} packages have been installed by using this command:\n\n\ | |
> meteor list\n\n\ | |
Can you remove any installed cmather:iron-{x} packages like this:\ | |
\n\n\ | |
> meteor remove cmather:iron-core\n\ | |
> meteor remove cmather:iron-router\n\ | |
> meteor remove cmather:iron-dynamic-template\n\ | |
> meteor remove cmather:iron-dynamic-layout\n\ | |
\n\ | |
The new packages are named iron:{x}. For example:\n\n\ | |
> meteor add iron:router\n\n\ | |
Sorry for the hassle, but thank you!\ | |
\n\n\ | |
"); | |
} | |
```` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment