Exited with code: 8 - Your application is crashing. Waiting for file change

Hello, I can figure out, i can’t understand anything whats and why happened …

I did all how telling on tutorial and my all files same with :

but i get this error when i wan’t to run my meteor app

=> Started proxy. => Started MongoDB. W20160125-22:47:19.548(2)? (STDERR) W20160125-22:47:19.550(2)? (STDERR) /Users/mac/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245 W20160125-22:47:19.550(2)? (STDERR) throw(ex); W20160125-22:47:19.550(2)? (STDERR) ^ W20160125-22:47:19.550(2)? (STDERR) ReferenceError: Template is not defined W20160125-22:47:19.550(2)? (STDERR) at accountView.js:1:1 W20160125-22:47:19.550(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/app/accountView.js:65:4 W20160125-22:47:19.550(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/boot.js:242:10 W20160125-22:47:19.551(2)? (STDERR) at Array.forEach (native) W20160125-22:47:19.551(2)? (STDERR) at Function._.each._.forEach (/Users/mac/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11) W20160125-22:47:19.551(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/boot.js:137:5 => Exited with code: 8 W20160125-22:47:24.588(2)? (STDERR) W20160125-22:47:24.589(2)? (STDERR) /Users/mac/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245 W20160125-22:47:24.589(2)? (STDERR) throw(ex); W20160125-22:47:24.589(2)? (STDERR) ^ W20160125-22:47:24.603(2)? (STDERR) ReferenceError: Template is not defined W20160125-22:47:24.603(2)? (STDERR) at accountView.js:1:1 W20160125-22:47:24.603(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/app/accountView.js:65:4 W20160125-22:47:24.604(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/boot.js:242:10 W20160125-22:47:24.604(2)? (STDERR) at Array.forEach (native) W20160125-22:47:24.604(2)? (STDERR) at Function._.each._.forEach (/Users/mac/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11) W20160125-22:47:24.604(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/boot.js:137:5 => Exited with code: 8 W20160125-22:47:29.402(2)? (STDERR) W20160125-22:47:29.402(2)? (STDERR) /Users/mac/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245 W20160125-22:47:29.402(2)? (STDERR) throw(ex); W20160125-22:47:29.402(2)? (STDERR) ^ W20160125-22:47:29.417(2)? (STDERR) ReferenceError: Template is not defined W20160125-22:47:29.417(2)? (STDERR) at accountView.js:1:1 W20160125-22:47:29.417(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/app/accountView.js:65:4 W20160125-22:47:29.417(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/boot.js:242:10 W20160125-22:47:29.417(2)? (STDERR) at Array.forEach (native) W20160125-22:47:29.418(2)? (STDERR) at Function._.each._.forEach (/Users/mac/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11) W20160125-22:47:29.418(2)? (STDERR) at /Users/mac/Desktop/meteor/accounTutorial/.meteor/local/build/programs/server/boot.js:137:5 => Exited with code: 8 => Your application is crashing. Waiting for file change.

This is the hint to your problem. I don’t think you followed that tutorial exactly as the accountView.js file should be located in the client directory, which would keep it off of the server. This error message is showing you that the accountView.js file is being used via the server build. The server doesn’t know anything about the Template object. Move your accountView.* files into the client directory and everything should work.

No i’m sure that i did everything same with this tutorial.
Problem should be different because when i add the user accounts package i get this error. This happen on another project too

Based on the error you shared that accountView.js file should not be in the .meteor/local/build/programs/server/app/ directory. That is a client only file; if it’s in that directory that means Meteor is trying to include it in the app that is deployed on the server side, and run via Node. The server side app has no idea what a Template object is (by default), which is why you’re seeing the “Template is not defined” error message.

If you followed everything exactly then it’s possible your app is in a corrupt state. Try running meteor reset.