bit icon indicating copy to clipboard operation
bit copied to clipboard

"Uncaught (in promise) ReferenceError: process is not defined" when running bit start

Open kimkwanka opened this issue 4 years ago • 4 comments

Describe the bug

When trying to follow the "Getting started" guide I encountered the following problem: When opening http://localhost:3000 in the browser after running bit start the page is blank as it errors out on Uncaught (in promise) ReferenceError: process is not defined.

The same thing also happens when running bit start in an existing project after initializing via bit init .

Steps to Reproduce

  1. Install bit via npx @teambit/bvm install
  2. Run bit new react tasks-workspace --default-scope my-org.tasks-scope
  3. cd tasks-workspace
  4. bit start

Expected Behavior

Seeing the workspace UI.

Screenshots, exceptions and logs

image image image

image

Specifications

  • Bit version: 0.0.829
  • Workspace type: harmony(?)
  • Node version: v16.13.2
  • npm / yarn version: 8.3.1 / 1.22.19
  • Platform: Apple M1 Pro MacOS Monterey 12.5.1

kimkwanka avatar Aug 26 '22 10:08 kimkwanka

same issue

speculees avatar Aug 26 '22 11:08 speculees

Same here.

Specifications

  • Bit version: 0.0.829
  • Workspace type: nvm
  • Node version: v18.8.0
  • npm: 8.18.0
  • Platform: Ubuntu 22.04

adrianojdesouza avatar Aug 26 '22 18:08 adrianojdesouza

It was a regression that should be fixed by the latest version.

GiladShoham avatar Aug 27 '22 18:08 GiladShoham

It was a regression that should be fixed by the latest version.

Can confirm that it seems to be working now (Bit version: 0.0.831)

kimkwanka avatar Aug 29 '22 05:08 kimkwanka