Livereload not working with Ionic serve command - ionic-framework

I run:
ionic serve
✗ (node:7616) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Running dev server: http://localhost:8100
Running live reload server: http://localhost:35729
Watching : [ 'www/**/*', '!www/lib/**/*' ]
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit
My chrome starts with livereload activated
My source code contains
<script>//<![CDATA[
document.write('<script src="//' + (location.hostname || 'localhost') + ':35729/livereload.js?snipver=1"><\/script>')
//]]></script>
IOnic detects changes on file:
ionic $ JS changed: C:\Users\Proxymis\Desktop\ionic\Monuma\www\js\controllers.js
JS changed: C:\Users\Proxymis\Desktop\ionic\Monuma\www\js\controllers.js
When I open the local host on port 35729 I got
{"tinylr":"Welcome","version":"0.0.5"}
But when I modify my page, my page NEVER reloads !

Related

SSH PROTOCOL (for passing the filters) works in safari to pass filters but not in terminal

I'm using an ssh protocol to connect to a server(that I bought from a VPN seller) through a mac m1 terminal to pass filters in my country(Iran)
and it asks server password and connects to the server without any error.
I can pass filtered sites (googleapis.dev ---> that I need it, youtube,...)/ using safari or chrome
but...
when I want to access through the terminal I receive 403.
I don't know what to do.
any idea?
I think my terminal is not tunneled to the ssh server.
web sdk download 403 forbidden
downloading Ios tools
nezhadjavadali#alis-MacBook-Air ~ % flutter create my_app
Recreating project my_app...
Running "flutter pub get" in my_app...
Resolving dependencies in my_app...
collection 1.17.0 (1.17.1 available)
js 0.6.5 (0.6.7 available)
matcher 0.12.13 (0.12.14 available)
meta 1.8.0 (1.9.0 available)
path 1.8.2 (1.8.3 available)
test_api 0.4.16 (0.4.18 available)
Got dependencies in my_app!
Wrote 3 files.
All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd my_app
$ flutter run
Your application code is in my_app/lib/main.dart.
nezhadjavadali#alis-MacBook-Air ~ % cd my_app
nezhadjavadali#alis-MacBook-Air my_app % flutter run
Downloading Web SDK... 1,010ms
Downloading Web SDK... 683ms
Failed to download https://storage.googleapis.com/flutter_infra_release/flutter/248290d6d50a1bf1a6a246544347c03acda867a5/flutter-web-sdk-darwin-x64.zip.
Ensure you have network connectivity and then try again.
Exception: 403
nezhadjavadali#alis-MacBook-Air my_app %
--------------------------------------------
nezhadjavadali#alis-MacBook-Air my_app % ping youtube.com
PING youtube.com (10.10.34.36): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
-------------------------------------------

Getting INSTALL_FAILED_UPDATE_INCOMPATIBLE error

Appium Server version: 1.7.1
OS: Windows 8
While running the code I got
org.openqa.selenium.WebDriverException:
An unknown server-side error occurred while processing the command.
Original error:
Error executing adbExec.
Original error:
'Command 'D\:\\Android\\android-sdk\\platform-tools\\adb.exe -P 8080 -s ------ install C\:\\Users\\resi\\AppData\\Local\\Programs\\appium-desktop\\resources\\app\\node_modules\\appium\\node_modules\\appium-unlock \\bin\\unlock_apk-debug.apk' exited with code 1';
Stderr: 'Failed to install C:\Users\resi\AppData\Local\Programs\appium-desktop \resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE:
Package io.appium.unlock signatures do not match the previously installed version; ignoring!]'; Code: '1'
error and Appium Setting page is opened and instant closed in real Android device instead of opening app (.apk file)
You need to cleanup the device you are using:
Go to Settings -> Apps
Delete you application under test using Uninstall for all users menu
Delete Appium Settings app
Restart your test and it should work

getting error while executing ionic App in terminal using command $ionic serve?

I have installed
Node.js
Cordova
ionic
After Installation I created a project as
$ionic start myApp
$cd myApp
$ionic serve
but localhost doesn't load any thing and terminal shows the following error:
The port 8100 was taken on the host localhost - using port instead
Gulp startup tasks: 0=sass, 1=watch
Running live reload server: undefined
Watching: 0=www/**/*, 1=!www/lib/**/*
Running dev server: http://localhost:
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit
ionic $ events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EADDRNOTAVAIL 192.168.1.5
at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:64:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:83:10)
What is the problem?
Update your ionic version
npm install -g ionic
or
npm install -g ionic#1.1.7
or
npm install -g ionic#1.1.9-beta1
Yes, I got the solution
I needed to use the following code before using
$ ionic serve
first, type
$ionic address
it will show
1)your IP-Address
2)localhost
select 1st option i.e. your IP-Address
and now, you can go with $ionic serve
its, working now.
Thanks All.

I'm trying to make a website but server won't start

I'm trying to make a website and when I start the use the command rails s it says this:
<code>
$ rails s
=> Booting WEBrick
=> Rails 4.2.5.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2016-04-15 15:19:20] INFO WEBrick 1.3.1
[2016-04-15 15:19:20] INFO ruby 2.2.4 (2015-12-16) [i386-mingw32]
[2016-04-15 15:19:20] INFO WEBrick::HTTPServer#start: pid=5892 port=3000
</code>
It doesn't go past that it just gets stuck on that i've port fowarded 3000 and added it to the firewalls exceptions list and still no go it works on my dads connection but not on mine.
These are the commands I use prior to entering rails:
s , rails new instagram_app , cd_instagramapp.
After run command "rails s". Just open a browser window and navigate to http://localhost:3000
Reference: http://guides.rubyonrails.org/getting_started.html#starting-up-the-web-server

Should I worry about DDMS console log messages "Can't bind to local nnnn for debugger"?

I'm new to Android programming (and Eclipse IDE and Android emulator). I've got Hello World and some of Notepad working, but I'm still constantly getting quite a few DDMS console log messages (shown below) about not being able to bind locals for debugger.
[2010-05-29 21:03:16 - ddms] Can't bind to local 8601 for debugger
[2010-05-29 21:05:26 - Device] Failed to delete temporary package: device (emulator-5556) request rejected: device not found
[2010-05-29 21:06:47 - ddms] Can't bind to local 8600 for debugger
[2010-05-29 21:07:05 - ddms] Can't bind to local 8601 for debugger
[2010-05-29 21:07:05 - ddms] Can't bind to local 8602 for debugger
And so on. Is this a problem? Can I get rid of these messages somehow?
In Eclipse, goto
1) Windows->Preference
2) Expand Android menu in the side of the Preference Window.
3) Now select DDMS from it.
4) Then Set the Base local debugger port to "8601" and enable "Use ADBHOST" checkbox and the ABDHOST value should be "127.0.0.1".
5) Click apply and ok.
6) Now you have to restart your ADB, for this you have to login as root user(Assuming linux user) and navigate to Platfrom tools folder of your Android SDK. Then execute,
./adb kill-server
./adb start-server
You will be able to see the message "Daemon started Successfully" . If not repeat step 6 once again until you see the success message.
You can get rid of the the messages by adding following to your hosts file:
127.0.0.1 localhost
ps. hosts file can be found from c:\windows\system32\drivers\etc\hosts
or if you are on linux /etc/hosts
In my situation the problem has been solved by a uninstalling all Java 7. The debugger is now working again!