I installed accounts-ui using these commands:
npm i --save react react-dom react-router
meteor add accounts-password
meteor add std:accounts-ui
npm i --save tracker-component
On running, the console shows the following errors:
Uncaught Error: Cannot find module 'tracker-component/package.json'
Uncaught Error: Cannot find module 'meteor/std:accounts-ui'
What am I missing?
Thanks in advance to all for any info.
Interesting. Via the console, I see that std_accounts-ui is loading. I have a breakpoint set on line 25148, and execution is halting at that breakpoint:
Line 25148: require("./node_modules/meteor/std:accounts-ui/check-npm.js");
Now here’s the odd thing. That line is looking for the package at
./node_modules/meteor/std:accounts-ui
But it isn’t installed there. In fact, there is no folder called “meteor” in my node_modules folder. std_accounts-ui is currently installed at
myApp/.meteor/local/build/programs/web.browser/packages/std_accounts-ui.js
How can I install std:accounts-ui in the place where it expects itself to be?
It looks like this is an issue with the accounts-ui plugin. The package maintainers are looking into it.