Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write error on macOS #22

Open
antal-huck opened this issue Feb 19, 2021 · 3 comments
Open

Write error on macOS #22

antal-huck opened this issue Feb 19, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@antal-huck
Copy link

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.

@romanrostislavovich
Copy link
Owner

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

@romanrostislavovich romanrostislavovich self-assigned this Feb 20, 2021
@romanrostislavovich romanrostislavovich added the bug Something isn't working label Feb 20, 2021
@antal-huck
Copy link
Author

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.

@joseph-navant
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants