The package developed by Meteor 1.1 was tested at the time, but when I updated it to Meteor 1.2, it stopped working.
meter test-packages --release 1.1./
Then there is no problem, but
meter test-packages --release 1.2./
Then you get an error.The error message can be found in
exception-message Template is not defined
That's it.
meteor
Resolved.
Changes to Meteor 1.2
test-packages no longer includes any packages globally (no changes needed)
There is and this affected it.
Package.onTest()
in package.js
api.use('templating');
After adding , it became normal.
Package.onUse()
says the same thing, so I thought it had been taken over, but it didn't seem like that.
© 2024 OneMinuteCode. All rights reserved.