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

demos not working #9

Open
codekiln opened this issue Sep 30, 2020 · 0 comments
Open

demos not working #9

codekiln opened this issue Sep 30, 2020 · 0 comments

Comments

@codekiln
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant