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

Playground fails to launch from repo root #3478

Closed
3 of 4 tasks
RPiAwesomeness opened this issue Mar 6, 2023 · 5 comments · Fixed by #3521
Closed
3 of 4 tasks

Playground fails to launch from repo root #3478

RPiAwesomeness opened this issue Mar 6, 2023 · 5 comments · Fixed by #3521

Comments

@RPiAwesomeness
Copy link
Contributor

Prerequisites

What theme are you using?

core

Version

5.2.0

Current Behavior

Attempting to run npm start from the repo root results in a blank screen and a vite error about failing to resolve entry for @rjsf/material-ui:

image

This is coupled with a lot of errors in the console, resulting a completely unusable playground and an inability to develop a pull request for it.

Launching via npm start from the packages/playground folder works without trouble but doesn't seem to support live-reloading or any sort of output via console from the packages/core library.

The output:

$ npm start

> start
> lerna run start --stream --parallel

lerna notice cli v6.4.1
lerna WARN run "parallel", "sort", and "no-sort" are ignored when Nx targets are configured. See https://lerna.js.org/docs/lerna6-obsolete-options for details.

 >  Lerna (powered by Nx)   Running target start for 9 projects:

    - @rjsf/antd
    - @rjsf/bootstrap-4
    - @rjsf/chakra-ui
    - @rjsf/core
    - docs
    - @rjsf/fluent-ui
    - @rjsf/material-ui
    - @rjsf/mui
    - @rjsf/playground

 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

> @rjsf/core:start


> @rjsf/antd:start


> @rjsf/bootstrap-4:start


> @rjsf/chakra-ui:start


> @rjsf/fluent-ui:start


> @rjsf/material-ui:start


> @rjsf/mui:start


> docs:start


> @rjsf/playground:start

