在Meteor Angular 2教程(社交应用程序)中的section 8(用户帐户)后,浏览器上没有显示任何内容,在F12中我收到此错误:
install.js:85未捕获错误:找不到模块'meteor / accounts-base'require @ install.js:85meteorInstall.node_modules.angular2-meteor-accounts-ui.build.login-buttons.js @ login-buttons .js:13fileEvaluate @ install.js:153require @ install.js:82meteorInstall.node_modules.angular2-meteor-accounts-ui.build.index.js @ index.js:5fileEvaluate @ install.js:153require @ install.js:82meteorInstall .client.imports.parties-list.parties-list.js @ parties-list.ts:6fileEvaluate @ install.js:153require @ install.js:82meteorInstall.client.imports.parties-list.parties-list.ts @ parties -list.ts:1fileEvaluate @ install.js:153require @ install.js:82meteorInstall.client.app.js @ app.ts:6fileEvaluate @ install.js:153require@install.js:82(nanonymous function)@ parties.ts :22
答案 0 :(得分:2)
引用的meteor/accounts-base
模块是accounts-password
包的直接依赖关系。 Socially - A Meteor-Angular Tutorial App教程的第8步要求安装accounts-password
包,然后安装accounts-base
包。确保您运行以下内容:
meteor add accounts-password
要确保已安装,请在.meteor/versions
文件中查找匹配的accounts-base@X.X.X
行。