Giter VIP home page Giter VIP logo

Comments (7)

jadjoubran avatar jadjoubran commented on June 22, 2024

Hey @felipenmoura
I assume you're referring to the package json plugin right?
Do you have a yarn.lock in the root of your folder? this is what that plugin uses to detect if you're using yarn or not
Also try running yarn install and then restart webdash.. does it work?

from webdash.

felipenmoura avatar felipenmoura commented on June 22, 2024

Hi.
Well, actually, no plugins appeared at all. It was like if I hadn't installed any.
I believe the problem was because I had both package-json.lock and yarn.lock.
I added the plugins using yarn, but webdash probably only looked at the package.json (what makes sense, I believe).
Then, when I installed the same plugins again, but using npm, they all appeared in the screen.

from webdash.

jadjoubran avatar jadjoubran commented on June 22, 2024

Alright now I understand what's wrong.. I thought the issue was with webdash-package-json but it turns out it's just webdash.
So can you please try the following:

Try in a new project or in the same project, remove webdash and try from scratch:

Go to webdash.xyz and click on Switch to yarn and then install webdash and its plugins using yarn
Does it work?
If not, please check if your package.json contains the new webdash plugins (it should contain them even if you used yarn)
Thanks!

from webdash.

felipenmoura avatar felipenmoura commented on June 22, 2024

Hi.
Thanks, but still, something is just weird.

I did what you asked:
Installed everything in a clean directory using yarn
And it worked :)

Then, I installed a dependency using npm (like npm install chalk for example).
And the command yarn webdash serv stoped working. I had to install something using yarn again for it to start working again.

Well, anyways, I think the right thing here is to be concise and install everything using the same tool, but it might be interesting for you to have it in mind, in case there is indeed some weird behave related to it ;)

from webdash.

jadjoubran avatar jadjoubran commented on June 22, 2024

Can you send me a screenshot of when you say it "stopped working" please?
this could be by design from npm/yarn but I'm not exactly sure what's going on
Thanks!

from webdash.

felipenmoura avatar felipenmoura commented on June 22, 2024

Sorry for not being clear about it.
It doesn't even start the service, with an error message saying that webdash doesn't exist (looks like npm cannot find it in the node_modules)

from webdash.

jadjoubran avatar jadjoubran commented on June 22, 2024

Alright thanks!
I'll close this issue for now since as you said it's not a good idea to use a mix of both
In case this issue happens with someone else, I can check if there's a potential fix for it

from webdash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.