@rjsf/core: > @rjsf/core@5.2.0 start
@rjsf/core: > dts watch
@rjsf/antd: > @rjsf/antd@5.2.0 start
@rjsf/antd: > dts watch
@rjsf/bootstrap-4: > @rjsf/bootstrap-4@5.2.0 start
@rjsf/bootstrap-4: > dts watch
@rjsf/fluent-ui: > @rjsf/fluent-ui@5.2.0 start
@rjsf/fluent-ui: > dts watch
@rjsf/chakra-ui: > @rjsf/chakra-ui@5.2.0 start
@rjsf/chakra-ui: > dts watch
docs: > docs@5.2.0 start
docs: > docusaurus start
@rjsf/mui: > @rjsf/mui@5.2.0 start
@rjsf/mui: > dts watch
@rjsf/material-ui: > @rjsf/material-ui@5.2.0 start
@rjsf/material-ui: > dts watch
@rjsf/playground: > @rjsf/playground@5.2.0 start
@rjsf/playground: > vite --force
@rjsf/playground: Forced re-optimization of dependencies
@rjsf/playground:   VITE v4.1.1  ready in 604 ms
@rjsf/playground:   ➜  Local:   http://localhost:8080/
@rjsf/playground:   ➜  Network: use --host to expose
@rjsf/playground:   ➜  press h to show help
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/material-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/index.jsx:2:36:
@rjsf/playground:       2 │ import { Theme as MuiV4Theme } from "@rjsf/material-ui";
@rjsf/playground:         ╵                                     ~~~~~~~~~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/mui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/index.jsx:3:36:
@rjsf/playground:       3 │ import { Theme as MuiV5Theme } from "@rjsf/mui";
@rjsf/playground:         ╵                                     ~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/fluent-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/index.jsx:4:39:
@rjsf/playground:       4 │ import { Theme as FluentUITheme } from "@rjsf/fluent-ui";
@rjsf/playground:         ╵                                        ~~~~~~~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/antd". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/index.jsx:6:35:
@rjsf/playground:       6 │ import { Theme as AntdTheme } from "@rjsf/antd";
@rjsf/playground:         ╵                                    ~~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/bootstrap-4". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/index.jsx:7:41:
@rjsf/playground:       7 │ import { Theme as Bootstrap4Theme } from "@rjsf/bootstrap-4";
@rjsf/playground:         ╵                                          ~~~~~~~~~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/chakra-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/index.jsx:8:39:
@rjsf/playground:       8 │ import { Theme as ChakraUITheme } from "@rjsf/chakra-ui";
@rjsf/playground:         ╵                                        ~~~~~~~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/core". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/app.jsx:5:32:
@rjsf/playground:       5 │ import Form, { withTheme } from "@rjsf/core";
@rjsf/playground:         ╵                                 ~~~~~~~~~~~~
@rjsf/playground: ✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@rjsf/chakra-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:     node_modules/esbuild/lib/main.js:1365:21:
@rjsf/playground:       1365 │         let result = await callback({
@rjsf/playground:            ╵                      ^
@rjsf/playground:     at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:     at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:     at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:     at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:     at Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:46)
@rjsf/playground:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:     at async resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41815:26)
@rjsf/playground:     at async file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41989:34
@rjsf/playground:     at async requestCallbacks.on-resolve (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1365:22)
@rjsf/playground:     at async handleRequest (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:727:13)
@rjsf/playground:   This error came from the "onResolve" callback registered here:
@rjsf/playground:     node_modules/esbuild/lib/main.js:1287:20:
@rjsf/playground:       1287 │       let promise = setup({
@rjsf/playground:            ╵                     ^
@rjsf/playground:     at setup (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41979:19)
@rjsf/playground:     at handlePlugins (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1287:21)
@rjsf/playground:     at buildOrServeImpl (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:974:5)
@rjsf/playground:     at Object.buildOrServe (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:780:5)
@rjsf/playground:     at /home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2132:17
@rjsf/playground:     at new Promise (<anonymous>)
@rjsf/playground:     at Object.build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:2131:14)
@rjsf/playground:     at build (/home/nate/react-jsonschema-form/packages/playground/node_modules/esbuild/lib/main.js:1978:51)
@rjsf/playground:     at scanImports (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41760:11)
@rjsf/playground:   The plugin "vite:dep-scan" was triggered by this import
@rjsf/playground:     src/DemoFrame.jsx:8:44:
@rjsf/playground:       8 │ import { __createChakraFrameProvider } from "@rjsf/chakra-ui";
@rjsf/playground:         ╵                                             ~~~~~~~~~~~~~~~~~
@rjsf/playground: Build failed with 8 errors:
@rjsf/playground: node_modules/esbuild/lib/main.js:1365:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@rjsf/antd". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground: node_modules/esbuild/lib/main.js:1365:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@rjsf/bootstrap-4". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground: node_modules/esbuild/lib/main.js:1365:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@rjsf/chakra-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground: node_modules/esbuild/lib/main.js:1365:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@rjsf/chakra-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground: node_modules/esbuild/lib/main.js:1365:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@rjsf/core". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground: ...
@rjsf/core: - Compiling modules...
@rjsf/antd: - Compiling modules...
@rjsf/bootstrap-4: - Compiling modules...
@rjsf/chakra-ui: - Compiling modules...
@rjsf/material-ui: - Compiling modules...
@rjsf/fluent-ui: - Compiling modules...
@rjsf/mui: - Compiling modules...
docs: [INFO] Starting the development server...
@rjsf/playground: 5:13:17 PM [vite] Internal server error: Failed to resolve entry for package "@rjsf/material-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:   Plugin: vite:import-analysis
@rjsf/playground:   File: /home/nate/react-jsonschema-form/packages/playground/src/index.jsx
@rjsf/playground:       at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:       at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:       at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:       at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:       at async Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:32)
@rjsf/playground:       at async TransformContext.resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41334:23)
@rjsf/playground:       at async normalizeUrl (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39685:34)
@rjsf/playground:       at async TransformContext.transform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39826:47)
@rjsf/playground:       at async Object.transform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41660:30)
@rjsf/playground:       at async loadAndTransform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39466:29)
@rjsf/playground: 5:13:17 PM [vite] Internal server error: Failed to resolve entry for package "@rjsf/material-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:   Plugin: vite:import-analysis
@rjsf/playground:   File: /home/nate/react-jsonschema-form/packages/playground/src/index.jsx
@rjsf/playground:       at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:       at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:       at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:       at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:       at async Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:32)
@rjsf/playground:       at async TransformContext.resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41334:23)
@rjsf/playground:       at async normalizeUrl (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39685:34)
@rjsf/playground:       at async TransformContext.transform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39826:47)
@rjsf/playground:       at async Object.transform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41660:30)
@rjsf/playground:       at async loadAndTransform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39466:29)
@rjsf/playground: 5:13:17 PM [vite] Internal server error: Failed to resolve entry for package "@rjsf/material-ui". The package may have incorrect main/module/exports specified in its package.json.
@rjsf/playground:   Plugin: vite:import-analysis
@rjsf/playground:   File: /home/nate/react-jsonschema-form/packages/playground/src/index.jsx
@rjsf/playground:       at packageEntryFailure (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
@rjsf/playground:       at resolvePackageEntry (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
@rjsf/playground:       at tryNodeResolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
@rjsf/playground:       at Context.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
@rjsf/playground:       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@rjsf/playground:       at async Object.resolveId (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:32)
@rjsf/playground:       at async TransformContext.resolve (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41334:23)
@rjsf/playground:       at async normalizeUrl (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39685:34)
@rjsf/playground:       at async TransformContext.transform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39826:47)
@rjsf/playground:       at async Object.transform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41660:30)
@rjsf/playground:       at async loadAndTransform (file:///home/nate/react-jsonschema-form/packages/playground/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39466:29)
docs: [SUCCESS] Docusaurus website is running at: http://localhost:3000/react-jsonschema-form/docs/
docs: ℹ Compiling Client
@rjsf/antd: ✖ Failed to compile
@rjsf/antd: (typescript) Error: /home/nate/react-jsonschema-form/packages/antd/src/index.ts(3,50): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/antd/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/antd:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/antd: Error: /home/nate/react-jsonschema-form/packages/antd/src/index.ts(3,50): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/antd/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/antd:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/antd:     at error (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:198:30)
@rjsf/antd:     at throwPluginError (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:21894:12)
@rjsf/antd:     at Object.error (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22616:20)
@rjsf/antd:     at Object.error (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22071:42)
@rjsf/antd:     at RollupContext.error (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
@rjsf/antd:     at /home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
@rjsf/antd:     at Array.forEach (<anonymous>)
@rjsf/antd:     at printDiagnostics (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
@rjsf/antd:     at Object.transform (/home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
@rjsf/antd:     at /home/nate/react-jsonschema-form/packages/antd/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22825:37
@rjsf/bootstrap-4: ✖ Failed to compile
@rjsf/bootstrap-4: (typescript) Error: /home/nate/react-jsonschema-form/packages/bootstrap-4/src/Form/Form.tsx(3,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/bootstrap-4:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/bootstrap-4: Error: /home/nate/react-jsonschema-form/packages/bootstrap-4/src/Form/Form.tsx(3,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/bootstrap-4:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/bootstrap-4:     at error (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:198:30)
@rjsf/bootstrap-4:     at throwPluginError (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:21894:12)
@rjsf/bootstrap-4:     at Object.error (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22616:20)
@rjsf/bootstrap-4:     at Object.error (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22071:42)
@rjsf/bootstrap-4:     at RollupContext.error (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
@rjsf/bootstrap-4:     at /home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
@rjsf/bootstrap-4:     at Array.forEach (<anonymous>)
@rjsf/bootstrap-4:     at printDiagnostics (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
@rjsf/bootstrap-4:     at Object.transform (/home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
@rjsf/bootstrap-4:     at /home/nate/react-jsonschema-form/packages/bootstrap-4/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22825:37
@rjsf/material-ui: ✖ Failed to compile
@rjsf/material-ui: (typescript) Error: /home/nate/react-jsonschema-form/packages/material-ui/src/MuiForm/MuiForm.tsx(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/material-ui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/material-ui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/material-ui: Error: /home/nate/react-jsonschema-form/packages/material-ui/src/MuiForm/MuiForm.tsx(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/material-ui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/material-ui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/material-ui:     at error (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:198:30)
@rjsf/material-ui:     at throwPluginError (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:21894:12)
@rjsf/material-ui:     at Object.error (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22616:20)
@rjsf/material-ui:     at Object.error (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22071:42)
@rjsf/material-ui:     at RollupContext.error (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
@rjsf/material-ui:     at /home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
@rjsf/material-ui:     at Array.forEach (<anonymous>)
@rjsf/material-ui:     at printDiagnostics (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
@rjsf/material-ui:     at Object.transform (/home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
@rjsf/material-ui:     at /home/nate/react-jsonschema-form/packages/material-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22825:37
@rjsf/mui: ✖ Failed to compile
@rjsf/mui: (typescript) Error: /home/nate/react-jsonschema-form/packages/mui/src/MuiForm/MuiForm.tsx(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/mui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/mui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/mui: Error: /home/nate/react-jsonschema-form/packages/mui/src/MuiForm/MuiForm.tsx(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/mui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/mui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/mui:     at error (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:198:30)
@rjsf/mui:     at throwPluginError (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:21894:12)
@rjsf/mui:     at Object.error (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22616:20)
@rjsf/mui:     at Object.error (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22071:42)
@rjsf/mui:     at RollupContext.error (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
@rjsf/mui:     at /home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
@rjsf/mui:     at Array.forEach (<anonymous>)
@rjsf/mui:     at printDiagnostics (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
@rjsf/mui:     at Object.transform (/home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
@rjsf/mui:     at /home/nate/react-jsonschema-form/packages/mui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22825:37
@rjsf/fluent-ui: ✖ Failed to compile
@rjsf/fluent-ui: (typescript) Error: /home/nate/react-jsonschema-form/packages/fluent-ui/src/FuiForm/FuiForm.ts(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/fluent-ui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/fluent-ui: Error: /home/nate/react-jsonschema-form/packages/fluent-ui/src/FuiForm/FuiForm.ts(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/fluent-ui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/fluent-ui:     at error (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:198:30)
@rjsf/fluent-ui:     at throwPluginError (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:21894:12)
@rjsf/fluent-ui:     at Object.error (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22616:20)
@rjsf/fluent-ui:     at Object.error (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22071:42)
@rjsf/fluent-ui:     at RollupContext.error (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
@rjsf/fluent-ui:     at /home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
@rjsf/fluent-ui:     at Array.forEach (<anonymous>)
@rjsf/fluent-ui:     at printDiagnostics (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
@rjsf/fluent-ui:     at Object.transform (/home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
@rjsf/fluent-ui:     at /home/nate/react-jsonschema-form/packages/fluent-ui/node_modules/dts-cli/node_modules/rollup/dist/shared/rollup.js:22825:37
@rjsf/chakra-ui: ✖ Failed to compile
@rjsf/chakra-ui: (typescript) Error: /home/nate/react-jsonschema-form/packages/chakra-ui/src/Form/Form.tsx(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/chakra-ui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/chakra-ui: Error: /home/nate/react-jsonschema-form/packages/chakra-ui/src/Form/Form.tsx(2,38): semantic error TS7016: Could not find a declaration file for module '@rjsf/core'. '/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/@rjsf/core/dist/index.js' implicitly has an 'any' type.
@rjsf/chakra-ui:   Try `npm i --save-dev @types/rjsf__core` if it exists or add a new declaration (.d.ts) file containing `declare module '@rjsf/core';`
@rjsf/chakra-ui:     at error (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/rollup/dist/shared/rollup.js:198:30)
@rjsf/chakra-ui:     at throwPluginError (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/rollup/dist/shared/rollup.js:21894:12)
@rjsf/chakra-ui:     at Object.error (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/rollup/dist/shared/rollup.js:22616:20)
@rjsf/chakra-ui:     at Object.error (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/rollup/dist/shared/rollup.js:22071:42)
@rjsf/chakra-ui:     at RollupContext.error (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
@rjsf/chakra-ui:     at /home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
@rjsf/chakra-ui:     at Array.forEach (<anonymous>)
@rjsf/chakra-ui:     at printDiagnostics (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
@rjsf/chakra-ui:     at Object.transform (/home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/dts-cli/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
@rjsf/chakra-ui:     at /home/nate/react-jsonschema-form/packages/chakra-ui/node_modules/rollup/dist/shared/rollup.js:22825:37
@rjsf/chakra-ui:     at runNextTicks (node:internal/process/task_queues:60:5)
@rjsf/chakra-ui:     at process.processImmediate (node:internal/timers:442:9)
^C

Expected Behavior

Running npm start launches the playground locally and enables hot-reload without error.

Steps To Reproduce

  1. Clone repository
  2. Run npm run build
  3. Run npm start
  4. See the errors in the console and in Firefox see the Vite error

Environment

- OS: Ubuntu 22.04 (WSL2 on Windows 11)
- Node: 19.4.0
- npm: 9.3.0

Anything else?

No response

@RPiAwesomeness RPiAwesomeness added bug needs triage Initial label given, to be assigned correct labels and assigned labels Mar 6, 2023
@RPiAwesomeness
Copy link
Contributor Author

Some additional info. From the build process I'm seeing a lot of messages like this:

No name was provided for external module '@mui/material/FormGroup' in output.globals – guessing 'FormGroup'
No name was provided for external module '@mui/material/FormLabel' in output.globals – guessing 'FormLabel'
No name was provided for external module '@mui/material/Radio' in output.globals – guessing 'Radio'
No name was provided for external module '@mui/material/RadioGroup' in output.globals – guessing 'RadioGroup'
No name was provided for external module '@mui/material/Slider' in output.globals – guessing 'Slider'

@heath-freenome
Copy link
Member

@RPiAwesomeness Yeah, when the playground was switched to use Vite, that behavior was broken. We probably should remove the root npm start and update the documentation accordingly. Really the only way I develop right now is to rebuild everything from the root using npm run build. Thankfully with nx caching this usually only rebuilds what is necessary. You will then need to stop and start the playground from it's local directory so that the caches are reset.

@RPiAwesomeness
Copy link
Contributor Author

Ah, good to know. That method works great for me. Would it be helpful to create a pull request that removes that root script and updates the documentation? I don't have time to work on fixing the root build process as it is right now but I'd love to help out a little where I can.

@heath-freenome
Copy link
Member

Ah, good to know. That method works great for me. Would it be helpful to create a pull request that removes that root script and updates the documentation? I don't have time to work on fixing the root build process as it is right now but I'd love to help out a little where I can.

@RPiAwesomeness That would be awesome(ness)!

@RPiAwesomeness
Copy link
Contributor Author

Hah, clever 😉 If I have time over the weekend I'll throw that up!

@heath-freenome heath-freenome removed the needs triage Initial label given, to be assigned correct labels and assigned label Mar 10, 2023
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Mar 19, 2023
Fixes rjsf-team#3478 and rjsf-team#3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `CHANGELOG.md` accordingly
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Mar 19, 2023
Fixes rjsf-team#3478 and rjsf-team#3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
  - Added `lint-staged`, `cs-check` and `cs-format` in the `docs` directory to format files
  - Fixed up the `lint-staged`, `cs-check` and `cs-format` rules in the `playground` to simplify the globs for the real content
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `CHANGELOG.md` accordingly
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Mar 19, 2023
Fixes rjsf-team#3478 and rjsf-team#3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
  - Added `lint-staged`, `cs-check` and `cs-format` in the `docs` directory to format files
  - Fixed up the `lint-staged`, `cs-check` and `cs-format` rules in the `playground` to simplify the globs for the real content
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `CHANGELOG.md` accordingly
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Mar 19, 2023
Fixes rjsf-team#3478 and rjsf-team#3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
  - Added `lint-staged`, `cs-check` and `cs-format` in the `docs` directory to format files
  - Fixed up the `lint-staged`, `cs-check` and `cs-format` rules in the `playground` to simplify the globs for the real content
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `CHANGELOG.md` accordingly
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Mar 19, 2023
Fixes rjsf-team#3478 and rjsf-team#3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
  - Added `lint-staged`, `cs-check` and `cs-format` in the `docs` directory to format files
  - Fixed up the `lint-staged`, `cs-check` and `cs-format` rules in the `playground` to simplify the globs for the real content
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `semantic-ui/uiSchema` documentation to switch the default for `horizontalButtons` to be true
- Updated the `CHANGELOG.md` accordingly
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Mar 19, 2023
Fixes rjsf-team#3478 and rjsf-team#3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
  - Added `lint-staged`, `cs-check` and `cs-format` in the `docs` directory to format files
  - Fixed up the `lint-staged`, `cs-check` and `cs-format` rules in the `playground` to simplify the globs for the real content
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `semantic-ui/uiSchema` documentation to switch the default for `horizontalButtons` to be true
- Updated the `CHANGELOG.md` accordingly
heath-freenome added a commit that referenced this issue Mar 19, 2023
Fixes #3478 and #3520 by updating documentation
- Updated the root `package.json` to change `npm start` to documentation about the new process
- Updated the `package.json` files to remove the `npm start` script in all packages that had them except for `playground` and `docs`
  - Added `lint-staged`, `cs-check` and `cs-format` in the `docs` directory to format files
  - Fixed up the `lint-staged`, `cs-check` and `cs-format` rules in the `playground` to simplify the globs for the real content
- Added documentation for `getTestValidator()` in `utils`, `validator-ajv6` and `validator-ajv8` to better describe how validator tests work
  - Same for `schema.test.ts`
- Updated the `internals` documentation to switch to using a React ref
- Updated the `contributing` documentation to cover the new development process with `Vite` as well as trying to improve the understanding of validator testing
- Updated the `semantic-ui/uiSchema` documentation to switch the default for `horizontalButtons` to be true
- Updated the `CHANGELOG.md` accordingly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants