I'm trying to get the demos to render locally. I followed all the instructions at Developer Setup, but when a run yarn start in the typescript-examples/ directory, I get the following when I open the served project:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:117:11)
at Object.join (path.js:1039:7)
at noopServiceWorkerMiddleware (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:317:13)
at /Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:335:12)
at next (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:275:10)
at launchEditorMiddleware (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:317:13)
at /Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:335:12)
at next (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/index.js:275:10)
at handleWebpackInternalMiddleware (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/react-dev-utils/evalSourceMapMiddleware.js:42:7)
at Layer.handle [as handle_request] (/Users/pnore/dev/mathjax-react/typescript-examples/node_modules/express/lib/router/layer.js:95:5)
Do you have an environment variable constant which I need to setup in order to get this to build locally?
I'm trying to get the demos to render locally. I followed all the instructions at Developer Setup, but when a run
yarn start
in thetypescript-examples/
directory, I get the following when I open the served project:Do you have an environment variable constant which I need to setup in order to get this to build locally?