ardatan / meteor-webpack

https://medium.com/@ardatan/meteor-with-webpack-in-2018-faster-compilation-better-source-handling-benefit-from-bc5ccc5735ef
MIT License
123 stars 29 forks source link

Accounts not working #76

Closed promentol closed 5 years ago

promentol commented 5 years ago

Meteor.loginWIthPassword methods is always returning an error. After debugging I see Accounts._loginHandlers is an empty array [], after server code push.

Here are the versions. METEOR@1.8.1 ardatan:webpack@0.0.11 ardatan:webpack-dev-middleware@0.0.11 accounts-base@1.4.4 accounts-password@1.5.1

stolinski commented 5 years ago

Are you seeing the error Unrecognized options for login request? I’m getting that myself on every loginWithPassword call.

promentol commented 5 years ago

Yes, and I have solution

just in .meteor/packages, put ardatan:webpack and ardatan:webpack-dev-middleware to the end of the file.