I take a little surprise today working with angular 2, i'm developing a single page form to capture some data, and i discover that the value enter in my texfield using google chrome is sync up with my other browser mozilla firefox.
Anybody have some idea why happen this. this not look like angular function.
i'm running in developer mode
here my package.json file
reading more about lite-server with npm i suspect that it could be the reason but i'm not sure.
thanks in advance!!!
this is because of lite-server browsersync
to remove this you can use http-server(npm install -g http-server)
Related
I'm working on an Electron application and am using electron-builder to generate a windows installer and dmg for mac.
Everything works great, I was able to set up auto update and use other features of electron-builder.
Now I need to include other files that are not part of my electron project and execute them in order to install them during the installation process (on windows).
From the electron builder docs (https://github.com/electron-userland/electron-builder/wiki/Options#NsisOptions) I found out that a custom script can be used (NSIS, which I'll have to learn). I've tried including a test script but nothing seems to happen, has anyone here tried this?
The docs don't seem detailed enough in that regard so it's been very confusing.
Thanks a lot in advance!
So after looking at different places I found out that setting win.target to nsis and perMachine to true will generate the NSIS installer.
It does work, but then sadly there are no auto updates.
I was trying to install this : Search git whodotheyserve. com but this error shows up consistently .No matter what i try. I have tried other version of npm they are installed but the
npm test
error shows up .
npm run-script task
too returns error
This happens consistently .Also i am following each step mentioned in source of this project.Image attached.Please help where am i wrong here. The file extension used here ls .I had no experience with these. Image link
Echo %PATH% image link
The build fails because you are using Windows instead of Linux.
This is clearly stated in the installation instructions you claim to have followed in your duplicate question.
notes
The build tasks rely on Linux shell commands such as pkill and rsync
so are unlikely to run on other OS's without some tweaks.
If you want to run this under windows, you should ask the repo maintainer for guidance.
You have to install python 2.7 and make sure it's in your PATH variable.
Try:
set PATH=%PATH%;C:\python2.7\python.exe
Replace C:\python2.7\python.exe with your actual python installation path
The issue here was that this was made to run on linux only.So ,it won't run on windows on which i was trying to run it.The issue arose as i was trying to install it on wrong OS.I have successfully installed it on linux.It works great.
I want to thank all those who contributed in helping me with this issue.Thanks a lot to all those who helped.
This was working on my system and now is not. I have live-server version 0.8.1 installed globally.
npm install live-server -g
But when I start it I don't get the "Live reload enabled." message in the browser console.
I've uninstalled it completely and re-installed it to no avail.
The http server is working. It will serve up my index.html and all related content. It just won't detect file changes.
Starting live-server:
live-server --open=src
I'm using typescript outputting js to src/dist/... I've verified that the file is changing. I can modify the js directly as well. In no case does live-server detect any changes.
File system permissions?
Cached configuration?
What's causing this?
I had been having this issue as well, and stumbled across one exchange between Ritwick Dey (author of live-server), and a dev having the same issues.
As it turns out, it's as simple as not using a self-closing tag.
In my case, I was using React, and the line in question (in my HTML file) was
<script src="/scripts/app.js" />
Changing it to the following immediately fixed my issue, and got the "Live reload enabled" message in my Console, and hot reloading to work again.
<script src="/scripts/app.js"></script>
Hope this helps.
(here's a link to the conversation: https://github.com/ritwickdey/vscode-live-server/issues/82)
This may have been a Chrome caching issue.
I opened Safari and voila, everything started working. Closed Safari and now Chrome is working again.
I'm going to call this a bizarre environmental fluke.
I installed Jasmine-gem on my project without rails usage as my app is php based on Ubuntu. I go to localhost:8888 as said and get page not found in any browsers. Am I missing a basic HTML page like the standalone install or something?.
I know this isn't a full gems issue because compass and other gems function fine.
Can't figure out what I am doing wrong, it is able to find the specs in the command line.
I could just load jasmine standalone but if is possible to get this running, I would really appreciate it!
Thank You.
Forgot to mention I am running Windows. Since Jasmine will run on its own server, I installed it directly on Windows and it works fine. Thanks again for your help. Sometimes you wonder which way you want to go on a shared file system.
I'm curious if anyone has a solution for running meteor in a debugger. I have some experience with running regular node in a debugger, have used JetBrains Webstorm for this, however it doesn't seem to support meteor (as far as I can tell). If anyone has a solution, would appreciate any information. It seems, eventually this will need to be possible for meteor to become a longterm viable platform.
It looks like the meteor startup script does not support a debugging option at this point, but you can fix this yourself:
Open the meteor startup script in a text editor (use which meteor to find it)
Change the last line (add $NODE_DEBUG parameter):
exec "$DEV_BUNDLE/bin/node" $NODE_DEBUG "$METEOR" "$#"
Now you can launch meteor in debug mode like this:
NODE_DEBUG=--debug meteor