ngx-translate-editor
ngx-translate-editor copied to clipboard
Write error on macOS
Bug report
App does not work on macOS
Tried adding a new project, yet after pressing the save button nothing happened. Then, opened the developer tools and saw in the console log the following error:
ERROR Error: EROFS: read-only file system, mkdir 'database' at Object.mkdirSync (fs.js:764) at t.connect (main.0c9ef70354937fcb424b.js:1) at t.connect (main.0c9ef70354937fcb424b.js:1) at t.getAllProjects (main.0c9ef70354937fcb424b.js:1) at t.updateProjects (main.0c9ef70354937fcb424b.js:1) at t.ngOnInit (main.0c9ef70354937fcb424b.js:1) at Ln (main.0c9ef70354937fcb424b.js:1) at Dn (main.0c9ef70354937fcb424b.js:1) at In (main.0c9ef70354937fcb424b.js:1) at jo (main.0c9ef70354937fcb424b.js:1) Ei @ main.0c9ef70354937fcb424b.js:1
To Reproduce
Steps to reproduce the behavior:
- Apply the instructions described in the README.md
- Open ngx-translate-editor/release/mac/ngx-translate-editor.app
- Toggle the developer tools in View/toggle developer tools OPT+CMD+I
- Tried on macOS Big Sur Beta 11.3
Expected behavior
I expect not to have this write error.
Hi @antal-horvath , Can you please check if run app with admin rules your have the same error?
Just tested it with sudo open ./release/mac/ngx-translate-editor.app
. Right after starting the app I still see the same error in the developer console.
Just tested it with
sudo open ./release/mac/ngx-translate-editor.app
. Right after starting the app I still see the same error in the developer console.
same here