polar: Bug: Compile error when running `yarn dev`

Describe the bug

Working from the instructions in the contributing doc, I ran into this compile error when setting up my environment:

[dev:app] Failed to compile.
[dev:app] 
[dev:app] ./src/utils/network.ts
[dev:app]   Line 0:  Parsing error: Cannot read property 'map' of undefined

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo
  2. yarn
  3. yarn dev

Expected behavior App starts up

Screenshots image image

Desktop (please complete the following information):

  • OS: macOS Catalina v10.15.7
  • Polar Version: master
  • Docker Version: 19.03.13
  • Docker Compose Version: 1.27.4

Additional context N/A

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

@jamaljsr alright, running rm -rf ~/Library/Application\ Support/Electron/ fixed it.

thank you @jamaljsr!