Skip to content

prismic-cli v4 with yarn cause error #4

Open
@JulioJu

Description

@JulioJu

@phillysnow

With v4, during initalization, when we choose yarn as package manager, current repository is borken.

How to reproduce

  1. Instantiate project and select yarn
$ prismic theme --theme-url https://github.com/prismicio-community/nuxt-sm-tutorial-se
ries --conf sm.json
? Name your prismic repository:  https://sogilis-test-nuxt-sm-tutorial.prismic.io
project folder [sogilis-test-nuxt-sm-tutorial]:
Downloading starter project... Download complete
? package manager yarn
  1. run the app
yarn dev
  1. result
    On browser

We have error

Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema. - options has an unknown property 'order'. These properties are valid: object { postcssOptions?, execute?, sourceMap?, implementation? } at validate (/home/julioju/website/nuxt-sm-tutorial-series-v4/node_modules/schema-utils/dist/validate.js:105:11) at Object.loader (/home/julioju/website/nuxt-sm-tutorial-series-v4/node_modules/postcss-loader/dist/index.js:43:29) 

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