Skip to content

Specifying an "out" prop #96

@dungle-scrubs

Description

@dungle-scrubs

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions