nativescript / nativescript-schematics Goto Github PK
View Code? Open in Web Editor NEWnativescript, mobile, schematics, angular
License: Apache License 2.0
nativescript, mobile, schematics, angular
License: Apache License 2.0
From @juanchofelipe on August 30, 2018 16:14
I followed the instructions to migrate from a web page to code sharing, and when I execute: npm run android --bundle I get the following:
Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder.
Searching for devices...
Executing before-liveSync hook from C:\Ideas\Source\b2bAngular\hooks\before-liveSync\nativescript-angular-sync.js
Executing before-watchPatterns hook from C:\Ideas\Source\b2bAngular\hooks\before-watchPatterns\nativescript-dev-webpack.js
Executing before-watch hook from C:\Ideas\Source\b2bAngular\hooks\before-watch\nativescript-dev-webpack.js
Running webpack for Android...
clean-webpack-plugin: C:\Ideas\Source\b2bAngular\platforms\android\app\src\main\assets\app\**\* has been removed.
File change detected. Starting incremental webpack compilation...
Webpack is watching the files…
Hash: 91bd8cb32aacaecec9e5
Version: webpack 4.9.2
Time: 57167ms
Built at: 2018-08-30 13:06:10
Asset Size Chunks Chunk Names
assets/images/flight_companies/6N.png 800 bytes [emitted]
bundle.js 6.82 KiB bundle [emitted] bundle
App_Resources/Android/AndroidManifest.xml 1.36 KiB [emitted]
App_Resources/Android/app.gradle 483 bytes [emitted]
App_Resources/Android/drawable-hdpi/background.png 3.42 KiB [emitted]
App_Resources/Android/drawable-hdpi/icon.png 6.8 KiB [emitted]
App_Resources/Android/drawable-hdpi/logo.png 32.4 KiB [emitted]
App_Resources/Android/drawable-ldpi/background.png 1.31 KiB [emitted]
App_Resources/Android/drawable-ldpi/icon.png 3.23 KiB [emitted]
App_Resources/Android/drawable-ldpi/logo.png 9.95 KiB [emitted]
App_Resources/Android/drawable-mdpi/background.png 1.89 KiB [emitted]
App_Resources/Android/drawable-mdpi/icon.png 3.42 KiB [emitted]
App_Resources/Android/drawable-mdpi/logo.png 15.8 KiB [emitted]
App_Resources/Android/drawable-nodpi/splash_screen.xml 304 bytes [emitted]
App_Resources/Android/drawable-xhdpi/background.png 5.26 KiB [emitted]
App_Resources/Android/drawable-xhdpi/icon.png 10.4 KiB [emitted]
App_Resources/Android/drawable-xhdpi/logo.png 54 KiB [emitted]
App_Resources/Android/drawable-xxhdpi/background.png 10.3 KiB [emitted]
App_Resources/Android/drawable-xxhdpi/icon.png 20.3 KiB [emitted]
App_Resources/Android/drawable-xxhdpi/logo.png 116 KiB [emitted]
App_Resources/Android/drawable-xxxhdpi/background.png 3.87 KiB [emitted]
App_Resources/Android/drawable-xxxhdpi/icon.png 73.8 KiB [emitted]
App_Resources/Android/drawable-xxxhdpi/logo.png 193 KiB [emitted]
App_Resources/Android/values-v21/colors.xml 104 bytes [emitted]
App_Resources/Android/values-v21/styles.xml 902 bytes [emitted]
App_Resources/Android/values/colors.xml 237 bytes [emitted]
App_Resources/Android/values/styles.xml 1.68 KiB [emitted]
assets/images/amazon.jpg 17.6 KiB [emitted]
assets/images/avatar.jpg 8.62 KiB [emitted]
assets/images/banner_horizontal_exemplo.jpg 139 KiB [emitted]
assets/images/banner_vertical_direita.jpg 29.9 KiB [emitted]
assets/images/flight_companies/4U.jpg 18.7 KiB [emitted]
assets/images/flight_companies/BD.jpg 1.5 KiB [emitted]
assets/images/flight_companies/EK.jpg 22.2 KiB [emitted]
assets/images/flight_companies/F9.jpg 1 KiB [emitted]
assets/images/flight_companies/IG.jpg 1 KiB [emitted]
assets/images/flight_companies/JK.jpg 1 KiB [emitted]
assets/images/flight_companies/jl.jpg 3.75 KiB [emitted]
assets/images/flight_companies/KE.jpg 1 KiB [emitted]
assets/images/flight_companies/logo laser.jpg 79.2 KiB [emitted]
assets/images/flight_companies/logo_aserca.jpg 926 bytes [emitted]
assets/images/flight_companies/logo_avior.jpg 17.1 KiB [emitted]
assets/images/flight_companies/logo_conviasa.jpg 935 bytes [emitted]
assets/images/flight_companies/logo_rutaca.jpg 4.13 KiB [emitted]
assets/images/flight_companies/logo_sba.jpg 1 KiB [emitted]
assets/images/flight_companies/MS.jpg 1 KiB [emitted]
assets/images/flight_companies/my_assistance.jpg 9.64 KiB [emitted]
assets/images/flight_companies/nh.jpg 3.8 KiB [emitted]
assets/images/flight_companies/S4.jpg 1 KiB [emitted]
assets/images/flight_companies/SR.jpg 1 KiB [emitted]
assets/images/flight_companies/T0.jpg 17.5 KiB [emitted]
assets/images/flight_companies/TK.jpg 1 KiB [emitted]
assets/images/flight_companies/VN.jpg 1.5 KiB [emitted]
assets/images/flight_companies/XL.jpg 4 KiB [emitted]
assets/images/flight_companies/ZI.jpg 5.27 KiB [emitted]
assets/images/fundo.jpg 320 KiB [emitted]
assets/images/gallary/1.jpg 17.8 KiB [emitted]
assets/images/gallary/10.jpg 17.7 KiB [emitted]
assets/images/gallary/11.jpg 39 KiB [emitted]
assets/images/gallary/12.jpg 29.3 KiB [emitted]
assets/images/gallary/13.jpg 17.1 KiB [emitted]
assets/images/gallary/14.jpg 18.8 KiB [emitted]
assets/images/gallary/15.jpg 14.5 KiB [emitted]
assets/images/gallary/16.jpg 50.3 KiB [emitted]
assets/images/gallary/17.jpg 19.8 KiB [emitted]
assets/images/gallary/18.jpg 15.3 KiB [emitted]
assets/images/gallary/19.jpg 16.7 KiB [emitted]
assets/images/gallary/2.jpg 12.2 KiB [emitted]
assets/images/gallary/20.jpg 36 KiB [emitted]
assets/images/gallary/21.jpg 31.8 KiB [emitted]
assets/images/gallary/22.jpg 16.5 KiB [emitted]
assets/images/gallary/23.jpg 21.1 KiB [emitted]
assets/images/gallary/24.jpg 29 KiB [emitted]
assets/images/gallary/25.jpg 28.3 KiB [emitted]
assets/images/gallary/26.jpg 15.1 KiB [emitted]
assets/images/gallary/27.jpg 35.8 KiB [emitted]
assets/images/gallary/28.jpg 10.1 KiB [emitted]
assets/images/gallary/29.jpg 38.4 KiB [emitted]
assets/images/gallary/3.jpg 27.6 KiB [emitted]
assets/images/gallary/30.jpg 19.1 KiB [emitted]
assets/images/gallary/31.jpg 33.7 KiB [emitted]
assets/images/gallary/32.jpg 36.3 KiB [emitted]
assets/images/gallary/33.jpg 36.9 KiB [emitted]
assets/images/gallary/4.jpg 41.9 KiB [emitted]
assets/images/gallary/5.jpg 18.5 KiB [emitted]
assets/images/gallary/6.jpg 31.3 KiB [emitted]
assets/images/gallary/7.jpg 28.4 KiB [emitted]
assets/images/gallary/8.jpg 42.4 KiB [emitted]
assets/images/gallary/9.jpg 29.4 KiB [emitted]
assets/images/hoteis/disponibilidade_aereo_hotel_reserva.jpg 65.8 KiB [emitted]
assets/images/hoteis/hotel_1.jpg 249 KiB [emitted]
assets/images/hoteis/hotel_2.jpg 116 KiB [emitted]
assets/images/hoteis/hotel_3.jpg 104 KiB [emitted]
assets/images/hoteis/hotel_4.jpg 39.8 KiB [emitted]
assets/images/hoteis/hotel_5.jpg 54.1 KiB [emitted]
assets/images/img1.jpg 5.55 KiB [emitted]
assets/images/img2.jpg 6.19 KiB [emitted]
assets/images/img3.jpg 19.4 KiB [emitted]
assets/images/img4.jpg 18.8 KiB [emitted]
assets/images/img5.jpg 9.23 KiB [emitted]
assets/images/img6.jpg 9.21 KiB [emitted]
assets/images/img7.jpg 8.03 KiB [emitted]
assets/images/img8.jpg 7.84 KiB [emitted]
assets/images/logo-assistcard.jpg 23.4 KiB [emitted]
assets/images/office.jpg 155 KiB [emitted]
assets/images/sample-1.jpg 33.8 KiB [emitted]
assets/images/user-bg-simple.jpg 19.7 KiB [emitted]
assets/images/user-bg.jpg 33.8 KiB [emitted]
assets/images/user-profile-bg.jpg 44.8 KiB [emitted]
assets/images/0stops.png 273 bytes [emitted]
assets/images/1stop.png 1.03 KiB [emitted]
assets/images/1stops.png 1.03 KiB [emitted]
assets/images/2stops.png 1.12 KiB [emitted]
assets/images/3stops.png 1.31 KiB [emitted]
assets/images/4stops.png 1.4 KiB [emitted]
assets/images/applestore.png 2.65 KiB [emitted]
assets/images/arrival_flight.png 3.36 KiB [emitted]
assets/images/baggage/0P23K.png 562 bytes [emitted]
assets/images/baggage/1P23K.png 699 bytes [emitted]
assets/images/baggage/1P32K.png 694 bytes [emitted]
assets/images/baggage/2P23K.png 724 bytes [emitted]
assets/images/baggage/2P32K.png 726 bytes [emitted]
assets/images/baggage/3P23K.png 732 bytes [emitted]
assets/images/baggage/3P32K.png 735 bytes [emitted]
assets/images/carros/elantra.png 204 KiB [emitted]
assets/images/carros/etios.png 119 KiB [emitted]
assets/images/carros/polo.png 113 KiB [emitted]
assets/images/carros/up.png 126 KiB [emitted]
assets/images/cia.png 1.14 KiB [emitted]
assets/images/cia2.png 914 bytes [emitted]
assets/images/cias_carros/alamo.png 33.5 KiB [emitted]
assets/images/cias_carros/avis.png 25 KiB [emitted]
assets/images/cias_carros/hertz.png 49.2 KiB [emitted]
assets/images/cias_carros/localiza.png 27.1 KiB [emitted]
assets/images/cias_carros/movida.png 34.8 KiB [emitted]
assets/images/cias_carros/unidas.png 39.8 KiB [emitted]
assets/images/connected.png 259 bytes [emitted]
assets/images/departure_flight.png 3.71 KiB [emitted]
assets/images/disconnected.png 318 bytes [emitted]
assets/images/esferaturPLUS-w.png 20.9 KiB [emitted]
assets/images/Exemplo_Mapa_I.png 311 KiB [emitted]
assets/images/Exemplo_Mapa_II.png 68.7 KiB [emitted]
assets/images/favicon.png 15.6 KiB [emitted]
assets/images/favicon/apple-touch-icon-152x152.png 7.72 KiB [emitted]
assets/images/favicon/favicon-32x32.png 3.78 KiB [emitted]
assets/images/favicon/mstile-144x144.png 8.24 KiB [emitted]
assets/images/flag-icons/Abkhazia.png 485 bytes [emitted]
assets/images/flag-icons/Afghanistan.png 464 bytes [emitted]
assets/images/flag-icons/Aland.png 153 bytes [emitted]
assets/images/flag-icons/Albania.png 600 bytes [emitted]
assets/images/flag-icons/Algeria.png 374 bytes [emitted]
assets/images/flag-icons/American-Samoa.png 645 bytes [emitted]
assets/images/flag-icons/Andorra.png 524 bytes [emitted]
assets/images/flag-icons/Angola.png 520 bytes [emitted]
assets/images/flag-icons/Anguilla.png 745 bytes [emitted]
assets/images/flag-icons/Antarctica.png 662 bytes [emitted]
assets/images/flag-icons/Antigua-and-Barbuda.png 481 bytes [emitted]
assets/images/flag-icons/Argentina.png 283 bytes [emitted]
assets/images/flag-icons/Armenia.png 117 bytes [emitted]
assets/images/flag-icons/Aruba.png 341 bytes [emitted]
assets/images/flag-icons/Australia.png 565 bytes [emitted]
assets/images/flag-icons/Austria.png 123 bytes [emitted]
assets/images/flag-icons/Azerbaijan.png 409 bytes [emitted]
assets/images/flag-icons/Bahamas.png 274 bytes [emitted]
assets/images/flag-icons/Bahrain.png 189 bytes [emitted]
assets/images/flag-icons/Bangladesh.png 250 bytes [emitted]
assets/images/flag-icons/Barbados.png 273 bytes [emitted]
assets/images/flag-icons/Basque-Country.png 262 bytes [emitted]
assets/images/flag-icons/Belarus.png 316 bytes [emitted]
assets/images/flag-icons/Belgium.png 125 bytes [emitted]
assets/images/flag-icons/Belize.png 917 bytes [emitted]
assets/images/flag-icons/Benin.png 130 bytes [emitted]
assets/images/flag-icons/Bermuda.png 727 bytes [emitted]
assets/images/flag-icons/Bhutan.png 1010 bytes [emitted]
assets/images/flag-icons/Bolivia.png 360 bytes [emitted]
assets/images/flag-icons/Bosnia-and-Herzegovina.png 449 bytes [emitted]
assets/images/flag-icons/Botswana.png 129 bytes [emitted]
assets/images/flag-icons/Brazil.png 992 bytes [emitted]
assets/images/flag-icons/British-Antarctic-Territory.png 998 bytes [emitted]
assets/images/flag-icons/British-Virgin-Islands.png 844 bytes [emitted]
assets/images/flag-icons/Brunei.png 1.04 KiB [emitted]
assets/images/flag-icons/Bulgaria.png 123 bytes [emitted]
assets/images/flag-icons/Burkina-Faso.png 243 bytes [emitted]
assets/images/flag-icons/Burundi.png 614 bytes [emitted]
assets/images/flag-icons/Cambodia.png 549 bytes [emitted]
assets/images/flag-icons/Cameroon.png 224 bytes [emitted]
assets/images/flag-icons/Canada.png 253 bytes [emitted]
assets/images/flag-icons/Canary-Islands.png 295 bytes [emitted]
assets/images/flag-icons/Cape-Verde.png 195 bytes [emitted]
assets/images/flag-icons/Cayman-Islands.png 757 bytes [emitted]
assets/images/flag-icons/Central-African-Republic.png 214 bytes [emitted]
assets/images/flag-icons/Chad.png 128 bytes [emitted]
assets/images/flag-icons/Chile.png 186 bytes [emitted]
assets/images/flag-icons/China.png 489 bytes [emitted]
assets/images/flag-icons/Christmas-Island.png 704 bytes [emitted]
assets/images/flag-icons/Cocos-Keeling-Islands.png 501 bytes [emitted]
assets/images/flag-icons/Colombia.png 122 bytes [emitted]
assets/images/flag-icons/Commonwealth.png 859 bytes [emitted]
assets/images/flag-icons/Comoros.png 401 bytes [emitted]
assets/images/flag-icons/Cook-Islands.png 898 bytes [emitted]
assets/images/flag-icons/Costa-Rica.png 129 bytes [emitted]
assets/images/flag-icons/Cote-dIvoire.png 120 bytes [emitted]
assets/images/flag-icons/Croatia.png 511 bytes [emitted]
assets/images/flag-icons/Cuba.png 334 bytes [emitted]
assets/images/flag-icons/Curacao.png 262 bytes [emitted]
assets/images/flag-icons/Cyprus.png 553 bytes [emitted]
assets/images/flag-icons/Czech-Republic.png 237 bytes [emitted]
assets/images/flag-icons/Democratic-Republic-of-the-Congo.png 297 bytes [emitted]
assets/images/flag-icons/Denmark.png 128 bytes [emitted]
assets/images/flag-icons/Djibouti.png 345 bytes [emitted]
assets/images/flag-icons/Dominica.png 631 bytes [emitted]
assets/images/flag-icons/Dominican-Republic.png 252 bytes [emitted]
assets/images/flag-icons/East-Timor.png 503 bytes [emitted]
assets/images/flag-icons/Ecuador.png 462 bytes [emitted]
assets/images/flag-icons/Egypt.png 307 bytes [emitted]
assets/images/flag-icons/El-Salvador.png 333 bytes [emitted]
assets/images/flag-icons/England.png 122 bytes [emitted]
assets/images/flag-icons/Equatorial-Guinea.png 487 bytes [emitted]
assets/images/flag-icons/Eritrea.png 708 bytes [emitted]
assets/images/flag-icons/Estonia.png 117 bytes [emitted]
assets/images/flag-icons/Ethiopia.png 869 bytes [emitted]
assets/images/flag-icons/European-Union.png 604 bytes [emitted]
assets/images/flag-icons/Falkland-Islands.png 771 bytes [emitted]
assets/images/flag-icons/Faroes.png 143 bytes [emitted]
assets/images/flag-icons/Fiji.png 923 bytes [emitted]
assets/images/flag-icons/Finland.png 125 bytes [emitted]
assets/images/flag-icons/France.png 123 bytes [emitted]
assets/images/flag-icons/French-Polynesia.png 371 bytes [emitted]
assets/images/flag-icons/French-Southern-Territories.png 414 bytes [emitted]
assets/images/flag-icons/Gabon.png 129 bytes [emitted]
assets/images/flag-icons/Gambia.png 138 bytes [emitted]
assets/images/flag-icons/Georgia.png 148 bytes [emitted]
assets/images/flag-icons/Germany.png 117 bytes [emitted]
assets/images/flag-icons/Ghana.png 219 bytes [emitted]
assets/images/flag-icons/Gibraltar.png 498 bytes [emitted]
assets/images/flag-icons/GoSquared.png 363 bytes [emitted]
assets/images/flag-icons/Greece.png 168 bytes [emitted]
assets/images/flag-icons/Greenland.png 286 bytes [emitted]
assets/images/flag-icons/Grenada.png 646 bytes [emitted]
assets/images/flag-icons/Guam.png 471 bytes [emitted]
assets/images/flag-icons/Guatemala.png 317 bytes [emitted]
assets/images/flag-icons/Guernsey.png 161 bytes [emitted]
assets/images/flag-icons/Guinea-Bissau.png 193 bytes [emitted]
assets/images/flag-icons/Guinea.png 128 bytes [emitted]
assets/images/flag-icons/Guyana.png 410 bytes [emitted]
assets/images/flag-icons/Haiti.png 290 bytes [emitted]
assets/images/flag-icons/Honduras.png 283 bytes [emitted]
assets/images/flag-icons/Hong-Kong.png 620 bytes [emitted]
assets/images/flag-icons/Hungary.png 125 bytes [emitted]
assets/images/flag-icons/Iceland.png 146 bytes [emitted]
assets/images/flag-icons/India.png 301 bytes [emitted]
assets/images/flag-icons/Indonesia.png 118 bytes [emitted]
assets/images/flag-icons/Iran.png 700 bytes [emitted]
assets/images/flag-icons/Iraq.png 426 bytes [emitted]
assets/images/flag-icons/Ireland.png 119 bytes [emitted]
assets/images/flag-icons/Isle-of-Man.png 629 bytes [emitted]
assets/images/flag-icons/Israel.png 325 bytes [emitted]
assets/images/flag-icons/Italy.png 123 bytes [emitted]
assets/images/flag-icons/Jamaica.png 424 bytes [emitted]
assets/images/flag-icons/Japan.png 211 bytes [emitted]
assets/images/flag-icons/Jersey.png 483 bytes [emitted]
assets/images/flag-icons/Jordan.png 297 bytes [emitted]
assets/images/flag-icons/Kazakhstan.png 845 bytes [emitted]
assets/images/flag-icons/Kenya.png 449 bytes [emitted]
assets/images/flag-icons/Kiribati.png 1.05 KiB [emitted]
assets/images/flag-icons/Kosovo.png 791 bytes [emitted]
assets/images/flag-icons/Kuwait.png 262 bytes [emitted]
assets/images/flag-icons/Kyrgyzstan.png 762 bytes [emitted]
assets/images/flag-icons/Laos.png 193 bytes [emitted]
assets/images/flag-icons/Latvia.png 118 bytes [emitted]
assets/images/flag-icons/Lebanon.png 447 bytes [emitted]
assets/images/flag-icons/Lesotho.png 261 bytes [emitted]
assets/images/flag-icons/Liberia.png 204 bytes [emitted]
assets/images/flag-icons/Libya.png 280 bytes [emitted]
assets/images/flag-icons/Liechtenstein.png 363 bytes [emitted]
assets/images/flag-icons/Lithuania.png 128 bytes [emitted]
assets/images/flag-icons/Luxembourg.png 125 bytes [emitted]
assets/images/flag-icons/Macau.png 813 bytes [emitted]
assets/images/flag-icons/Macedonia.png 628 bytes [emitted]
assets/images/flag-icons/Madagascar.png 124 bytes [emitted]
assets/images/flag-icons/Malawi.png 346 bytes [emitted]
assets/images/flag-icons/Malaysia.png 329 bytes [emitted]
assets/images/flag-icons/Maldives.png 234 bytes [emitted]
assets/images/flag-icons/Mali.png 128 bytes [emitted]
assets/images/flag-icons/Malta.png 287 bytes [emitted]
assets/images/flag-icons/Mars.png 129 bytes [emitted]
assets/images/flag-icons/Marshall-Islands.png 563 bytes [emitted]
assets/images/flag-icons/Martinique.png 304 bytes [emitted]
assets/images/flag-icons/Mauritania.png 358 bytes [emitted]
assets/images/flag-icons/Mauritius.png 138 bytes [emitted]
assets/images/flag-icons/Mayotte.png 1.04 KiB [emitted]
assets/images/flag-icons/Mexico.png 341 bytes [emitted]
assets/images/flag-icons/Micronesia.png 308 bytes [emitted]
assets/images/flag-icons/Moldova.png 386 bytes [emitted]
assets/images/flag-icons/Monaco.png 118 bytes [emitted]
assets/images/flag-icons/Mongolia.png 451 bytes [emitted]
assets/images/flag-icons/Montenegro.png 632 bytes [emitted]
assets/images/flag-icons/Montserrat.png 787 bytes [emitted]
assets/images/flag-icons/Morocco.png 540 bytes [emitted]
assets/images/flag-icons/Mozambique.png 585 bytes [emitted]
assets/images/flag-icons/Myanmar.png 369 bytes [emitted]
assets/images/flag-icons/Nagorno-Karabakh.png 158 bytes [emitted]
assets/images/flag-icons/Namibia.png 362 bytes [emitted]
assets/images/flag-icons/NATO.png 567 bytes [emitted]
assets/images/flag-icons/Nauru.png 258 bytes [emitted]
assets/images/flag-icons/Nepal.png 664 bytes [emitted]
assets/images/flag-icons/Netherlands-Antilles.png 238 bytes [emitted]
assets/images/flag-icons/Netherlands.png 126 bytes [emitted]
assets/images/flag-icons/New-Caledonia.png 518 bytes [emitted]
assets/images/flag-icons/New-Zealand.png 460 bytes [emitted]
assets/images/flag-icons/Nicaragua.png 320 bytes [emitted]
assets/images/flag-icons/Niger.png 220 bytes [emitted]
assets/images/flag-icons/Nigeria.png 118 bytes [emitted]
assets/images/flag-icons/Niue.png 551 bytes [emitted]
assets/images/flag-icons/Norfolk-Island.png 623 bytes [emitted]
assets/images/flag-icons/North-Korea.png 295 bytes [emitted]
assets/images/flag-icons/Northern-Cyprus.png 300 bytes [emitted]
assets/images/flag-icons/Northern-Mariana-Islands.png 1.13 KiB [emitted]
assets/images/flag-icons/Norway.png 146 bytes [emitted]
assets/images/flag-icons/Olympics.png 789 bytes [emitted]
assets/images/flag-icons/Oman.png 326 bytes [emitted]
assets/images/flag-icons/Pakistan.png 552 bytes [emitted]
assets/images/flag-icons/Palau.png 249 bytes [emitted]
assets/images/flag-icons/Palestine.png 208 bytes [emitted]
assets/images/flag-icons/Panama.png 249 bytes [emitted]
assets/images/flag-icons/Papua-New-Guinea.png 786 bytes [emitted]
assets/images/flag-icons/Paraguay.png 322 bytes [emitted]
assets/images/flag-icons/Peru.png 120 bytes [emitted]
assets/images/flag-icons/Philippines.png 621 bytes [emitted]
assets/images/flag-icons/Pitcairn-Islands.png 1000 bytes [emitted]
assets/images/flag-icons/Poland.png 121 bytes [emitted]
assets/images/flag-icons/Portugal.png 605 bytes [emitted]
assets/images/flag-icons/Puerto-Rico.png 334 bytes [emitted]
assets/images/flag-icons/Qatar.png 463 bytes [emitted]
assets/images/flag-icons/Red-Cross.png 124 bytes [emitted]
assets/images/flag-icons/Republic-of-the-Congo.png 207 bytes [emitted]
assets/images/flag-icons/Romania.png 127 bytes [emitted]
assets/images/flag-icons/Russia.png 113 bytes [emitted]
assets/images/flag-icons/Rwanda.png 210 bytes [emitted]
assets/images/flag-icons/Saint-Barthelemy.png 1.48 KiB [emitted]
assets/images/flag-icons/Saint-Helena.png 745 bytes [emitted]
assets/images/flag-icons/Saint-Kitts-and-Nevis.png 377 bytes [emitted]
assets/images/flag-icons/Saint-Lucia.png 370 bytes [emitted]
assets/images/flag-icons/Saint-Martin.png 241 bytes [emitted]
assets/images/flag-icons/Saint-Vincent-and-the-Grenadines.png 318 bytes [emitted]
assets/images/flag-icons/Samoa.png 359 bytes [emitted]
assets/images/flag-icons/San-Marino.png 551 bytes [emitted]
assets/images/flag-icons/Sao-Tome-and-Principe.png 277 bytes [emitted]
assets/images/flag-icons/Saudi-Arabia.png 883 bytes [emitted]
assets/images/flag-icons/Scotland.png 349 bytes [emitted]
assets/images/flag-icons/Senegal.png 184 bytes [emitted]
assets/images/flag-icons/Serbia.png 593 bytes [emitted]
assets/images/flag-icons/Seychelles.png 518 bytes [emitted]
assets/images/flag-icons/Sierra-Leone.png 125 bytes [emitted]
assets/images/flag-icons/Singapore.png 425 bytes [emitted]
assets/images/flag-icons/Slovakia.png 313 bytes [emitted]
assets/images/flag-icons/Slovenia.png 313 bytes [emitted]
assets/images/flag-icons/Solomon-Islands.png 383 bytes [emitted]
assets/images/flag-icons/Somalia.png 262 bytes [emitted]
assets/images/flag-icons/Somaliland.png 599 bytes [emitted]
assets/images/flag-icons/South-Africa.png 386 bytes [emitted]
assets/images/flag-icons/South-Georgia-and-the-South-Sandwich-Islands.png 1.07 KiB [emitted]
assets/images/flag-icons/South-Korea.png 888 bytes [emitted]
assets/images/flag-icons/South-Ossetia.png 117 bytes [emitted]
assets/images/flag-icons/South-Sudan.png 404 bytes [emitted]
assets/images/flag-icons/Spain.png 410 bytes [emitted]
assets/images/flag-icons/Sri-Lanka.png 957 bytes [emitted]
assets/images/flag-icons/Sudan.png 315 bytes [emitted]
assets/images/flag-icons/Suriname.png 230 bytes [emitted]
assets/images/flag-icons/Swaziland.png 801 bytes [emitted]
assets/images/flag-icons/Sweden.png 131 bytes [emitted]
assets/images/flag-icons/Switzerland.png 120 bytes [emitted]
assets/images/flag-icons/Syria.png 207 bytes [emitted]
assets/images/flag-icons/Taiwan.png 279 bytes [emitted]
assets/images/flag-icons/Tajikistan.png 284 bytes [emitted]
assets/images/flag-icons/Tanzania.png 285 bytes [emitted]
assets/images/flag-icons/Thailand.png 129 bytes [emitted]
assets/images/flag-icons/Togo.png 245 bytes [emitted]
assets/images/flag-icons/Tokelau.png 478 bytes [emitted]
assets/images/flag-icons/Tonga.png 133 bytes [emitted]
assets/images/flag-icons/Trinidad-and-Tobago.png 208 bytes [emitted]
assets/images/flag-icons/Tunisia.png 615 bytes [emitted]
assets/images/flag-icons/Turkey.png 358 bytes [emitted]
assets/images/flag-icons/Turkmenistan.png 833 bytes [emitted]
assets/images/flag-icons/Turks-and-Caicos-Islands.png 784 bytes [emitted]
assets/images/flag-icons/Tuvalu.png 906 bytes [emitted]
assets/images/flag-icons/Uganda.png 267 bytes [emitted]
assets/images/flag-icons/Ukraine.png 120 bytes [emitted]
assets/images/flag-icons/United-Arab-Emirates.png 126 bytes [emitted]
assets/images/flag-icons/United-Kingdom.png 513 bytes [emitted]
assets/images/flag-icons/United-Nations.png 764 bytes [emitted]
assets/images/flag-icons/United-States.png 156 bytes [emitted]
assets/images/flag-icons/Unknown.png 253 bytes [emitted]
assets/images/flag-icons/Uruguay.png 376 bytes [emitted]
assets/images/flag-icons/US-Virgin-Islands.png 1.25 KiB [emitted]
assets/images/flag-icons/Uzbekistan.png 370 bytes [emitted]
assets/images/flag-icons/Vanuatu.png 592 bytes [emitted]
assets/images/flag-icons/Vatican-City.png 331 bytes [emitted]
assets/images/flag-icons/Venezuela.png 567 bytes [emitted]
assets/images/flag-icons/Vietnam.png 264 bytes [emitted]
assets/images/flag-icons/Wales.png 1.38 KiB [emitted]
assets/images/flag-icons/Wallis-And-Futuna.png 233 bytes [emitted]
assets/images/flag-icons/Western-Sahara.png 397 bytes [emitted]
assets/images/flag-icons/Yemen.png 123 bytes [emitted]
assets/images/flag-icons/Zambia.png 340 bytes [emitted]
assets/images/flag-icons/Zimbabwe.png 589 bytes [emitted]
assets/images/flight_companies/2D.png 788 bytes [emitted]
assets/images/flight_companies/2K.png 1.18 KiB [emitted]
assets/images/flight_companies/2R.png 404 bytes [emitted]
assets/images/flight_companies/2T.png 922 bytes [emitted]
assets/images/flight_companies/2Z.png 426 bytes [emitted]
assets/images/flight_companies/3C.png 254 bytes [emitted]
assets/images/flight_companies/3R.png 948 bytes [emitted]
assets/images/flight_companies/4C.png 636 bytes [emitted]
assets/images/flight_companies/4M.png 618 bytes [emitted]
assets/images/flight_companies/4O.png 1.09 KiB [emitted]
assets/images/flight_companies/4U.png 1.48 KiB [emitted]
assets/images/flight_companies/5J.png 830 bytes [emitted]
assets/images/flight_companies/5L.png 473 bytes [emitted]
assets/images/flight_companies/5P.png 1.04 KiB [emitted]
assets/images/flight_companies/5Q.png 1010 bytes [emitted]
assets/images/flight_companies/5U.png 917 bytes [emitted]
assets/images/flight_companies/6A.png 996 bytes [emitted]
assets/images/flight_companies/6H.png 608 bytes [emitted]
vendor.js 1.26 MiB vendor [emitted] vendor
assets/images/flight_companies/6Y.png 912 bytes [emitted]
assets/images/flight_companies/7D.png 1.19 KiB [emitted]
assets/images/flight_companies/7P.png 1.44 KiB [emitted]
assets/images/flight_companies/8P.png 440 bytes [emitted]
assets/images/flight_companies/9C.png 576 bytes [emitted]
assets/images/flight_companies/9F.png 717 bytes [emitted]
assets/images/flight_companies/9H.png 846 bytes [emitted]
assets/images/flight_companies/9K.png 442 bytes [emitted]
assets/images/flight_companies/9R.png 1.46 KiB [emitted]
assets/images/flight_companies/9U.png 675 bytes [emitted]
assets/images/flight_companies/9V.png 722 bytes [emitted]
assets/images/flight_companies/9W.png 640 bytes [emitted]
assets/images/flight_companies/A3.png 971 bytes [emitted]
assets/images/flight_companies/A4.png 786 bytes [emitted]
assets/images/flight_companies/A7.png 923 bytes [emitted]
assets/images/flight_companies/A8.png 709 bytes [emitted]
assets/images/flight_companies/A9.png 976 bytes [emitted]
assets/images/flight_companies/AA.png 4.37 KiB [emitted]
assets/images/flight_companies/AB.png 952 bytes [emitted]
assets/images/flight_companies/AC.png 777 bytes [emitted]
assets/images/flight_companies/AD.png 50.7 KiB [emitted]
assets/images/flight_companies/AE.png 1010 bytes [emitted]
assets/images/flight_companies/aeromexico.png 326 bytes [emitted]
assets/images/flight_companies/AF - airfrance.png 2.77 KiB [emitted]
assets/images/flight_companies/AF.png 609 bytes [emitted]
assets/images/flight_companies/AI.png 723 bytes [emitted]
assets/images/flight_companies/airfrance.png 279 bytes [emitted]
assets/images/flight_companies/AirTran-Airways.png 931 bytes [emitted]
assets/images/flight_companies/AM.png 522 bytes [emitted]
assets/images/flight_companies/Amadeus.png 5.78 KiB [emitted]
assets/images/flight_companies/AN.png 1.18 KiB [emitted]
assets/images/flight_companies/AP.png 865 bytes [emitted]
assets/images/flight_companies/AR.png 406 bytes [emitted]
assets/images/flight_companies/AS.png 400 bytes [emitted]
assets/images/flight_companies/AST.png 49.4 KiB [emitted]
assets/images/flight_companies/AT.png 504 bytes [emitted]
assets/images/flight_companies/AU.png 709 bytes [emitted]
assets/images/flight_companies/AV - avianca.png 890 bytes [emitted]
assets/images/flight_companies/AV.png 443 bytes [emitted]
assets/images/flight_companies/avianca.png 443 bytes [emitted]
assets/images/flight_companies/AY - Copy.png 809 bytes [emitted]
assets/images/flight_companies/AY.png 809 bytes [emitted]
assets/images/flight_companies/AZ.png 633 bytes [emitted]
assets/images/flight_companies/B3.png 1010 bytes [emitted]
assets/images/flight_companies/B6.png 507 bytes [emitted]
assets/images/flight_companies/BA - britishairways.png 3.26 KiB [emitted]
assets/images/flight_companies/BA.png 238 bytes [emitted]
assets/images/flight_companies/BD.png 1.25 KiB [emitted]
assets/images/flight_companies/BE.png 1.27 KiB [emitted]
assets/images/flight_companies/BI.png 1010 bytes [emitted]
assets/images/flight_companies/BJ.png 810 bytes [emitted]
assets/images/flight_companies/BM.png 774 bytes [emitted]
assets/images/flight_companies/BQ.png 969 bytes [emitted]
assets/images/flight_companies/BR.png 1.15 KiB [emitted]
assets/images/flight_companies/BU.png 657 bytes [emitted]
assets/images/flight_companies/BV.png 668 bytes [emitted]
assets/images/flight_companies/BW.png 1.03 KiB [emitted]
assets/images/flight_companies/C4.png 479 bytes [emitted]
assets/images/flight_companies/C6.png 799 bytes [emitted]
assets/images/flight_companies/CA.png 753 bytes [emitted]
assets/images/flight_companies/CH.png 783 bytes [emitted]
assets/images/flight_companies/CI.png 1.11 KiB [emitted]
assets/images/flight_companies/cia_bra.png 379 bytes [emitted]
assets/images/flight_companies/CM.png 1.38 KiB [emitted]
assets/images/flight_companies/CO.png 930 bytes [emitted]
assets/images/flight_companies/CP.png 534 bytes [emitted]
assets/images/flight_companies/CS.png 529 bytes [emitted]
assets/images/flight_companies/CU.png 917 bytes [emitted]
assets/images/flight_companies/CX.png 810 bytes [emitted]
assets/images/flight_companies/CZ.png 1.13 KiB [emitted]
assets/images/flight_companies/D7.png 370 bytes [emitted]
assets/images/flight_companies/DE.png 3.67 KiB [emitted]
assets/images/flight_companies/DH.png 664 bytes [emitted]
assets/images/flight_companies/DJ.png 967 bytes [emitted]
assets/images/flight_companies/DL.png 669 bytes [emitted]
assets/images/flight_companies/DT.png 1.8 KiB [emitted]
assets/images/flight_companies/EB.png 654 bytes [emitted]
assets/images/flight_companies/EF.png 378 KiB [emitted]
assets/images/flight_companies/EH.png 578 bytes [emitted]
assets/images/flight_companies/EI.png 673 bytes [emitted]
assets/images/flight_companies/EK-Emirates.png 409 bytes [emitted]
assets/images/flight_companies/EK.png 1.03 KiB [emitted]
assets/images/flight_companies/EN.png 601 bytes [emitted]
assets/images/flight_companies/EQ.png 833 bytes [emitted]
assets/images/flight_companies/ER.png 816 bytes [emitted]
assets/images/flight_companies/ET.png 3.51 KiB [emitted]
assets/images/flight_companies/EW.png 832 bytes [emitted]
assets/images/flight_companies/EX.png 562 bytes [emitted]
assets/images/flight_companies/EY.png 452 bytes [emitted]
assets/images/flight_companies/F8.png 1.1 KiB [emitted]
assets/images/flight_companies/F9.png 386 bytes [emitted]
assets/images/flight_companies/FC.png 45.7 KiB [emitted]
assets/images/flight_companies/FF.png 746 bytes [emitted]
assets/images/flight_companies/FI.png 739 bytes [emitted]
assets/images/flight_companies/FJ.png 1 KiB [emitted]
assets/images/flight_companies/FL - AirTran Arwys.png 3.36 KiB [emitted]
assets/images/flight_companies/FL.png 585 bytes [emitted]
assets/images/flight_companies/FM.png 819 bytes [emitted]
assets/images/flight_companies/FQ.png 910 bytes [emitted]
assets/images/flight_companies/FT.png 732 bytes [emitted]
assets/images/flight_companies/FU.png 982 bytes [emitted]
assets/images/flight_companies/G3.png 2.05 KiB [emitted]
assets/images/flight_companies/G32.png 973 bytes [emitted]
assets/images/flight_companies/G7.png 1.04 KiB [emitted]
assets/images/flight_companies/GA.png 663 bytes [emitted]
assets/images/flight_companies/galileoViewTrip_logo.png 4.57 KiB [emitted]
assets/images/flight_companies/GF.png 665 bytes [emitted]
assets/images/flight_companies/GH.png 716 bytes [emitted]
assets/images/flight_companies/GJ.png 417 bytes [emitted]
assets/images/flight_companies/GL.png 533 bytes [emitted]
assets/images/flight_companies/GP.png 740 bytes [emitted]
assets/images/flight_companies/GS.png 1.06 KiB [emitted]
assets/images/flight_companies/GU.png 1.03 KiB [emitted]
assets/images/flight_companies/H2.png 906 bytes [emitted]
assets/images/flight_companies/HA.png 1.39 KiB [emitted]
assets/images/flight_companies/HF.png 697 bytes [emitted]
assets/images/flight_companies/HP.png 765 bytes [emitted]
assets/images/flight_companies/HR.png 1.15 KiB [emitted]
assets/images/flight_companies/HV.png 1.11 KiB [emitted]
assets/images/flight_companies/IB.png 772 bytes [emitted]
assets/images/flight_companies/IC.png 619 bytes [emitted]
assets/images/flight_companies/IG.png 836 bytes [emitted]
assets/images/flight_companies/IJ.png 989 bytes [emitted]
assets/images/flight_companies/IR.png 503 bytes [emitted]
assets/images/flight_companies/IW.png 1.02 KiB [emitted]
assets/images/flight_companies/IY.png 780 bytes [emitted]
assets/images/flight_companies/JC.png 3.19 KiB [emitted]
assets/images/flight_companies/JD.png 765 bytes [emitted]
assets/images/flight_companies/JF.png 1.79 KiB [emitted]
assets/images/flight_companies/JH.png 606 bytes [emitted]
assets/images/flight_companies/JI.png 644 bytes [emitted]
assets/images/flight_companies/JJ_old.png 297 bytes [emitted]
assets/images/flight_companies/JJ-TAM.png 725 bytes [emitted]
assets/images/flight_companies/JJ.png 1.54 KiB [emitted]
assets/images/flight_companies/JJ2 (2).png 2.07 KiB [emitted]
assets/images/flight_companies/JJ2.png 782 bytes [emitted]
assets/images/flight_companies/JJsss.png 297 bytes [emitted]
assets/images/flight_companies/JK.png 1.15 KiB [emitted]
assets/images/flight_companies/JL.png 890 bytes [emitted]
assets/images/flight_companies/JM.png 1.11 KiB [emitted]
assets/images/flight_companies/JQ.png 553 bytes [emitted]
assets/images/flight_companies/JR.png 889 bytes [emitted]
assets/images/flight_companies/JU.png 489 bytes [emitted]
assets/images/flight_companies/JY.png 662 bytes [emitted]
assets/images/flight_companies/KA.png 721 bytes [emitted]
assets/images/flight_companies/KE.png 1.21 KiB [emitted]
assets/images/flight_companies/KL.png 659 bytes [emitted]
assets/images/flight_companies/KM.png 770 bytes [emitted]
assets/images/flight_companies/KQ.png 696 bytes [emitted]
assets/images/flight_companies/KU.png 410 bytes [emitted]
assets/images/flight_companies/KX.png 1.16 KiB [emitted]
assets/images/flight_companies/L7.png 473 bytes [emitted]
assets/images/flight_companies/LA - lan.png 628 bytes [emitted]
assets/images/flight_companies/LA.png 17.3 KiB [emitted]
assets/images/flight_companies/lan-peru.png 363 bytes [emitted]
assets/images/flight_companies/latam.png 17.3 KiB [emitted]
assets/images/flight_companies/LB.png 497 bytes [emitted]
assets/images/flight_companies/LC.png 1.04 KiB [emitted]
assets/images/flight_companies/LD.png 633 bytes [emitted]
assets/images/flight_companies/LG.png 620 bytes [emitted]
assets/images/flight_companies/LH - lufthansa.png 3.55 KiB [emitted]
assets/images/flight_companies/LH.png 701 bytes [emitted]
assets/images/flight_companies/LL.png 857 bytes [emitted]
assets/images/flight_companies/LM.png 874 bytes [emitted]
assets/images/flight_companies/LO.png 454 bytes [emitted]
assets/images/flight_companies/logo_aerolineas.png 791 bytes [emitted]
assets/images/flight_companies/logo_aeropostal.png 24 KiB [emitted]
assets/images/flight_companies/logo_air-canada.png 610 bytes [emitted]
assets/images/flight_companies/logo_bra.png 612 bytes [emitted]
assets/images/flight_companies/logo_british.png 680 bytes [emitted]
assets/images/flight_companies/logo_copa.png 740 bytes [emitted]
assets/images/flight_companies/logo_delta.png 786 bytes [emitted]
assets/images/flight_companies/logo_gol.png 595 bytes [emitted]
assets/images/flight_companies/logo_iberia.png 735 bytes [emitted]
assets/images/flight_companies/logo_lan.png 626 bytes [emitted]
assets/images/flight_companies/logo_varig.png 592 bytes [emitted]
assets/images/flight_companies/LP.png 636 bytes [emitted]
assets/images/flight_companies/LR - lacsa.png 3.73 KiB [emitted]
assets/images/flight_companies/LR.png 615 bytes [emitted]
assets/images/flight_companies/LU.png 534 bytes [emitted]
assets/images/flight_companies/LW.png 633 bytes [emitted]
assets/images/flight_companies/LX.png 703 bytes [emitted]
assets/images/flight_companies/LY.png 732 bytes [emitted]
assets/images/flight_companies/M1.png 2.18 KiB [emitted]
assets/images/flight_companies/MA.png 947 bytes [emitted]
assets/images/flight_companies/MC.png 1.03 KiB [emitted]
assets/images/flight_companies/MD.png 733 bytes [emitted]
assets/images/flight_companies/ME.png 644 bytes [emitted]
assets/images/flight_companies/MH.png 823 bytes [emitted]
assets/images/flight_companies/MI.png 829 bytes [emitted]
assets/images/flight_companies/MJ.png 517 bytes [emitted]
assets/images/flight_companies/MK.png 414 bytes [emitted]
assets/images/flight_companies/ML.png 1010 bytes [emitted]
assets/images/flight_companies/MM.png 968 bytes [emitted]
assets/images/flight_companies/MP.png 609 bytes [emitted]
assets/images/flight_companies/MS.png 592 bytes [emitted]
assets/images/flight_companies/MU.png 3.79 KiB [emitted]
assets/images/flight_companies/MX.png 505 bytes [emitted]
assets/images/flight_companies/N2.png 1000 bytes [emitted]
assets/images/flight_companies/N6.png 929 bytes [emitted]
assets/images/flight_companies/N7.png 385 bytes [emitted]
assets/images/flight_companies/NF.png 849 bytes [emitted]
assets/images/flight_companies/NG.png 911 bytes [emitted]
assets/images/flight_companies/NH.png 522 bytes [emitted]
assets/images/flight_companies/NJ.png 709 bytes [emitted]
assets/images/flight_companies/NK.png 557 bytes [emitted]
assets/images/flight_companies/NM.png 416 bytes [emitted]
assets/images/flight_companies/NT.png 809 bytes [emitted]
assets/images/flight_companies/NU.png 775 bytes [emitted]
assets/images/flight_companies/NW - northwest.png 3.44 KiB [emitted]
assets/images/flight_companies/NW.png 680 bytes [emitted]
assets/images/flight_companies/NX.png 776 bytes [emitted]
assets/images/flight_companies/NZ.png 551 bytes [emitted]
assets/images/flight_companies/O6.png 1.06 KiB [emitted]
assets/images/flight_companies/OA.png 1.13 KiB [emitted]
assets/images/flight_companies/OB.png 1.26 KiB [emitted]
assets/images/flight_companies/OK.png 654 bytes [emitted]
assets/images/flight_companies/OM.png 518 bytes [emitted]
assets/images/flight_companies/OS.png 816 bytes [emitted]
assets/images/flight_companies/OY.png 855 bytes [emitted]
assets/images/flight_companies/OZ.png 506 bytes [emitted]
assets/images/flight_companies/P3.png 426 bytes [emitted]
assets/images/flight_companies/P5.png 830 bytes [emitted]
assets/images/flight_companies/P8.png 794 bytes [emitted]
assets/images/flight_companies/P9.png 626 bytes [emitted]
assets/images/flight_companies/PC.png 973 bytes [emitted]
assets/images/flight_companies/PE.png 876 bytes [emitted]
assets/images/flight_companies/PG.png 753 bytes [emitted]
assets/images/flight_companies/PI.png 688 bytes [emitted]
assets/images/flight_companies/PK.png 522 bytes [emitted]
assets/images/flight_companies/PL.png 801 bytes [emitted]
assets/images/flight_companies/PR.png 875 bytes [emitted]
assets/images/flight_companies/PS.png 1.06 KiB [emitted]
assets/images/flight_companies/PU.png 584 bytes [emitted]
assets/images/flight_companies/PY.png 755 bytes [emitted]
assets/images/flight_companies/PZ.png 782 bytes [emitted]
assets/images/flight_companies/QA.png 364 bytes [emitted]
assets/images/flight_companies/QD.png 522 bytes [emitted]
assets/images/flight_companies/QF.png 1020 bytes [emitted]
assets/images/flight_companies/QQ.png 751 bytes [emitted]
assets/images/flight_companies/QR.png 1.03 KiB [emitted]
assets/images/flight_companies/R7.png 761 bytes [emitted]
assets/images/flight_companies/RA.png 944 bytes [emitted]
assets/images/flight_companies/RB.png 591 bytes [emitted]
assets/images/flight_companies/RG.png 618 bytes [emitted]
assets/images/flight_companies/RJ.png 758 bytes [emitted]
assets/images/flight_companies/RM.png 826 bytes [emitted]
assets/images/flight_companies/RO.png 918 bytes [emitted]
assets/images/flight_companies/RZ.png 897 bytes [emitted]
assets/images/flight_companies/S2.png 610 bytes [emitted]
assets/images/flight_companies/S3.png 1.64 KiB [emitted]
assets/images/flight_companies/S4.png 943 bytes [emitted]
assets/images/flight_companies/S5.png 524 bytes [emitted]
assets/images/flight_companies/S7.png 854 bytes [emitted]
assets/images/flight_companies/SA.png 1.31 KiB [emitted]
assets/images/flight_companies/Sabre.png 8.7 KiB [emitted]
assets/images/flight_companies/SB.png 809 bytes [emitted]
assets/images/flight_companies/SK.png 679 bytes [emitted]
assets/images/flight_companies/SL.png 896 bytes [emitted]
assets/images/flight_companies/SN.png 597 bytes [emitted]
assets/images/flight_companies/SP.png 1000 bytes [emitted]
assets/images/flight_companies/SQ.png 629 bytes [emitted]
assets/images/flight_companies/SR.png 856 bytes [emitted]
assets/images/flight_companies/SS.png 575 bytes [emitted]
assets/images/flight_companies/ST.png 964 bytes [emitted]
assets/images/flight_companies/SU.png 405 bytes [emitted]
assets/images/flight_companies/SV.png 1.69 KiB [emitted]
assets/images/flight_companies/SW.png 1 KiB [emitted]
assets/images/flight_companies/SY.png 1.16 KiB [emitted]
assets/images/flight_companies/T0.png 976 bytes [emitted]
assets/images/flight_companies/T2.png 1.09 KiB [emitted]
assets/images/flight_companies/T4.png 888 bytes [emitted]
assets/images/flight_companies/T8.png 1.05 KiB [emitted]
assets/images/flight_companies/TA.png 750 bytes [emitted]
assets/images/flight_companies/taca.png 339 bytes [emitted]
assets/images/flight_companies/tam_mercosur.png 297 bytes [emitted]
assets/images/flight_companies/TC.png 710 bytes [emitted]
assets/images/flight_companies/TG.png 699 bytes [emitted]
assets/images/flight_companies/TK.png 1.22 KiB [emitted]
assets/images/flight_companies/TN.png 1.34 KiB [emitted]
assets/images/flight_companies/TO.png 2.71 KiB [emitted]
assets/images/flight_companies/total1.png 4.11 KiB [emitted]
assets/images/flight_companies/TP.png 992 bytes [emitted]
assets/images/flight_companies/TP33.png 496 bytes [emitted]
assets/images/flight_companies/TR.png 967 bytes [emitted]
assets/images/flight_companies/TU.png 541 bytes [emitted]
assets/images/flight_companies/TW.png 638 bytes [emitted]
assets/images/flight_companies/TZ.png 936 bytes [emitted]
assets/images/flight_companies/U2.png 475 bytes [emitted]
assets/images/flight_companies/U5.png 445 bytes [emitted]
assets/images/flight_companies/UA.png 930 bytes [emitted]
assets/images/flight_companies/UE.png 572 bytes [emitted]
assets/images/flight_companies/UK.png 436 bytes [emitted]
assets/images/flight_companies/UL.png 771 bytes [emitted]
assets/images/flight_companies/UN.png 718 bytes [emitted]
assets/images/flight_companies/US.png 408 bytes [emitted]
assets/images/flight_companies/UU.png 700 bytes [emitted]
assets/images/flight_companies/UX.png 637 bytes [emitted]
assets/images/flight_companies/V0.png 832 bytes [emitted]
assets/images/flight_companies/V3.png 661 bytes [emitted]
assets/images/flight_companies/VA.png 985 bytes [emitted]
assets/images/flight_companies/VC.png 849 bytes [emitted]
assets/images/flight_companies/VE.png 553 bytes [emitted]
assets/images/flight_companies/VH.png 647 bytes [emitted]
assets/images/flight_companies/vivacolombia.png 45.7 KiB [emitted]
assets/images/flight_companies/VK.png 713 bytes [emitted]
assets/images/flight_companies/VN.png 605 bytes [emitted]
assets/images/flight_companies/VP.png 1.19 KiB [emitted]
assets/images/flight_companies/VR.png 3.92 KiB [emitted]
assets/images/flight_companies/VS.png 801 bytes [emitted]
assets/images/flight_companies/VT.png 490 bytes [emitted]
assets/images/flight_companies/VU.png 880 bytes [emitted]
assets/images/flight_companies/VV.png 978 bytes [emitted]
assets/images/flight_companies/VW.png 418 bytes [emitted]
assets/images/flight_companies/VX.png 801 bytes [emitted]
assets/images/flight_companies/VY.png 469 bytes [emitted]
assets/images/flight_companies/WB.png 877 bytes [emitted]
assets/images/flight_companies/WH.png 541 bytes [emitted]
assets/images/flight_companies/WK.png 1.04 KiB [emitted]
assets/images/flight_companies/WN.png 1.01 KiB [emitted]
assets/images/flight_companies/WS.png 864 bytes [emitted]
assets/images/flight_companies/XL.png 636 bytes [emitted]
assets/images/flight_companies/Y4.png 778 bytes [emitted]
assets/images/flight_companies/Y8.png 2.74 KiB [emitted]
assets/images/flight_companies/YB.png 298 bytes [emitted]
assets/images/flight_companies/YX.png 1.14 KiB [emitted]
assets/images/flight_companies/Z5.png 782 bytes [emitted]
assets/images/flight_companies/Z6.png 846 bytes [emitted]
assets/images/flight_companies/Z8.png 1.48 KiB [emitted]
assets/images/flight_companies/ZA.png 699 bytes [emitted]
assets/images/flight_companies/ZE.png 983 bytes [emitted]
assets/images/flight_companies/ZQ.png 639 bytes [emitted]
assets/images/flight_seat_mark.png 1.92 KiB [emitted]
assets/images/flight_seat.png 2.45 KiB [emitted]
assets/images/generic-logo.png 20.9 KiB [emitted]
assets/images/Google play.png 2.87 KiB [emitted]
assets/images/google.png 1.38 KiB [emitted]
assets/images/home_mockups_1.png 87.9 KiB [emitted]
assets/images/icn/altera.png 2.6 KiB [emitted]
assets/images/icn/icn-anticip.png 575 bytes [emitted]
assets/images/icn/icn-cancelation.png 632 bytes [emitted]
assets/images/icn/icn-credit.png 614 bytes [emitted]
assets/images/icn/icn-discount.png 318 bytes [emitted]
assets/images/icn/icn-luggage-cabin.png 322 bytes [emitted]
assets/images/icn/icn-luggage.png 358 bytes [emitted]
assets/images/icn/icn-meal.png 367 bytes [emitted]
assets/images/icn/icn-miles.png 451 bytes [emitted]
assets/images/icn/icn-noshow.png 377 bytes [emitted]
assets/images/icn/icn-priority.png 474 bytes [emitted]
assets/images/icn/icn-refund.png 565 bytes [emitted]
assets/images/icn/icn-reissue.png 542 bytes [emitted]
assets/images/icn/icn-score.png 666 bytes [emitted]
assets/images/icn/icn-seat-plus.png 326 bytes [emitted]
assets/images/icn/icn-seat.png 445 bytes [emitted]
assets/images/icn/icn-snack.png 496 bytes [emitted]
assets/images/icn/reembolso.png 2.29 KiB [emitted]
assets/images/loaders/flights.png 36.6 KiB [emitted]
assets/images/loaders/ideas-bk-badge.png 7.45 KiB [emitted]
assets/images/loaders/map.png 20.7 KiB [emitted]
assets/images/login-logo.png 9.44 KiB [emitted]
assets/images/logo_central.png 20.9 KiB [emitted]
assets/images/logo_esquerda.png 9.44 KiB [emitted]
assets/images/malas/0P23K.png 562 bytes [emitted]
assets/images/malas/1P23K.png 699 bytes [emitted]
assets/images/malas/1P32K.png 694 bytes [emitted]
assets/images/malas/2P23K.png 724 bytes [emitted]
assets/images/malas/2P32K.png 726 bytes [emitted]
assets/images/malas/3P23K.png 732 bytes [emitted]
assets/images/malas/3P32K.png 735 bytes [emitted]
assets/images/map-marker.png 1.09 KiB [emitted]
assets/images/materialize-logo.png 6.15 KiB [emitted]
assets/images/new-logo-assistcard.png 18.8 KiB [emitted]
assets/images/office.png 898 bytes [emitted]
assets/images/opc_icon/abs_car.png 2.86 KiB [emitted]
assets/images/opc_icon/airbag_car.png 2.67 KiB [emitted]
assets/images/opc_icon/baggage.png 823 bytes [emitted]
assets/images/opc_icon/crash_car.png 1.53 KiB [emitted]
assets/images/opc_icon/door_car.png 1.95 KiB [emitted]
assets/images/opc_icon/driver_car.png 1.59 KiB [emitted]
assets/images/opc_icon/gas_car.png 1.18 KiB [emitted]
assets/images/opc_icon/gps_car.png 1.17 KiB [emitted]
assets/images/opc_icon/ice.png 2.62 KiB [emitted]
assets/images/opc_icon/pay_ret.png 1.03 KiB [emitted]
assets/images/opc_icon/pre_pay.png 1.53 KiB [emitted]
assets/images/opc_icon/seat.png 1.77 KiB [emitted]
assets/images/opc_icon/secure_car.png 1.58 KiB [emitted]
assets/images/opc_icon/seg-acidentes.png 2.04 KiB [emitted]
assets/images/opc_icon/seg-bagagem.png 1.84 KiB [emitted]
assets/images/opc_icon/seg-cobertura.png 1.52 KiB [emitted]
assets/images/opc_icon/tax_calc.png 1.47 KiB [emitted]
assets/images/opc_icon/velocimiter.png 1.85 KiB [emitted]
assets/images/signature-scan.png 5.86 KiB [emitted]
assets/images/style_typography_roboto.png 129 KiB [emitted]
assets/images/ticket.png 1.64 KiB [emitted]
assets/images/tipo_carro/compacto.png 2.59 KiB [emitted]
assets/images/tipo_carro/econ.png 2.9 KiB [emitted]
assets/images/tipo_carro/fullsize.png 3.46 KiB [emitted]
assets/images/tipo_carro/intermed.png 2.76 KiB [emitted]
assets/images/tipo_carro/suv.png 2.94 KiB [emitted]
assets/js/materialize-plugins/datarangepicker/drp.png 211 KiB [emitted]
assets/js/plugins/data-tables/images/sort_asc_disabled.png 148 bytes [emitted]
assets/js/plugins/data-tables/images/sort_asc.png 160 bytes [emitted]
assets/js/plugins/data-tables/images/sort_both.png 201 bytes [emitted]
assets/js/plugins/data-tables/images/sort_desc_disabled.png 146 bytes [emitted]
assets/js/plugins/data-tables/images/sort_desc.png 158 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png 351 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png 261 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png 389 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_glass_50_3baae3_1x400.png 375 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png 385 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png 371 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png 288 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png 426 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png 348 bytes [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-icons_2694e8_256x240.png 4.49 KiB [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-icons_2e83ff_256x240.png 4.49 KiB [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-icons_3d80b3_256x240.png 4.49 KiB [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-icons_72a7cf_256x240.png 4.49 KiB [emitted]
assets/js/plugins/fullcalendar/lib/cupertino/images/ui-icons_ffffff_256x240.png 6.32 KiB [emitted]
assets/js/plugins/ionRangeSlider/img/sprite-skin-flat.png 304 bytes [emitted]
package.json 134 bytes [emitted]
starter.js 39 bytes [emitted]
tns-java-classes.js 0 bytes [emitted]
[./app.css] 746 bytes {bundle} [built]
[./main.ns.ts] 332 bytes {bundle} [built]
[./package.json] 123 bytes {bundle} [optional] [built]
+ 155 hidden modules
ERROR in Could not resolve module C:\Ideas\Source\b2bAngular\src\app.module
Webpack compilation complete. Watching for file changes.
Webpack build done!
Executing before-shouldPrepare hook from C:\Ideas\Source\b2bAngular\hooks\before-shouldPrepare\nativescript-dev-webpack.js
Executing before-cleanApp hook from C:\Ideas\Source\b2bAngular\hooks\before-cleanApp\nativescript-dev-webpack.js
Preparing project...
Executing before-prepareJSApp hook from C:\Ideas\Source\b2bAngular\hooks\before-prepareJSApp\nativescript-dev-webpack.js
Gradle clean...
+ setting applicationId
+ applying user-defined configuration from C:\Ideas\Source\b2bAngular\App_Resources\Android\app.gradle
+ adding nativescript runtime package dependency: nativescript-optimized-with-inspector
+ adding aar plugin dependency: C:\Ideas\Source\b2bAngular\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:clean'.
> Unable to delete directory: C:\Ideas\Source\b2bAngular\platforms\android\app\build\intermediates\assets\debug\app\app\cars\model\classes
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
Unable to apply changes on device: c1f7d849. Error is: Command gradlew.bat failed with exit code 1.
Executing after-watch hook from C:\Ideas\Source\b2bAngular\hooks\after-watch\nativescript-dev-webpack.js
Stopping webpack watch
Executing after-watch hook from C:\Ideas\Source\b2bAngular\hooks\after-watch\nativescript-dev-webpack.js
<!-- Provide the content of your package.json. -->
```JSON
{
"name": "consolidador",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"android": "tns run android --bundle",
"ios": "tns run ios --bundle",
"ng": "ng",
"start": "ng serve --configuration=en",
"es": "ng serve --aot --i18nFile=src/locale/messages.es.xlf --i18nFormat=xlf --locale=es --o",
"pt": "ng serve --aot --i18nFile=src/locale/messages.pt.xlf --i18nFormat=xlf --locale=pt --o",
"fr": "ng serve --aot --i18nFile=src/locale/messages.fr.xlf --i18nFormat=xlf --locale=fr --o",
"ch": "ng serve --aot --i18nFile=src/locale/messages.ch.xlf --i18nFormat=xlf --locale=zh-Hans --o",
"build": "ng build --aot",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@agm/core": "^1.0.0-beta.3",
"@angular/animations": "^6.1.6",
"@angular/cdk": "^6.4.6",
"@angular/common": "^6.1.6",
"@angular/compiler": "^6.1.6",
"@angular/core": "^6.1.6",
"@angular/forms": "^6.1.6",
"@angular/http": "^6.1.6",
"@angular/material": "^6.4.6",
"@angular/platform-browser": "^6.1.6",
"@angular/platform-browser-dynamic": "^6.1.6",
"@angular/router": "^6.1.6",
"@nativescript/schematics": "^0.2.5",
"@ngx-translate/core": "^10.0.2",
"@ngx-translate/http-loader": "^3.0.1",
"@swimlane/ngx-charts": "^9.0.0",
"@swimlane/ngx-datatable": "^13.1.0",
"ajv": "^6.5.3",
"animate.css": "^3.7.0",
"core-js": "^2.5.7",
"d3": "^5.7.0",
"jquery": "^3.2.1",
"jspdf": "^1.4.1",
"materialize-css": "^0.100.2",
"mdi": "^2.2.43",
"ng-click-outside": "^4.0.0",
"ngx-materialize": "^6.1.3",
"npm": "^6.4.1",
"primeng": "^6.1.3",
"rxjs": "^6.2.2",
"rxjs-compat": "^6.2.2",
"zone.js": "^0.8.26",
"nativescript-angular": "~6.1.0",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.8",
"tns-core-modules": "~4.2.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.7.5",
"@angular/cli": "^6.1.5",
"@angular/compiler-cli": "~6.1.0",
"@angular/language-service": "^6.1.6",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~10.9.3",
"codelyzer": "^4.4.4",
"jasmine-core": "~3.2.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^2.0.2",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^1.3.1",
"protractor": "~5.4.0",
"ts-node": "~7.0.1",
"tslint": "~5.11.0",
"typescript": "^2.7.2",
"nativescript-dev-webpack": "^0.15.0"
},
"nativescript": {
"id": "org.nativescript.ngsample",
"tns-android": {
"version": "4.2.0"
}
}
}
<!-- Provide the content of your webpack.config.js. -->
```JS
const { join, relative, resolve, sep } = require("path");
const webpack = require("webpack");
const nsWebpack = require("nativescript-dev-webpack");
const nativescriptTarget = require("nativescript-dev-webpack/nativescript-target");
const CleanWebpackPlugin = require("clean-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
const { NativeScriptWorkerPlugin } = require("nativescript-worker-loader/NativeScriptWorkerPlugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const { AngularCompilerPlugin } = require("@ngtools/webpack");
module.exports = env => {
// Add your custom Activities, Services and other Android app components here.
const appComponents = [
"tns-core-modules/ui/frame",
"tns-core-modules/ui/frame/activity",
];
const platform = env && (env.android && "android" || env.ios && "ios");
if (!platform) {
throw new Error("You need to provide a target platform!");
}
const projectRoot = __dirname;
// Default destination inside platforms/<platform>/...
const dist = resolve(projectRoot, nsWebpack.getAppPath(platform, projectRoot));
const appResourcesPlatformDir = platform === "android" ? "Android" : "iOS";
const {
// The 'appPath' and 'appResourcesPath' values are fetched from
// the nsconfig.json configuration file
// when bundling with `tns run android|ios --bundle`.
appPath = "app",
appResourcesPath = "app/App_Resources",
// You can provide the following flags when running 'tns run android|ios'
aot, // --env.aot
snapshot, // --env.snapshot
uglify, // --env.uglify
report, // --env.report
sourceMap, // --env.sourceMap
} = env;
const appFullPath = resolve(projectRoot, appPath);
const appResourcesFullPath = resolve(projectRoot, appResourcesPath);
const entryModule = aot ?
nsWebpack.getAotEntryModule(appFullPath) :
`${nsWebpack.getEntryModule(appFullPath)}.ts`;
const entryPath = `.${sep}${entryModule}`;
const config = {
mode: uglify ? "production" : "development",
context: appFullPath,
watchOptions: {
ignored: [
appResourcesFullPath,
// Don't watch hidden files
"**/.*",
]
},
target: nativescriptTarget,
entry: {
bundle: entryPath,
},
output: {
pathinfo: false,
path: dist,
libraryTarget: "commonjs2",
filename: "[name].js",
globalObject: "global",
},
resolve: {
extensions: [".ts", ".js", ".scss", ".css"],
// Resolve {N} system modules from tns-core-modules
modules: [
resolve(__dirname, "node_modules/tns-core-modules"),
resolve(__dirname, "node_modules"),
"node_modules/tns-core-modules",
"node_modules",
],
alias: {
'~': appFullPath
},
symlinks: true
},
resolveLoader: {
symlinks: false
},
node: {
// Disable node shims that conflict with NativeScript
"http": false,
"timers": false,
"setImmediate": false,
"fs": "empty",
"__dirname": false,
},
devtool: sourceMap ? "inline-source-map" : "none",
optimization: {
splitChunks: {
cacheGroups: {
vendor: {
name: "vendor",
chunks: "all",
test: (module, chunks) => {
const moduleName = module.nameForCondition ? module.nameForCondition() : '';
return /[\\/]node_modules[\\/]/.test(moduleName) ||
appComponents.some(comp => comp === moduleName);
},
enforce: true,
},
}
},
minimize: !!uglify,
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
parallel: true,
cache: true,
output: {
comments: false,
},
compress: {
// The Android SBG has problems parsing the output
// when these options are enabled
'collapse_vars': platform !== "android",
sequences: platform !== "android",
}
}
})
],
},
module: {
rules: [
{
test: new RegExp(entryPath),
use: [
// Require all Android app components
platform === "android" && {
loader: "nativescript-dev-webpack/android-app-components-loader",
options: { modules: appComponents }
},
{
loader: "nativescript-dev-webpack/bundle-config-loader",
options: {
angular: true,
loadCss: !snapshot, // load the application css if in debug mode
}
},
].filter(loader => !!loader)
},
{ test: /\.html$|\.xml$/, use: "raw-loader" },
// tns-core-modules reads the app.css and its imports using css-loader
{
test: /[\/|\\]app\.css$/,
use: {
loader: "css-loader",
options: { minimize: false, url: false },
}
},
{
test: /[\/|\\]app\.scss$/,
use: [
{ loader: "css-loader", options: { minimize: false, url: false } },
"sass-loader"
]
},
// Angular components reference css files and their imports using raw-loader
{ test: /\.css$/, exclude: /[\/|\\]app\.css$/, use: "raw-loader" },
{ test: /\.scss$/, exclude: /[\/|\\]app\.scss$/, use: ["raw-loader", "resolve-url-loader", "sass-loader"] },
// Compile TypeScript files with ahead-of-time compiler.
{
test: /.ts$/, use: [
"nativescript-dev-webpack/moduleid-compat-loader",
"@ngtools/webpack",
]
},
// Mark files inside `@angular/core` as using SystemJS style dynamic imports.
// Removing this will cause deprecation warnings to appear.
{
test: /[\/\\]@angular[\/\\]core[\/\\].+\.js$/,
parser: { system: true },
},
],
},
plugins: [
// Define useful constants like TNS_WEBPACK
new webpack.DefinePlugin({
"global.TNS_WEBPACK": "true",
"process": undefined,
}),
// Remove all files from the out dir.
new CleanWebpackPlugin([ `${dist}/**/*` ]),
// Copy native app resources to out dir.
new CopyWebpackPlugin([
{
from: `${appResourcesFullPath}/${appResourcesPlatformDir}`,
to: `${dist}/App_Resources/${appResourcesPlatformDir}`,
context: projectRoot
},
]),
// Copy assets to out dir. Add your own globs as needed.
new CopyWebpackPlugin([
{ from: "fonts/**" },
{ from: "**/*.jpg" },
{ from: "**/*.png" },
], { ignore: [`${relative(appPath, appResourcesFullPath)}/**`] }),
// Generate a bundle starter script and activate it in package.json
new nsWebpack.GenerateBundleStarterPlugin([
"./vendor",
"./bundle",
]),
// For instructions on how to set up workers with webpack
// check out https://github.com/nativescript/worker-loader
new NativeScriptWorkerPlugin(),
new AngularCompilerPlugin({
hostReplacementPaths: nsWebpack.getResolver([platform, "tns"]),
entryModule: resolve(appPath, "app.module#AppModule"),
tsConfigPath: join(__dirname, "tsconfig.esm.json"),
skipCodeGeneration: !aot,
sourceMap: !!sourceMap,
}),
// Does IPC communication with the {N} CLI to notify events when running in watch mode.
new nsWebpack.WatchStateLoggerPlugin(),
],
};
if (report) {
// Generate report files for bundles content
config.plugins.push(new BundleAnalyzerPlugin({
analyzerMode: "static",
openAnalyzer: false,
generateStatsFile: true,
reportFilename: resolve(projectRoot, "report", `report.html`),
statsFilename: resolve(projectRoot, "report", `stats.json`),
}));
}
if (snapshot) {
config.plugins.push(new nsWebpack.NativeScriptSnapshotPlugin({
chunk: "vendor",
angular: true,
requireModules: [
"reflect-metadata",
"@angular/platform-browser",
"@angular/core",
"@angular/common",
"@angular/router",
"nativescript-angular/platform-static",
"nativescript-angular/router",
],
projectRoot,
webpackConfig: config,
}));
}
return config;
};
Any help is appreciated!!
Copied from original issue: NativeScript/nativescript-dev-webpack#643
The following command:
ng g c somecmp --module=app
hangs.
Initally, when adding nativescript to a web project, all components are web-only. They should be excluded from the mobile AoT build. For example:
https://github.com/sis0k0/routing-web-mobile/blob/25579ed90439373c418557a65f057fdbf88ad3cc/tsconfig.aot.json#L19
Also, the migrate-component
schematic should remove the migrated component from the list of excluded files.
Currently when you start a new app using {N} schematics you need to put your global web CSS in a styles.css
file, and your global {N} CSS in an app.css
file.
My suggestion is that we switch the {N} global file to styles.tns.css
, and inject the appropriate code so that {N} uses that file instead of app.css
. It’ll make this project structure a lot easier to explain to newcomers to this setup.
The component
schematic should create stylesheets for mobile.
Usage in web+mobile project with .tns
extension for the mobile files:
ng generate component foo
Actual output:
foo.component.ts
foo.component.html
foo.component.tns.html
foo.component.css
Expected output
foo.component.ts
foo.component.html
foo.component.tns.html
foo.component.css
foo.component.tns.css // <-- this file should be generated
the ng generate command in
https://github.com/ngrx/platform/tree/master/docs/schematics
can not generate correct ngrx files in nativescript project.
From @jpierront on September 10, 2018 20:44
When we add "firebase" to package.json, the Android gradle build fail.
Execution failed for task ':app:mergeDebugAssets'.
[app/tns_modules/bytebuffer/dist/bytebuffer.min.js] ... Error: Duplicate resources
[app/tns_modules/bytebuffer/dist/bytebuffer-dataview.min.js] ... Error: Duplicate resources
[app/tns_modules/long/dist/long.min.js] ... Error: Duplicate resources
[app/tns_modules/protobufjs/dist/protobuf-light.min.js] ... Error: Duplicate resources
[app/tns_modules/protobufjs/dist/protobuf.min.js] ... Error: Duplicate resources
I try to migrate my Angular Web App to Nativescript+Web and I need web firebase version for my web version.
The problem occurs even on the "Angular & TypeScript Drawer navigation" demo.
Android
"dependencies": {
"@angular/animations": "~6.1.0",
"@angular/common": "~6.1.0",
"@angular/compiler": "~6.1.0",
"@angular/core": "~6.1.0",
"@angular/forms": "~6.1.0",
"@angular/http": "~6.1.0",
"@angular/platform-browser": "~6.1.0",
"@angular/platform-browser-dynamic": "~6.1.0",
"@angular/router": "~6.1.0",
"firebase": "^5.4.2",
"nativescript-angular": "~6.1.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-sidedrawer": "~4.2.0",
"tns-core-modules": "~4.2.0",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.2.0",
"zone.js": "~0.8.18"
},
"devDependencies": {
"codelyzer": "~4.3.0",
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "~0.15.0",
"tslint": "~5.11.0",
"typescript": "~2.7.2",
"@angular/compiler-cli": "~6.1.0",
"@ngtools/webpack": "~6.1.0"
}
Copied from original issue: NativeScript/NativeScript#6254
If I excute the commando ng g migrate-component --name=startpage
It will give the error:
Schematic input does not validate against the Schema: {}
Errors:
Data path "" should have required property 'name'.
My structure is:
src/startpage
Here is where my module and component are located.
It's on v 03.1 and I got angular-cli 6.2.2.
Hi guys,
I try to create a new module
ng g m mymodule
but I have this error:
Schematic input does not validate against the Schema: {"routing":false,"routingScope":"Child","flat":false,"commonModule":true,"name":"mymodule","project":"sps-poc","path":"src\\app","spec":true}
Errors:
Data path ".path" should match format "path".
For component, it's ok and If I remove the nativescript/schematics cli from angular.json, it works fine for module.
Am I doing something wrong?
(I confess, I already wasted around 1 hour because I didn't pay attention to the --bundle flag! ^^
Thanks!
fof
(amazing solution and work btw!!!)
Angular CLI: 6.1.4
Node: 8.11.4
OS: win32 x64
Angular: 6.1.4
nativescript/schematics: 0.2.5
"devDependencies": {
"@angular-devkit/build-angular": "~0.7.0",
"@angular/animations": "^6.1.4",
"@angular/cdk": "^6.4.6",
"@angular/cli": "~6.1.0",
"@angular/compiler-cli": "~6.0.3",
"@angular/material": "^6.4.6",
"@nativescript/schematics": "^0.2.5",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "^0.15.0",
"protractor": "~5.3.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "2.7.2"
}
Scenario
npm i -g @angular/cli --> 6.0.3
npm i -g @nativescript/schematics -> 0.1,0 (latest)
ng new testapp
ng add @nativescript/schematics --- a complete test app (barcelona) has been generated web version is working
tns run android --> app is compiling, installing into the device then come this error
:application entry point file not found Please specify in package.json
What is missing ?
---Updated
tns was 4.0.1
I have updated to 4.1
Project has been rectrated - schematics added - tns updated
Then tns debug android
After a while a lot of error message
_platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.spec.ts(12,96): error TS1109: Expression expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.spec.ts(12,106): error TS1005: ',' expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.spec.ts(13,20): error TS1005: '{' expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.spec.ts(14,5): error TS1005: ';' expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.spec.ts(15,1): error TS1128: Declaration or statement expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.spec.ts(15,2): error TS1128: Declaration or statement expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.ts(6,15): error TS1139: Type parameter declaration expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.ts(6,26): error TS1005: '>' expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.ts(6,34): error TS1109: Expression expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.ts(6,43): error TS1005: ';' expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/service/files/name@dasherize@if-flat/name@dasherize.service.ts(8,17): error TS1005: ';' expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/universal/files/src/main@stripTsExtension.ts(9,10): error TS1003: Identifier expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/universal/files/src/main@stripTsExtension.ts(9,11): error TS1110: Type expected.
platforms/android/app/src/main/assets/app/tns_modules/@schematics/angular/universal/files/src/main@stripTsExtension.ts(9,35): error TS1109: Expression expected.
<=========----> 71% EXECUTING [25m 15s]
:app:mergeDebugAssets Expression expected.
:app:mergeDebugAssetsCUTING [24m 53s]pp/tns_modules/@schematics/angular/universal/files/src/main@stripTsExtension.
<=========----> 71% EXECUTING [25m 23s]
<=========----> 71% EXECUTING [25m 24s]ng for file chang_
The app has been compiled in 30 Min !!!
Finally I saw:
:app:mergeDebugAssetsCUTING [25m 26s]
16:46:28 - File change detected. Starting incremental compilation...
:app:mergeDebugAssetsCUTING [25m 26s]
<============-> 92% EXECUTING [30m 28s]
:app:packageDebug
Then I saw again
:application entry point file not found Please specify in package.json
What's happening here ?
I'm using the last @nativescript/schematics version 0.1.3
After generating a new project like this:
ng new --collection=@nativescript/schematics --name=appium --routing=true --style=scss
I'm trying to build using:
tns run android --bundle
And I'm getting the following error:
/Users/israeldevs/Documents/projects/appium/node_modules/webpack/lib/webpack.js:165
throw new RemovedPluginError(errorMessage);
^
Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.
at Object.get [as CommonsChunkPlugin] (/Users/israeldevs/Documents/projects/appium/node_modules/webpack/lib/webpack.js:165:10)
at module.exports.env (/Users/israeldevs/Documents/projects/appium/webpack.config.js:92:34)
at handleFunction (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/prepareOptions.js:23:13)
at prepareOptions (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/prepareOptions.js:9:5)
at requireConfig (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/convert-argv.js:136:14)
at /Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/convert-argv.js:142:17
at Array.forEach ()
at module.exports (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/convert-argv.js:140:15)
at yargs.parse (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/webpack.js:240:39)
at Object.parse (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/node_modules/yargs/yargs.js:552:18)
at /Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/webpack.js:218:8
at Object. (/Users/israeldevs/Documents/projects/appium/node_modules/webpack-cli/bin/webpack.js:515:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/Users/israeldevs/Documents/projects/appium/node_modules/webpack/bin/webpack.js:80:2)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
Executing webpack failed with exit code 1.
==========
Hi!
I'm not sure why or when but at the time of create new component ng cli is broken:
ng g c components/lobby
Response:
Invalid rule result: Function().
ng --version
Response:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.1.0-beta.0
Node: 10.1.0
OS: win32 x64
Angular: 6.0.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.7.0-beta.0
@angular-devkit/build-angular 0.7.0-beta.0
@angular-devkit/build-optimizer 0.7.0-beta.0
@angular-devkit/core 0.7.0-beta.0
@angular-devkit/schematics 0.7.0-rc.2
@angular/cdk 6.3.3
@angular/cli 6.1.0-beta.0
@angular/material 6.3.1
@ngtools/webpack 6.1.0-beta.0
@schematics/angular 0.7.0-rc.2
@schematics/update 0.7.0-beta.0
rxjs 6.2.1
typescript 2.7.2
webpack 4.6.0
I'm working on Web + Mobile Code Sharing project and I'm trying to apply Roboto Regular font, but it seems it's not working in iOS. I've seen that there are tons of questions about iOS and custom fonts out there, but none of given answers solves my problem, so I wanted to check if it maybe has something to do with nativescript-schematics.
I manage to use this font for Android and Angular web app, but it fails in iOS.
Font file location:src/app/fonts/Roboto-Regular.ttf
src/_app-common.scss
.roboto { font-family: 'Roboto-Regular', 'Roboto Regular'; }
src/app/pages/my/my.component.tns.html
<Label [nsRouterLink]="['/about']" text="About" class="h1 text-center roboto" textWrap="true"></Label>
package.json
{
"name": "appname",
"nativescript": {
"id": "no.app.id",
"tns-android": {
"version": "4.2.0"
},
"tns-ios": {
"version": "4.2.0"
}
},
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"android": "tns run android --bundle",
"ios": "tns run ios --bundle"
},
"private": true,
"dependencies": {
"@angular/animations": "~6.1.0",
"@angular/common": "~6.1.0",
"@angular/compiler": "~6.1.0",
"@angular/core": "~6.1.0",
"@angular/forms": "~6.1.0",
"@angular/http": "~6.1.0",
"@angular/platform-browser": "~6.1.0",
"@angular/platform-browser-dynamic": "~6.1.0",
"@angular/router": "~6.1.0",
"core-js": "^2.5.4",
"nativescript-angular": "~6.1.0",
"nativescript-theme-core": "~1.0.4",
"normalize.css": "^8.0.0",
"reflect-metadata": "~0.1.8",
"rxjs": "^6.0.0",
"tns-core-modules": "~4.2.0",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular/cli": "^6.2.0",
"@angular/compiler-cli": "~6.0.3",
"@angular-devkit/build-angular": "^0.8.0",
"@nativescript/schematics": "~0.3.0",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "^0.16.0",
"protractor": "~5.3.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "~2.7.2",
"nativescript-dev-sass": "~1.6.0"
}
}
Thanks
Hi, in the package.json file, the devDependencies "nativescript-dev-webpack" is assigned to "github:nativescript/nativescript-dev-webpack#sis0k0/platform-host" and that cause a problem when you run npm i
so what version of "nativescript-dev-webpack" we should use?
Thanks
Marwan
add-web
- Angular NativeScript => Angular sharedng generate
for NativeScriptWhen adding NativeScript to an existing web Angular project, we try to add new shared home component. However, this will fail if there's already a HomeComponent in the project.
ng new
for shared, web-only and {N}-only projectsng generate
ng add
for adding {N} to webng new && tns run
).From @montella1507 on August 25, 2018 1:7
TNS version:
√ Component nativescript has 4.2.2 version and is up to date.
√ Component tns-core-modules has 4.2.0 version and is up to date.
√ Component tns-android has 4.2.0 version and is up to date.
Source code created via:
ng new --collection=@nativescript/schematics project-name --shared
(https://docs.nativescript.org/code-sharing/intro)
tns run android - result:
platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/share.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/share'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/shareReplay.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/shareReplay'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/single.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/single'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/skip.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/skip'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/skipLast.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/skipLast'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/skipUntil.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/skipUntil'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/skipWhile.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/skipWhile'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/startWith.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/startWith'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/subscribeOn.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/subscribeOn'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/rxjs/src/operator/switch.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/switch'. platforms/android/app/src/main/assets/app/tns_modules/rxjs/operators/isEmpty.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operators/isEmpty'. platforms/android/app/src/main/assets/app/tns_modules/rxjs/operators/last.d.ts(1,15): error TS2307: e.bootstrapApp(Module.java:309) ..,..
I am able to fix errors with rxjs-compact by adding rxjs-compact to dependencies.. however there are other errors regarding zone.js like:
platforms/android/app/build/intermediates/assets/debug/app/tns_modules/zone.js/dist/zone.js.d.ts(134,11): error TS2451: Cannot redeclare block-scoped variable 'Zone'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/zone.js/dist/zone.js.d.ts(423,14): error TS2300: Duplicate identifier 'HasTaskState'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/zone.js/dist/zone.js.d.ts(432,14): error TS2300: Duplicate identifier 'TaskType'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/zone.js/dist/zone.js.d.ts(436,14): error TS2300: Duplicate identifier 'TaskState'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/zone.js/dist/zone.js.d.ts(535,15): error TS2451: Cannot redeclare block-scoped variable 'Zone'. platforms/android/app/build/intermediates/assets/debug/app/tns_modules/zone.js/lib/common/promise.ts(203,13): error TS2322: Type 'ZoneAwarePromise<any>' is not assignable to type 'Promise<any>'.
you may update your schematics to fix this issue?
Thank you.
Copied from original issue: NativeScript/NativeScript#6218
Hi,
When I try to run the command "ng g c " I get the following error
Could not find module "@nativescript/schematics" from "/.../my-mobile-app".
I did run "npm i -g @nativescript/schematics" and I can create a project using the command
"ng new --collection=@nativescript/schematics --name=my-mobile-app --shared".
inside the project, I did run "npm i" to install dependencies. but the command still not working for "ng g c "
when I run the command "npm i @nativescript/schematic" in the project the command works
Any thoughts?
Thanks
Mac os high sierra 10.13.6
NodeJS v10.4.1
with comand: ng new --collection=@nativescript/schematics --name=my-shared-app --shared
Angular CLI: 6.1.0-beta.0
Node: 10.4.1
OS: darwin x64
Angular: 6.0.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular-devkit/architect 0.7.0-beta.0
@angular-devkit/build-angular 0.7.0-beta.0
@angular-devkit/build-optimizer 0.7.0-beta.0
@angular-devkit/core 0.7.0-beta.0
@angular-devkit/schematics 0.7.0-beta.0
@angular/cli 6.1.0-beta.0
@ngtools/webpack 6.1.0-beta.0
@schematics/angular 0.7.0-beta.0
@schematics/update 0.7.0-beta.0
rxjs 6.2.2
typescript 2.7.2
webpack 4.6.0
Error when: tns run ios
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/GenerateObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/GenerateObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/IfObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/IfObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/IntervalObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/IntervalObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/IteratorObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/IteratorObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/NeverObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/NeverObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/PairsObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/PairsObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/PromiseObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/PromiseObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/RangeObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/RangeObservable'.
platforms/ios/build/emulator/myappcollection.app/app/tns_modules/rxjs/observable/ScalarObservable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/observable/ScalarObservable'.
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x1049ba649 NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x1049ed860 -[TNSRuntime executeModule:referredBy:]
3 0x104495261 main
4 0x10a351d81 start
5 0x1
JavaScript stack trace:
1 @[native code]
2 promiseReactionJob@[native code]
JavaScript error:
[native code]: JS ERROR Error: Could not find module './'. Computed path '/Users/michelhinostrozaparra/Library/Developer/CoreSimulator/Devices/76CDD6F5-6900-471A-B818-40CE8A69F570/data/Containers/Bundle/Application/3062415D-0621-4CAD-A8BB-71E9F92C0E82/myappcollection.app/app'.
any suggestions?
Hi, im trying to serve my Angular6/nativescript-schematics shared code, using this:
ng serve
(For publish in localhost:4200), then the first code work fine, but i add a stompjs/websockets client and it breaks,
This is the error:
ERROR in ./node_modules/debug/src/node.js
Module not found: Error: Can't resolve 'fs' in '/Users/alexander.eberle/git/web-poker/frontend/pokerclient/node_modules/debug/src'
ERROR in ./node_modules/eventsource/lib/eventsource.js
Module not found: Error: Can't resolve 'http' in '/Users/alexander.eberle/git/web-poker/frontend/pokerclient/node_modules/eventsource/lib'
ERROR in ./node_modules/eventsource/lib/eventsource.js
Module not found: Error: Can't resolve 'https' in '/Users/alexander.eberle/git/web-poker/frontend/pokerclient/node_modules/eventsource/lib'
ERROR in ./node_modules/debug/src/node.js
Module not found: Error: Can't resolve 'tty' in '/Users/alexander.eberle/git/web-poker/frontend/pokerclient/node_modules/debug/src'
ERROR in ./node_modules/stompjs/lib/stomp-node.js
Module not found: Error: Can't resolve 'websocket' in '/Users/alexander.eberle/git/web-poker/frontend/pokerclient/node_modules/stompjs/lib'
i tryed the same configuration in a clean angular project (without nativescript-schematics) and work fine, but in shared version isn't work.
I understand if you say me thats not work in the ios / android version. it's fine (because I need a specific code for these platforms), but on the web version it should work.
Any ideas?
Thanks, and sorry for my bad english, i only speak spanish :P
Edit:
Im using last version of nativescript and angular, and check the dependencies, you can check the code here:
https://github.com/alexander171294/web-poker/tree/master/frontend/pokerclient
Thanks!
add-ns
- Angular web => Angular shared
ng add @nativescript/schematics
ng new --collection=@nativescript/schematics app-name
ng new --collection=@nativescript/schematics app-name --shared
nativescript-dev-webpack
tns run ios/android --bundle
to pick .tns
files as NativeScript specific filesng generate component
and ng generate module
to work with NativeScript
This schematics will no longer support @angular/cli
1.x or @angular
before 6.x.
New git repository should be initialized inside my-app
when running ng new my-app
.
Similarly to the @schematics/angular
implementation, there should also be a flag skipGit
which omits the repository initialization.
Currently migrate-ns
assumes that:
.gitignore
already existsnativescript-dev-webpack
is already installedThe schematic should create/install these prerequisites, if they are not present.
Hi, I was trying this tutorial, while trying both ways creating new and adding in existing project. I was unable to pin point the issue. So, here is the error message I am getting. Do let me know how can I provide more details if required.
Command: ng new --collection=@nativescript/schematics --name=helloangular --shared
Error: sink._addParentTeardownLogic is not a function
Command: ng new HelloAngular && cd HelloAngular
<- this works as it should
Command: ng add @nativescript/schematics
gives
Error: Cannot read property 'build' of undefined
Here is ng info that I get in ng -v
Angular CLI: 6.2.1
Node: 10.8.0
OS: darwin x64
Angular: 6.1.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.8.1
@angular-devkit/build-angular 0.8.1
@angular-devkit/build-optimizer 0.8.1
@angular-devkit/build-webpack 0.8.1
@angular-devkit/core 0.8.1
@angular-devkit/schematics 0.8.1
@angular/cli 6.2.1
@ngtools/webpack 6.2.1
@schematics/angular 0.8.1
@schematics/update 0.8.1
rxjs 6.2.2
typescript 2.9.2
webpack 4.17.2
Please let me know if any further information is required.
cc/ @sebawita
Paste from Nativecript forum question:
"
We have relatively large web-app built with Angular 6 and we have few sub projects added to the main project. They are created with ng g application
Does tns toolset support building these Angular 6 sub projects to Android / iOS?
Example commands:
ng g application mynsapp
ng add --project mynsapp @nativescript/schematics
tns build android --bundle --project mynsapp
The last command fails currently.
tns version: 4.2.3
Angular CLI: 6.2.1
Node: 8.11.3
OS: win32 x64
Angular: 6.1.7
"
https://discourse.nativescript.org/t/does-tns-build-support-angular-6-sub-projects/8206/2
As mentioned in README 6.1.0-beta.2
should not be used.
Do not use 6.1.0-beta.2, as beta.2 introduced a bug that makes @nativescript/schematics generate only as subset of the required files.
But what about 6.1.0-rc.0
?
Please provide link to bug in @angular/cli
repository - so it could be tracked and switched to latest version when fixed.
I’m writing a tutorial on code sharing with this setup, and I found a weird inconsistency.
For most files in the app we use a .tns
extension to denote {N} files. But strangely, in the root src
folder we create main.ns.aot.ts
and main.ns.ts
files. Can those files use the same .tns
extension? It’s a strange inconsistency to explain.
While adding nativescript-schematics into the existing project by using
ng add @nativescript/schematics
getting Cannot read property 'options' of undefined
Implement --nsExtension
and --webExtension
options for ng new --shared
:
ng new --shared --name=my-project --nsExtension=mobile --webExtension=web
The {N}-specific files should be excluded from the web compilation. Example:
https://github.com/NativeScript/web-mobile-project/blob/b8c328e0f53c7686403b09c923cdd909f9201358/app/tsconfig.app.json#L9-L14
Hi, is it possible to extend code sharing to ionic 3 or 4 projects? Would be a great upgrade for many hybrid apps. Great work, thanks
Currently the basic values are hardcoded:
https://github.com/NativeScript/nativescript-schematics/blob/master/src/angular-project-parser.ts#L74-L76
From @erickkimura7 on July 18, 2018 15:17
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
I get an error : TypeError: devtools.attachDOMInspectorEventCallbacks is not a function
Android
tns --version
to fetch it) - 4.1.2node_modules/tns-core-modules/package.json
file in your project) - 4.1.0"tns-android"
and "tns-ios"
properties in thepackage.json
file of your project) - 4.1.3package.json
file of yourFirst I run "ng new --collection=@nativescript/schematics --name=my-mobile-app"
When I run 'npm run android' e get this error.
Successfully synced application org.nativescript.mymobileapp on device 520097d6eca65421.
Executing before-shouldPrepare hook from /Users/erickkimura/Documents/meusProjetos/treino/my-mobile-app/hooks/before-shouldPrepare/nativescript-dev-webpack.js
Skipping prepare.
ActivityManager: Start proc 8621:org.nativescript.mymobileapp/u0a307 for activity org.nativescript.mymobileapp/com.tns.NativeScriptActivity
System.err: java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:
System.err:
System.err: Error calling module function
System.err:
System.err: Error calling module function
System.err:
System.err: TypeError: devtools.attachDOMInspectorEventCallbacks is not a function
System.err: File: "file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js, line: 97419, column: 13
System.err:
System.err: StackTrace:
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 97419, column: 14
System.err: Frame: function:'../node_modules/tns-core-modules/ui/frame/frame.js', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 98278, column: 30
System.err: Frame: function:'__webpack_require__', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 76, column: 30
System.err: Frame: function:'../node_modules/nativescript-angular/platform-providers.js', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 55469, column: 15
System.err: Frame: function:'__webpack_require__', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 76, column: 30
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 55219, column: 28
System.err: Frame: function:'../node_modules/nativescript-angular/platform-common.js', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 55460, column: 30
System.err: Frame: function:'__webpack_require__', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 76, column: 30
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 55535, column: 25
System.err: Frame: function:'../node_modules/nativescript-angular/platform.js', file:'file:///data/data/org.nativescript.mymobileapp/files/app/vendor.js', line: 55579, column: 30
System.err: Frame: function:'__webpack_require__', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 76, column: 30
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 250, column: 133
System.err: Frame: function:'./main.ts', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 270, column: 30
System.err: Frame: function:'__webpack_require__', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 76, column: 30
System.err: Frame: function:'checkDeferredModules', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 45, column: 23
System.err: Frame: function:'module.exports.../$$_lazy_route_resource lazy recursive.webpackEmptyAsyncContext.keys', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 134, column: 18
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.mymobileapp/files/app/bundle.js', line: 137, column: 10
System.err: Frame: function:'require', file:'', line: 1, column: 266
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.mymobileapp/files/app/starter.js', line: 2, column: 1
System.err: Frame: function:'require', file:'', line: 1, column: 266
Copied from original issue: NativeScript/nativescript-cli#3758
I'm trying to migrate an existing web project using NativeScript Schematics but get an error of
Could not find bootstrapped module.
Not sure if it because it's a multi project setup
Angular CLI: 6.2.2
Node: 8.11.3
OS: darwin x64
Angular: 6.1.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
@angular-devkit/architect 0.8.2
@angular-devkit/build-angular 0.8.2
@angular-devkit/build-optimizer 0.8.2
@angular-devkit/build-webpack 0.8.2
@angular-devkit/core 0.8.2
@angular-devkit/schematics 0.8.2
@angular/cdk 6.4.7
@angular/cli 6.2.2
@angular/material 6.4.7
@angular/material-moment-adapter 6.4.7
@angular/pwa 0.7.5
@ngtools/webpack 6.2.2
@schematics/angular 0.8.2
@schematics/update 0.8.2
rxjs 6.3.2
typescript 2.9.2
webpack 4.19.0
Currently running ng g c cpm-name
will add it to app.module.ts
, but it doesn't do it for app.module.tns.ts
Linux Ubuntu 18.04 LTS
NPM version: 6.2.0
node version: 8.11.3
I used ng new -c=@nativescript/schematics --name=simulator --shared
I tried to run ng serve
on my Angular + NativeScript project. and then I got:
ERROR in src/app/app.component.ts(5,13): error TS2304: Cannot find name 'module'. src/app/barcelona/player-detail/player-detail.component.ts(9,13): error TS2304: Cannot find name 'module'. src/app/barcelona/players/players.component.ts(8,13): error TS2304: Cannot find name 'module'.
web
{
"name": "simulator",
"nativescript": {
"id": "org.nativescript.simulator"
},
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^6.0.3",
"@angular/common": "^6.0.3",
"@angular/compiler": "^6.0.3",
"@angular/core": "^6.0.3",
"@angular/forms": "^6.0.3",
"@angular/http": "^6.0.3",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"@angular/router": "^6.0.3",
"core-js": "^2.5.4",
"nativescript-angular": "^6.0.0",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.8",
"rxjs": "^6.0.0",
"tns-core-modules": "~4.0.0",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.7.0-beta.0",
"@angular/cli": "^6.1.0-rc.2",
"@angular/compiler-cli": "^6.0.3",
"@angular/language-service": "^6.0.3",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "^0.14.0",
"protractor": "~5.3.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "2.7.2"
}
}
I created a new code sharing project following the webinar NS 4.1 steps
npm i -g @angular/[email protected]
npm i -g @nativescript/schematics
ng new -c@nativescript/schematics --name=simulator --shared
cd simulator/
npm i
ng serve -o
I got this error:
ERROR in src/app/app.component.ts(5,13): error TS2304: Cannot find name 'module'. src/app/barcelona/player-detail/player-detail.component.ts(9,13): error TS2304: Cannot find name 'module'. src/app/barcelona/players/players.component.ts(8,13): error TS2304: Cannot find name 'module'.
I have proved with either @angular/[email protected]
or @angular/[email protected]
Any suggestions?
If I want to share images/fonts between my web and native apps I need to put them in the src/app
folder, as otherwise the {N} app won’t be able to access them.
Angular web apps expect their images/fonts to be in the src/assets
folder.
I’m not sure how to best consolidate this. My solution was to create both src/app/fonts
and src/app/images
folders, and to add both to the "assets"
in my angular.json
file. We might want to consider doing these steps by default.
[V] Feature request
Currently angular-cli allows to create and serve multiple applications inside one repository and share code across these applications.
But nativescript only allows to create one application.
Do you guys plan to allow nativescript app to be added as angular cli project/application? (ng generate application
).
Lets say we have existing angular cli repository with 2 or more web applications. And we want to add nativescript app to build mobile UI for one of them.
With current schematics it's not possible.
Please allow to do something similar.
Add nativescript application to current angular cli repository:
ng generate application -c=@nativescript/schematics --name=my-nativescript-app
Run tns
by application name
tns run ios --app=my-nativescript-app
Read more: https://github.com/angular/angular-cli/wiki/stories-multiple-apps
Hi,
ng g m moduleName
generates issues as below on Windows:
Schematic input does not validate against the Schema: {"routing":false,"routingScope":"Child","flat":false,"commonModule":true,"name":"test","project":"ngTestNative","path":"src\\app","spec":true}
Errors:
Data path ".path" should match format "path".
When I changed to WSL (Ubuntu) everything is ok. Issue occurs with @nativescript/schematics. Standard ng new without schematic is working fine.
The schematics package should be updated to reflect the changes in nativescript-dev-webpack, introduced by:
main.aot.ts
, app.module.ngfactory.d.ts
and tsconfig.aot.json
files from schematics. Update webpack configurations.From @Kamieniu on July 13, 2018 18:23
MacOS HighSierra 10.13.3
Node 9.6.1
NPM 6.1.0
I try to run npm run ios
on my Angular + NativeScript project. Project is CLEAN!
I used ng new app
and ng add @nativescript/schematics
iOS
CLI: (run tns --version
to fetch it) 4.1.2
Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.json
file in your project) 4.1.0
Runtime(s): (look for the "tns-android"
and "tns-ios"
properties in the
package.json
file of your project) tns-ios 4.1.1
Plugin(s): (look for the version number in the package.json
file of your
project) 0.0.0
The best approach would be to get your code running in the NativeScript Playground and share the link with us, along with any additional details or steps to reproduce needed for examining the issue there.
ng new angular-app
cd angular-app
ng add @nativescript/schematics
npm run ios
There are plenty of errors.
This one occured at the end.
JavaScript error: file:///app/vendor.js:55195:167: JS ERROR Error: Cannot find module "tns-core-modules/application"
.. but this kind of error occured multiple times with defferent 'Can't resolve' file.
ERROR in ../node_modules/tns-core-modules/bundle-entry-points.js Module not found: Error: Can't resolve 'ui/segmented-bar' in '/Users/franciszekstodulski/Develop/native-app/node_modules/tns-core-modules' @ ../node_modules/tns-core-modules/bundle-entry-points.js 29:67-94 @ ./main.ns.ts
Copied from original issue: NativeScript/NativeScript#6068
When running ng add @nativescript/schematics
, the @nativescript/schematics
should be install as development dependency. Instead it's installed as production dependency.
After issuing:
sudo yarn global add @nativescript/schematics
warning "@nativescript/[email protected]" has no binaries
'/Users/xxx/.npm-global/lib/node_modules'
total 0
0 drwxr-xr-x 6 root staff 192B Oct 10 17:05 ./
0 drwxr-xr-x 3 root staff 96B Oct 10 17:05 @angular-devkit/
0 drwxr-xr-x 3 root staff 96B Oct 10 17:02 @nativescript/
0 drwxr-xr-x 27 root staff 864B Oct 10 17:00 nativescript/
0 drwxr-xr-x 3 root staff 96B Oct 7 14:44 @angular/
I then try to use @nativescript/schematics:
ng new --collection=@nativescript/schematics --name=my-app
Could not find module "@nativescript/schematics" from "/Users/xxx/nscript".
Any suggestions why ng new doesn't recognize @nativescript/schematics?
It looks like ng new is looking in Users/xxx/.config/yarn/global/node_modules, but I don't see a @nativescript/schematics entry there.
Could not find module "@nativescript/schematics" from "/Users/jackhopkins/nscript".
Error: Could not find module "@nativescript/schematics" from "/Users/jackhopkins/nscript".
at Object.resolve (/Users/jackhopkins/.config/yarn/global/node_modules/@angular-devkit/core/node/resolve.js:141:11)
at NodeModulesEngineHost._resolvePackageJson (/Users/jackhopkins/.config/yarn/global/node_modules/@angular-devkit/schematics/tools/node-module-engine-host.js:28:21)
at NodeModulesEngineHost._resolveCollectionPath (/Users/jackhopkins/.config/yarn/global/node_modules/@angular-devkit/schematics/tools/node-module-engine-host.js:69:40)
at NodeModulesEngineHost.createCollectionDescription (/Users/jackhopkins/.config/yarn/global/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.js:111:27)
at SchematicEngine._createCollectionDescription (/Users/jackhopkins/.config/yarn/global/node_modules/@angular-devkit/schematics/src/engine/engine.js:147:40)
at SchematicEngine.createCollection (/Users/jackhopkins/.config/yarn/global/node_modules/@angular-devkit/schematics/src/engine/engine.js:140:43)
at NewCommand.getCollection (/Users/jackhopkins/.config/yarn/global/node_modules/@angular/cli/models/schematic-command.js:74:35)
at NewCommand.getOptions (/Users/jackhopkins/.config/yarn/global/node_modules/@angular/cli/models/schematic-command.js:292:33)
at NewCommand. (/Users/jackhopkins/.config/yarn/global/node_modules/@angular/cli/commands/new-impl.js:37:49)
at Generator.next ()
We can probably get rid of the nativescript-module
schematic and reuse the module
schematic instead. @sebawita, what do you think?
I've just tried following the installation / usage guide in the readme so I'm using the recommended version of angular cli.
After install I did the following command:
ng new --collection=@nativescript/schematics --name=my-shared-app --shared
And after that I did following inside the newly created project:
tns run ios --bundle --emulator
The app starts in the iOS simulator as expected, but I noticed that changes made in the files with the *.tns.ts are not refreshing the app.
The console writes:
File change detected. Starting incremental webpack compilation...
Webpack compilation complete. Watching for file changes.
Webpack build done!
main.ns.ts
However if I change in other files such *.html the changes are triggering the app to refresh.
Is this intended behaviour, or am I doing something wrong?
When I run ng add @nativescript/schematics
on an existing web app, I get:
A merge conflicted on path "/nsconfig.json".
The web app is built with CLI 6.1.0-rc.0
Nativescript schematics version: 0.1.3
Repro steps:
Make sure that version 6.1.0-rc.0 of the Angular CLI is installed.
ng new abc --style scss --routing
cd abc
ng add @nativescript/schematics
(--styles
and --routing
shouldn't matter I guess, but I always create the app with those flags)
Generating component with something like
ng g c dir/comp
Will modify the module to import Dir/compComponent
instead of CompComponent
this behavior exists whetherdir
is a module or a normal directory
Angular/cli version : 6.2.3
If you have a shared project with a custom web extension, the generation of new components won't update the modules. Example:
Structure
src/
app/
app.module.web.ts
...
Command
ng generate component random
Expected
The generated component should be declared inside app.module.web.ts
.
Actual
The command fails, because it cannot find a module to declare the component inside.
Need to update the ng-add
schematic to detect that scss is used by the web project and add necessary scss config for NativeScript
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.