We developed an Angular-based storage library and provided LokiJS available as a driver option. However, it throws an warning message related with LokiJS and this error also appears with other people who use our library:
WARNING in Project /node_modules/lokijs/src/lokijs.js
Module not found: Error: Can't solve 'fs' in ‘Project/node_modules/lokijs/src'
We know that Angular no longer allows the import of modules not related to web apps. Is there any configuration that I can add related to LokiJS? We tried to add env: BROWSER to the instance but the error persists.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We developed an Angular-based storage library and provided LokiJS available as a driver option. However, it throws an warning message related with LokiJS and this error also appears with other people who use our library:
We know that Angular no longer allows the import of modules not related to web apps. Is there any configuration that I can add related to LokiJS? We tried to add env:
BROWSER
to the instance but the error persists.