Bit start not working: Cannot read properties of undefined (reading 'path') #6035
rpetersChrysalis
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to self host components using bit dev, by following this article #4707, I have run the following commands:
npx @teambit/bvm install
npm list -g @teambit/bvm
npm list -g bvm
npm i -g @teambit/bvm
npm install bit-bin --global
npm install -D @pmmmwh/react-refresh-webpack-plugin react-refresh
npm i @pmmmwh/react-refresh-webpack-plugin
bvm update
setx path "%path%;C:\Users\Neil Puttick\AppData\Local.bvm"
npx @teambit/bvm upgrade
npm i @pmmmwh/react-refresh-webpack-plugin
bvm upgrade
npm install
npm i @pmmmwh/[email protected]
bvm install
npm i [email protected]
npm uninstall bit-bin --global
npm install [email protected] --global
npm install bit-bin@latest --global
npm install bit-bin@latest
npm i @pmmmwh/react-refresh-webpack-plugin -g
npm i react-refresh/babel -g
npm i webpack@latest
I then ran bit init --bare and bit start right after. The console then displays the following error:
Cannot read properties of undefined (reading 'path')
I have also ran bit status:
error: component ID is invalid, please use the following format: [scope]/
I have no idea how to fix this, any advice would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions