Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't walk dependency graph error #8

Open
ghost opened this issue Feb 12, 2021 · 4 comments
Open

Can't walk dependency graph error #8

ghost opened this issue Feb 12, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2021

Hi, Thanks for this. I tried installing today after recently downloading Ubersicht and immediately received this error.

I would like to install the calendar you show on your desktop image. Is that another widget you've created?

Can't walk dependency graph: Cannot find module './src/suncalc' from '/Users/john/Library/Application Support/Übersicht/widgets/ubersitch-world-clock.widget/index.jsx'
    required by /Users/john/Library/Application Support/Übersicht/widgets/ubersitch-world-clock.widget/index.jsx

in /Users/john/Library/Application Support/Übersicht/widgets/ubersitch-world-clock.widget/index.jsx:

Screen Shot 2021-02-12 at 11 45 02 AM

@jhendry-whispir
Copy link

jhendry-whispir commented May 7, 2021

I found changing the import for suncalc in index.js to:

import SunCalc from "./src/suncalc/suncalc.js";

helped.

@zakirsajib
Copy link

i am having same issue.

@ASKHOPE
Copy link

ASKHOPE commented Feb 8, 2023

This Worked Thank You. Added this line below the previous one is vscode.

@danieltaylor
Copy link

You can also just rename the suncalc.js file as index.js and that will fix the issue as well.

See PR #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants