Docz: Playground not showing

Created on 17 Sep 2020  路  7Comments  路  Source: doczjs/docz

Bug Report

Not showing any content within Playground

<Playground>
  <p>123123</p>
</Playground>

Environment

  • docz version: latest
  • OS: Windows 10
  • Node/npm version: v14.3.0/6.14.5

Most helpful comment

it's working now

Delete node_modules ,package-lock.json, yarn.lock, .docz from the project directory.
Then,
$ yarn install
$ yarn run dev

All 7 comments

Have you tried to use a React component instead of the p tag?

Delete node_modules ,package-lock.json, yarn.lock, .docz from the project directory.
Then,
$ yarn install
$ yarn run dev

it's working now

Delete node_modules ,package-lock.json, yarn.lock, .docz from the project directory.
Then,
$ yarn install
$ yarn run dev

@AreebSiddiqui what about npm, I have same issue, but I don't use yarn. And your trick is not work with npm, unfortunately

  • @citius Unfortunately, I also had hard luck using npm.

npm install will install dependencies from package.json whereas yarn install will prefer to use the yarn.lock file.

I think this issue is related to https://github.com/doczjs/docz/issues/1552

It seems there is a discrepancy with a package that can be fixed by adding a dev dependency.

I think @djizco is right and this issue can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mquandalle picture mquandalle  路  3Comments

ilyanoskov picture ilyanoskov  路  3Comments

tsnolan23 picture tsnolan23  路  3Comments

nicholasess picture nicholasess  路  3Comments

regrettably picture regrettably  路  3Comments