ngx-translate-editor icon indicating copy to clipboard operation
ngx-translate-editor copied to clipboard

Write error on macOS

Open antal-huck opened this issue 4 years ago • 3 comments

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.

antal-huck avatar Feb 19 '21 17:02 antal-huck

Hi @antal-horvath , Can you please check if run app with admin rules your have the same error?

romanrostislavovich avatar Feb 20 '21 11:02 romanrostislavovich

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.

antal-huck avatar Feb 25 '21 09:02 antal-huck

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

joseph-navant avatar Mar 11 '21 21:03 joseph-navant