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

Specifying an "out" prop #96

Open
dungle-scrubs opened this issue May 28, 2020 · 1 comment
Open

Specifying an "out" prop #96

dungle-scrubs opened this issue May 28, 2020 · 1 comment

Comments

@dungle-scrubs
Copy link

Hi,

I'm following the example in the readme to change my out from /build to /dist and am getting an error. I'm running OSX and not sure if this is even a Slater issue, but maybe someone else is experiencing the same thing?

my slater.config.js looks like this (but filled in and sync'd with my theme correctly)

const path = require('path')

module.exports = {
  themes: {
    development: {
      id: '',
      password: '',
      store: '',
      ignore: [
        'settings_data.json' 
      ]
    }
  },
  out: '/dist'
}

I get the following error

error Error: EROFS: read-only file system, mkdir '/dist'

However, I can see that the /dist folder has still been created.

Thoughts?

@hcmlopes
Copy link

hcmlopes commented Jun 23, 2021

I am running slater in Windows 10/WSL2 (edit) and I am also having issues specifying an out prop.

I get the error error Error: EACCES: permission denied, mkdir '/dist'

Any help on how to fix this would be great. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants