Hi,
How can I use AccountsClient
or AccountsServer
constructor? I am getting error: Uncaught Error: There is already a collection named 'users'
and I don’t know how to prevent Accounts
object from creating Accounts.users
collection.
Thanks for any advice 
Chris.
Hi
Because the AccountsClient or AccountsServer can be used to instantiated , the usage is as below:
ddpconnection = DDP.connect(‘url’)
const accounts2 =new AccountsClient({connection:ddpconnection})
if you want to change the Accounts of meteor are instantiated with AccountsCommon , you can set the value of ACCOUNTS_CONNECTION_URL in server.
The usage is as below
server side:
Meteor.startup(function(){
meteor_runtime_config.ACCOUNTS_CONNECTION_URL=“url”
})
Client side:
the Accounts are intantiated with ACCOUNTS_CONNECTION_URL AccountClient