Closed erunion closed 4 years ago
Can you try
npm install
npm run build
npm start
That worked! PR'ing an update to the contribution docs to fix this: https://github.com/rjsf-team/react-jsonschema-form/pull/1913
@epicfaace Hi, when running npm run build
from the root folder I get this error:
@rjsf/material-ui: 'tsdx' is not recognized as an internal or external command,
@rjsf/material-ui: operable program or batch file.
@rjsf/material-ui: npm ERR! code ELIFECYCLE
@rjsf/material-ui: npm ERR! errno 1
@rjsf/material-ui: npm ERR! @rjsf/material-ui@2.2.1 start: `tsdx watch`
But if I run npm run build
from within packages/material-ui
it works.
Any ideas?
@ValYouW which operating system are you using? If you run npm install
from the root folder, it should install all required dependencies for all subpackages through Lerna.
I'm running on Windows thru git bash. Yeah, I run npm install from root, and all dependencies gets installed, otherwise it wouldn't have worked when I "cd" into material-ui package... Not that important as I "cd" manually into all packages and run "npm run build", it works perfectly. I'll see, maybe my npm version.
on current master(32717c7) unable to run playground from https://react-jsonschema-form.readthedocs.io/en/latest/contributing/
npm install && npm run build
work correctly
npm start
removes dist folder for fluent-ui bootstrap-4 and material-ui
Prerequisites
Description
Playground does not load on a fresh install and am unable to develop locally.
Steps to Reproduce
npm install
npm start
Expected behavior
Playground should load
Actual behavior
Version
Running the latest master with Node v10.16.0.