Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Webdash Travis CI plugin HOT 3
- Make an option to not update package.json HOT 3
- A loading state for plugins HOT 6
- webdash config HOT 2
- Add contributing guide
- Release v1.4 HOT 1
- Change color of meta theme color
- Add to docs: instructions how to re-arrange plugins HOT 1
- Fix npm scripts
- Attempting to run in Docker HOT 10
- Disable workbox logs HOT 1
- Add a --no-open flag HOT 3
- The use of Google trackers HOT 4
- Upgrade to Polymer 3 HOT 1
- Webdash Hue plugin HOT 1
- Webdash embed plugin HOT 1
- UnhandledPromiseRejectionWarning: Error: Exited with code 3 HOT 1
- --bind HOT 1
- Why no updates in 2 years? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdash.