Urigo / Ionic-MeteorCLI-WhatsApp

WhatsApp Clone tutorial with Ionic 1.0 and Meteor CLI
https://www.angular-meteor.com/tutorials/whatsapp/meteor/bootstrapping
MIT License
205 stars 267 forks source link

The app does not build. #56

Open SosaWISE opened 6 years ago

SosaWISE commented 6 years ago

Not sure what is happening but I suspect that perhaps with the new version of Meteor the app does not work. Here is the error that I get: => Started proxy. => Errors prevented startup:

While building the application: error: Could not resolve meteor.mainModule "server/main.js" in package.json (os) error: Could not resolve meteor.mainModule "client/main.js" in package.json (web.browser) error: Could not resolve meteor.mainModule "client/main.js" in package.json (web.browser.legacy) error: Could not resolve meteor.mainModule "client/main.js" in package.json (web.cordova)

=> Your application has errors. Waiting for file change. => Started MongoDB.

Of course the main.js files are not in the tutorial.

fpellanda commented 6 years ago

Had same error with Meteor 1.7.0.5. Version 1.6.1.4 works for me.

s570908 commented 5 years ago

I didn't get anything displayed on chrome browser after building by "$ meter" , even if I successfully built it without any error. Is there any suggestion for me?

kunal0303 commented 5 years ago

Try changing the extension to .ts in your package.json for client and server. "meteor": { "mainModule": { "client": "client/main.ts", "server": "server/main.ts" },

dapperAuteur commented 5 years ago

@kunal0303 tried that and got same error.

vandretti commented 4 years ago

Since client/main.js and server/main.js are not used in this app, I just delete "meteor":{"mainModule":...}, from package.json, and it worked for me. My Meteor version is 1.10.1

clandestine33 commented 4 years ago

If the main.js files are not available in the project, set their values to false in package.json

"meteor": { "mainModule": { "client": false, "server": false },