question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error after installation

See original GitHub issue

Hey,

I get the following error in the browser when running yarn start for the 1st time after installation:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at validateString (internal/validators.js:118:11)
    at Object.join (path.js:1039:7)
    at noopServiceWorkerMiddleware (/home/user1/repos/mail-app/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
    at Layer.handle [as handle_request] (/home/user1/repos/mail-app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/user1/repos/mail-app/node_modules/express/lib/router/index.js:317:13)
    at /home/user1/repos/mail-app/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/user1/repos/mail-app/node_modules/express/lib/router/index.js:335:12)
    at next (/home/user1/repos/mail-app/node_modules/express/lib/router/index.js:275:10)
    at launchEditorMiddleware (/home/user1/repos/mail-app/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
    at Layer.handle [as handle_request] (/home/user1/repos/mail-app/node_modules/express/lib/router/layer.js:95:5)

OS: ubuntu 18.04.1 Browser: Google Chrome, latest

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
phoqecommented, Feb 17, 2020

I think I have it under control now, will test later when I get home.

1reaction
phoqecommented, Feb 17, 2020

Thank you for replying, I think it has something to do with CRA templates not supporting configs in package.json. Will look into it closer, for now I recommend cloning instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Identify Windows Installer issues · Click Start, click Run, type cmd, and then click Command Prompt. · At the command prompt, type the...
Read more >
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
[SOLVED] Windows 10 Installation Has Failed - Driver Easy
The “Windows 10 installation has failed” error is one of the most reported errors that users get when they try to install Windows...
Read more >
[SOLVED] Windows 10 Could Not Complete the Installation + ...
If you have received an error message that says Windows 10 could not complete the installation after updating your operating system, you can...
Read more >
How to Fix 'Windows Could Not Complete the Installation' Error
1. Change boot sequence in BIOS to set the computer to boot up from the drive with the transferred system. 2. Save all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found