#57 — universal и samlib

Igor Kravchenko
It_challenge
Published in
1 min readMar 15, 2019

Починил библиотеку @gorniv/ngx-universal . Стабилизирую samlib.info .

Для исправления ошибки:

ERROR in Error during template compile of ‘AppModule’. Function calls are not supported in decorators but ‘CookieModule’ was called.

Необходимо было чтобы в библиотеке не было index.ts файлов…

Убрал повтор вызовов на backend. Настройки монги сделал стандартными. Все репозитории и контекст монги сделал Singleton — стараюсь исправить ошибку соединения с базой монги.

MongoConnectionException An exception occurred while opening a connection to the server. at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)16/03/2019 00:38:29 at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)16/03/2019 00:38:29 at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquiredConnection.Open(CancellationToken cancellationToken)16/03/2019 00:38:29 at MongoDB.Driver.Core.Servers.Server.GetChannel(CancellationToken cancellationToken)16/03/2019 00:38:29 at MongoDB.Driver.Core.Bindings.ServerChannelSource.GetChannel(CancellationToken cancellationToken)16/03/2019 00:38:29 at MongoDB.Driver.Core.Bindings.ChannelSourceHandle.GetChannel(CancellationToken cancellationToken)16/03/2019 00:38:29 at MongoDB.Driver.Core.Operations.FindOperation`1.Execute(IReadBinding binding, CancellationToken cancellationToken)

Подписка в телеграмм: https://t.me/It_challenge

15.03.2019

--

--