carbon
carbon copied to clipboard
Error in project upon installation Error: Cannot find module './nix/nix'
Describe the bug Error: Cannot find module './nix/nix' on installing project and running yarn dev
To Reproduce Install project
Run yarn install yarn dev open browser http://localhost:3000
Expected behavior Should work fine
Screenshots
Info (please complete the following information):
- OS [Linux 18.04]
Was able to resolve it by commenting these lines of code in lib/constants.js
{
name: 'Nix',
mode: 'nix',
highlight: true,
},
{
name: 'Stan',
mode: 'stan',
highlight: true,
},
I also suffered this issue and the workaround worked. Thank you.
@umi0410 I am glad it Worked for you
Seeing the same issue.
Proposed fix: Should we add a check in components/Carbon.js at Line #397 to ignore the missing file, write a log and continue without errors?
Created a PR for this https://github.com/carbon-app/carbon/pull/1448.
I've come across the same error upon updating my existing Carbon setup. With the generic output from start
, it wasn't immediately clear what was triggering the problem. Running in dev
mode, however, made the error evident, which brought me to this issue. After implementing the fix from #1448, it all appears to be working smoothly.
Thank you @skevprog!
Oh, same issue, PR for this https://github.com/carbon-app/carbon/pull/1448 works well, but no one merges?
Yeah. I'm not sure if this project is even actively maintained anymore.
@mfix22 - could you please take a look?