BrowserslistError: Unknown browser query basedir=$(dirname "$(echo "$0" | sed -e 's
Description: After starting a new Ionic project, I am not able compile and launch it in my browser. My localhost Firefox launches but the start up blank project fails with the message "Cannot GET /" while the terminal says "[ng] i 「wdm」: Failed to compile".
Steps to Reproduce:
- npm uninstall ionic
- npm install -g ionic
- ionic start testProject blank
- Install the free Ionic Appflow SDK and connect your app? No
- cd testproject
- ionic serve
Output: C:\Users\sb\testproject>ionic serve
ng run app:serve --host=0.0.0.0 --port=8100 [ng] WARNING: This is a simple server for use in testing or debugging Angular applications [ng] locally. It hasn't been reviewed for security issues. [ng] Binding this server to an open connection can result in compromising your application or [ng] computer. Using a different host than the one passed to the "--host" flag might result in [ng] websocket connection issues. You might need to use "--disableHostCheck" if that's the [ng] case. [INFO] Waiting for connectivity with ng...
[INFO] Development server running!
Local: http://localhost:8100
External: http://192.168.250.4:8100
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
[ng] i 「wdm」: wait until bundle finished: /
[ng] Date: 2019-02-19T02:34:22.624Z
[ng] Hash: 4a37a803e57bb1f77213
[ng] Time: 20502ms
[ng]
[ng] ERROR in ./src/theme/variables.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/theme/variables.scss)
[ng] Module build failed (from ./node_modules/postcss-loader/src/index.js):
[ng] BrowserslistError: Unknown browser query basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist or made typo in query.
[ng] at unknownQuery (C:\Users\sb\testproject\node_modules\browserslist\index.js:137:10)
[ng] at C:\Users\sb\testproject\node_modules\browserslist\index.js:217:11
[ng] at Array.reduce (basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist or made typo in query.
[ng] at unknownQuery (C:\Users\sb\testproject\node_modules\browserslist\index.js:137:10)
[ng] at C:\Users\sb\testproject\node_modules\browserslist\index.js:217:11
[ng] at Array.reduce (basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist or made typo in query.
[ng] at unknownQuery (C:\Users\sb\testproject\node_modules\browserslist\index.js:137:10)
[ng] at C:\Users\sb\testproject\node_modules\browserslist\index.js:217:11
[ng] at Array.reduce (
Finally, I use Crtl + C to Terminate batch job.
My ionic info:
Ionic:
ionic (Ionic CLI) : 4.10.3 (C:\Users\sb\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.0
System:
NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10
Other Information:
I ran into this issue after updating ionic shortly after the version was officially released.
This is an issue with a dependency within the Angular CLI. See https://github.com/angular/angular-cli/issues/5075 and https://github.com/angular/angular-cli/issues/3938
Did anyone found any solution in this issue?
@dwieeb , Also i have tried tabs template, but didn't works
Hi guys,
See more about ionic start myApp blank and ionic serve flows:
It may be helpful , before it not happened.
PS F:\HybridMobileApp> ionic start myApp blank
√ Preparing directory .\myApp - done!
√ Downloading and extracting blank starter - done!
Installing dependencies may take several minutes.
* IONIC DEVAPP *
Speed up development with the Ionic DevApp, our fast, on-device testing mobile app
-
Test on iOS and Android without Native SDKs -
LiveReload for instant style and JS updates
--> Install DevApp: https://bit.ly/ionic-dev-app <--
────────────────────────────────────────────────────────────
npm i F:\HybridMobileApp\myApp\parser -> F:\HybridMobileApp\myApp\node_modules@babel\parser\bin\babel-parser.js F:\HybridMobileApp\myApp\acorn -> F:\HybridMobileApp\myApp\node_modules\acorn\bin\acorn F:\HybridMobileApp\myApp\ansi-html -> F:\HybridMobileApp\myApp\node_modules\ansi-html\bin\ansi-html F:\HybridMobileApp\myApp\atob -> F:\HybridMobileApp\myApp\node_modules\atob\bin\atob.js F:\HybridMobileApp\myApp\babylon -> F:\HybridMobileApp\myApp\node_modules\babylon\bin\babylon.js F:\HybridMobileApp\myApp\cssesc -> F:\HybridMobileApp\myApp\node_modules\cssesc\bin\cssesc F:\HybridMobileApp\myApp\esparse -> F:\HybridMobileApp\myApp\node_modules\esprima\bin\esparse.js F:\HybridMobileApp\myApp\esvalidate -> F:\HybridMobileApp\myApp\node_modules\esprima\bin\esvalidate.js F:\HybridMobileApp\myApp\image-size -> F:\HybridMobileApp\myApp\node_modules\image-size\bin\image-size.js F:\HybridMobileApp\myApp\not-in-publish -> F:\HybridMobileApp\myApp\node_modules\in-publish\not-in-publish.js F:\HybridMobileApp\myApp\not-in-install -> F:\HybridMobileApp\myApp\node_modules\in-publish\not-in-install.js F:\HybridMobileApp\myApp\in-install -> F:\HybridMobileApp\myApp\node_modules\in-publish\in-install.js F:\HybridMobileApp\myApp\in-publish -> F:\HybridMobileApp\myApp\node_modules\in-publish\in-publish.js F:\HybridMobileApp\myApp\jsesc -> F:\HybridMobileApp\myApp\node_modules\jsesc\bin\jsesc F:\HybridMobileApp\myApp\loose-envify -> F:\HybridMobileApp\myApp\node_modules\loose-envify\cli.js F:\HybridMobileApp\myApp\miller-rabin -> F:\HybridMobileApp\myApp\node_modules\miller-rabin\bin\miller-rabin F:\HybridMobileApp\myApp\mime -> F:\HybridMobileApp\myApp\node_modules\mime\cli.js F:\HybridMobileApp\myApp\blocking-proxy -> F:\HybridMobileApp\myApp\node_modules\blocking-proxy\built\lib\bin.js F:\HybridMobileApp\myApp\json5 -> F:\HybridMobileApp\myApp\node_modules\json5\lib\cli.js F:\HybridMobileApp\myApp\mkdirp -> F:\HybridMobileApp\myApp\node_modules\mkdirp\bin\cmd.js F:\HybridMobileApp\myApp\nopt -> F:\HybridMobileApp\myApp\node_modules\nopt\bin\nopt.js F:\HybridMobileApp\myApp\errno -> F:\HybridMobileApp\myApp\node_modules\errno\cli.js F:\HybridMobileApp\myApp\regjsparser -> F:\HybridMobileApp\myApp\node_modules\regjsparser\bin\parser F:\HybridMobileApp\myApp\import-local-fixture -> F:\HybridMobileApp\myApp\node_modules\import-local\fixtures\cli.js F:\HybridMobileApp\myApp\semver -> F:\HybridMobileApp\myApp\node_modules\semver\bin\semver F:\HybridMobileApp\myApp\browserslist -> F:\HybridMobileApp\myApp\node_modules\browserslist\cli.js F:\HybridMobileApp\myApp\sha.js -> F:\HybridMobileApp\myApp\node_modules\sha.js\bin.js F:\HybridMobileApp\myApp\js-yaml -> F:\HybridMobileApp\myApp\node_modules\js-yaml\bin\js-yaml.js F:\HybridMobileApp\myApp\strip-indent -> F:\HybridMobileApp\myApp\node_modules\strip-indent\cli.js F:\HybridMobileApp\myApp\autoprefixer -> F:\HybridMobileApp\myApp\node_modules\autoprefixer\bin\autoprefixer F:\HybridMobileApp\myApp\terser -> F:\HybridMobileApp\myApp\node_modules\terser\bin\uglifyjs F:\HybridMobileApp\myApp\JSONStream -> F:\HybridMobileApp\myApp\node_modules\JSONStream\bin.js F:\HybridMobileApp\myApp\multicast-dns -> F:\HybridMobileApp\myApp\node_modules\multicast-dns\cli.js F:\HybridMobileApp\myApp\tree-kill -> F:\HybridMobileApp\myApp\node_modules\tree-kill\cli.js F:\HybridMobileApp\myApp\sshpk-sign -> F:\HybridMobileApp\myApp\node_modules\sshpk\bin\sshpk-sign F:\HybridMobileApp\myApp\sshpk-conv -> F:\HybridMobileApp\myApp\node_modules\sshpk\bin\sshpk-conv F:\HybridMobileApp\myApp\sshpk-verify -> F:\HybridMobileApp\myApp\node_modules\sshpk\bin\sshpk-verify F:\HybridMobileApp\myApp\uglifyjs -> F:\HybridMobileApp\myApp\node_modules\uglify-js\bin\uglifyjs F:\HybridMobileApp\myApp\uuid -> F:\HybridMobileApp\myApp\node_modules\uuid\bin\uuid F:\HybridMobileApp\myApp\lessc -> F:\HybridMobileApp\myApp\node_modules\less\bin\lessc F:\HybridMobileApp\myApp\build-optimizer -> F:\HybridMobileApp\myApp\node_modules@angular-devkit\build-optimizer\src\build-optimizer\cli.js F:\HybridMobileApp\myApp\which -> F:\HybridMobileApp\myApp\node_modules\which\bin\which F:\HybridMobileApp\myApp\handlebars -> F:\HybridMobileApp\myApp\node_modules\handlebars\bin\handlebars F:\HybridMobileApp\myApp\jasmine -> F:\HybridMobileApp\myApp\node_modules\jasmine\bin\jasmine.js F:\HybridMobileApp\myApp\rimraf -> F:\HybridMobileApp\myApp\node_modules\rimraf\bin.js F:\HybridMobileApp\myApp\node-gyp -> F:\HybridMobileApp\myApp\node_modules\node-gyp\bin\node-gyp.js F:\HybridMobileApp\myApp\shjs -> F:\HybridMobileApp\myApp\node_modules\shelljs\bin\shjs F:\HybridMobileApp\myApp\stylus -> F:\HybridMobileApp\myApp\node_modules\stylus\bin\stylus F:\HybridMobileApp\myApp\webpack -> F:\HybridMobileApp\myApp\node_modules\webpack\bin\webpack.js F:\HybridMobileApp\myApp\webpack-dev-server -> F:\HybridMobileApp\myApp\node_modules\webpack-dev-server\bin\webpack-dev-server.jsF:\HybridMobileApp\myApp\sassgraph -> F:\HybridMobileApp\myApp\node_modules\sass-graph\bin\sassgraph F:\HybridMobileApp\myApp\node-sass -> F:\HybridMobileApp\myApp\node_modules\node-sass\bin\node-sass F:\HybridMobileApp\myApp\ng -> F:\HybridMobileApp\myApp\node_modules@angular\cli\bin\ng F:\HybridMobileApp\myApp\ivy-ngcc -> F:\HybridMobileApp\myApp\node_modules@angular\compiler-cli\src\ngcc\main-ngcc.js F:\HybridMobileApp\myApp\ng-xi18n -> F:\HybridMobileApp\myApp\node_modules@angular\compiler-cli\src\extract_i18n.js F:\HybridMobileApp\myApp\ngc -> F:\HybridMobileApp\myApp\node_modules@angular\compiler-cli\src\main.js F:\HybridMobileApp\myApp\karma -> F:\HybridMobileApp\myApp\node_modules\karma\bin\karma F:\HybridMobileApp\myApp\webdriver-manager -> F:\HybridMobileApp\myApp\node_modules\protractor\bin\webdriver-manager F:\HybridMobileApp\myApp\protractor -> F:\HybridMobileApp\myApp\node_modules\protractor\bin\protractor F:\HybridMobileApp\myApp\ts-node -> F:\HybridMobileApp\myApp\node_modules\ts-node\dist\bin.js F:\HybridMobileApp\myApp\tslint -> F:\HybridMobileApp\myApp\node_modules\tslint\bin\tslint F:\HybridMobileApp\myApp\tsserver -> F:\HybridMobileApp\myApp\node_modules\typescript\bin\tsserver F:\HybridMobileApp\myApp\tsc -> F:\HybridMobileApp\myApp\node_modules\typescript\bin\tsc
[email protected] install F:\HybridMobileApp\myApp\node_modules\node-sass node scripts/install.js
Cached binary found at C:\Users\Manzoor Alam\AppData\Roaming\npm-cache\node-sass\4.12.0\win32-x64-64_binding.node
[email protected] postinstall F:\HybridMobileApp\myApp\node_modules\core-js node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
[email protected] postinstall F:\HybridMobileApp\myApp\node_modules\node-sass node scripts/build.js
Binary found at F:\HybridMobileApp\myApp\node_modules\node-sass\vendor\win32-x64-64\binding.node Testing binary Binary is fine npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1119 packages from 1050 contributors in 161.71s
git init Initialized empty Git repository in F:/HybridMobileApp/myApp/.git/
* IONIC APPFLOW *
Supercharge your Ionic development with the Ionic Appflow SDK
- Push remote updates and skip the app store queue
Learn more about Ionic Appflow: https://ion.link/appflow
────────────────────────────────────────────────────────────
? Install the free Ionic Appflow SDK and connect your app? No
git add -A warning: LF will be replaced by CRLF in .gitignore. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in JSONStream. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in acorn. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in angular.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ansi-html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in atob. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in autoprefixer. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in babylon. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in blocking-proxy. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in browserslist. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in build-optimizer. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in cssesc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in e2e/protractor.conf.js. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in e2e/src/app.po.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in e2e/tsconfig.e2e.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in errno. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in esparse. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in esvalidate. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in handlebars. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in image-size. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in import-local-fixture. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in in-install. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in in-publish. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ionic.config.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ivy-ngcc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in jasmine. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in js-yaml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in jsesc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in json5. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in karma. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in lessc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in loose-envify. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in miller-rabin. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in mime. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in mkdirp. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in multicast-dns. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ng. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ng-xi18n. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ngc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in node-gyp. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in node-sass. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in nopt. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in not-in-install. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in not-in-publish. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in package.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in parser. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in protractor. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in regjsparser. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in rimraf. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in sassgraph. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in semver. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in sha.js. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in shjs. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app-routing.module.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.component.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.component.spec.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.component.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.module.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.scss. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/home/home.module.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/home/home.page.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/home/home.page.scss. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/home/home.page.spec.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/home/home.page.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/assets/shapes.svg. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/environments/environment.prod.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/environments/environment.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/global.scss. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/karma.conf.js. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/main.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/polyfills.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/test.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/theme/variables.scss. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/tsconfig.app.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/tsconfig.spec.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/tslint.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/zone-flags.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in sshpk-conv. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in sshpk-sign. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in sshpk-verify. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in strip-indent. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in stylus. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in terser. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tree-kill. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in ts-node. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tsc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tsconfig.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tslint. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tslint.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tsserver. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in uglifyjs. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in uuid. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in webdriver-manager. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in webpack. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in webpack-dev-server. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in which. The file will have its original line endings in your working directory git commit -m "Initial commit" --no-gpg-sign [master (root-commit) 1b79e82] Initial commit 162 files changed, 2302 insertions(+) create mode 100644 .gitignore create mode 100644 JSONStream create mode 100644 JSONStream.cmd create mode 100644 acorn create mode 100644 acorn.cmd create mode 100644 angular.json create mode 100644 ansi-html create mode 100644 ansi-html.cmd create mode 100644 atob create mode 100644 atob.cmd create mode 100644 autoprefixer create mode 100644 autoprefixer.cmd create mode 100644 babylon create mode 100644 babylon.cmd create mode 100644 blocking-proxy create mode 100644 blocking-proxy.cmd create mode 100644 browserslist create mode 100644 browserslist.cmd create mode 100644 build-optimizer create mode 100644 build-optimizer.cmd create mode 100644 cssesc create mode 100644 cssesc.cmd create mode 100644 e2e/protractor.conf.js create mode 100644 e2e/src/app.e2e-spec.ts create mode 100644 e2e/src/app.po.ts create mode 100644 e2e/tsconfig.e2e.json create mode 100644 errno create mode 100644 errno.cmd create mode 100644 esparse create mode 100644 esparse.cmd create mode 100644 esvalidate create mode 100644 esvalidate.cmd create mode 100644 handlebars create mode 100644 handlebars.cmd create mode 100644 image-size create mode 100644 image-size.cmd create mode 100644 import-local-fixture create mode 100644 import-local-fixture.cmd create mode 100644 in-install create mode 100644 in-install.cmd create mode 100644 in-publish create mode 100644 in-publish.cmd create mode 100644 ionic.config.json create mode 100644 ivy-ngcc create mode 100644 ivy-ngcc.cmd create mode 100644 jasmine create mode 100644 jasmine.cmd create mode 100644 js-yaml create mode 100644 js-yaml.cmd create mode 100644 jsesc create mode 100644 jsesc.cmd create mode 100644 json5 create mode 100644 json5.cmd create mode 100644 karma create mode 100644 karma.cmd create mode 100644 lessc create mode 100644 lessc.cmd create mode 100644 loose-envify create mode 100644 loose-envify.cmd create mode 100644 miller-rabin create mode 100644 miller-rabin.cmd create mode 100644 mime create mode 100644 mime.cmd create mode 100644 mkdirp create mode 100644 mkdirp.cmd create mode 100644 multicast-dns create mode 100644 multicast-dns.cmd create mode 100644 ng create mode 100644 ng-xi18n create mode 100644 ng-xi18n.cmd create mode 100644 ng.cmd create mode 100644 ngc create mode 100644 ngc.cmd create mode 100644 node-gyp create mode 100644 node-gyp.cmd create mode 100644 node-sass create mode 100644 node-sass.cmd create mode 100644 nopt create mode 100644 nopt.cmd create mode 100644 not-in-install create mode 100644 not-in-install.cmd create mode 100644 not-in-publish create mode 100644 not-in-publish.cmd create mode 100644 package.json create mode 100644 parser create mode 100644 parser.cmd create mode 100644 protractor create mode 100644 protractor.cmd create mode 100644 regjsparser create mode 100644 regjsparser.cmd create mode 100644 rimraf create mode 100644 rimraf.cmd create mode 100644 sassgraph create mode 100644 sassgraph.cmd create mode 100644 semver create mode 100644 semver.cmd create mode 100644 sha.js create mode 100644 sha.js.cmd create mode 100644 shjs create mode 100644 shjs.cmd create mode 100644 src/app/app-routing.module.ts create mode 100644 src/app/app.component.html create mode 100644 src/app/app.component.spec.ts create mode 100644 src/app/app.component.ts create mode 100644 src/app/app.module.ts create mode 100644 src/app/app.scss create mode 100644 src/app/home/home.module.ts create mode 100644 src/app/home/home.page.html create mode 100644 src/app/home/home.page.scss create mode 100644 src/app/home/home.page.spec.ts create mode 100644 src/app/home/home.page.ts create mode 100644 src/assets/icon/favicon.png create mode 100644 src/assets/shapes.svg create mode 100644 src/environments/environment.prod.ts create mode 100644 src/environments/environment.ts create mode 100644 src/global.scss create mode 100644 src/index.html create mode 100644 src/karma.conf.js create mode 100644 src/main.ts create mode 100644 src/polyfills.ts create mode 100644 src/test.ts create mode 100644 src/theme/variables.scss create mode 100644 src/tsconfig.app.json create mode 100644 src/tsconfig.spec.json create mode 100644 src/tslint.json create mode 100644 src/zone-flags.ts create mode 100644 sshpk-conv create mode 100644 sshpk-conv.cmd create mode 100644 sshpk-sign create mode 100644 sshpk-sign.cmd create mode 100644 sshpk-verify create mode 100644 sshpk-verify.cmd create mode 100644 strip-indent create mode 100644 strip-indent.cmd create mode 100644 stylus create mode 100644 stylus.cmd create mode 100644 terser create mode 100644 terser.cmd create mode 100644 tree-kill create mode 100644 tree-kill.cmd create mode 100644 ts-node create mode 100644 ts-node.cmd create mode 100644 tsc create mode 100644 tsc.cmd create mode 100644 tsconfig.json create mode 100644 tslint create mode 100644 tslint.cmd create mode 100644 tslint.json create mode 100644 tsserver create mode 100644 tsserver.cmd create mode 100644 uglifyjs create mode 100644 uglifyjs.cmd create mode 100644 uuid create mode 100644 uuid.cmd create mode 100644 webdriver-manager create mode 100644 webdriver-manager.cmd create mode 100644 webpack create mode 100644 webpack-dev-server create mode 100644 webpack-dev-server.cmd create mode 100644 webpack.cmd create mode 100644 which create mode 100644 which.cmd
[INFO] Next Steps:
- Go to your newly created project: cd .\myApp
- Run ionic serve within the app directory to see your app
- Build features and components: https://ion.link/scaffolding-docs
- Get Ionic DevApp for easy device testing: https://ion.link/devapp
PS F:\HybridMobileApp>
ionic serve
PS F:\HybridMobileApp\myApp> ionic serve
ng run app:serve --host=0.0.0.0 --port=8102 [ng] WARNING: This is a simple server for use in testing or debugging Angular applications [ng] locally. It hasn't been reviewed for security issues. [ng] Binding this server to an open connection can result in compromising your application or [ng] computer. Using a different host than the one passed to the "--host" flag might result in [ng] websocket connection issues. You might need to use "--disableHostCheck" if that's the [ng] case. [INFO] Waiting for connectivity with ng...
[INFO] Development server running!
Local: http://localhost:8102
External: http://192.168.1.198:8102
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8102!
[ng] i 「wdm」: wait until bundle finished: /
[ng] Date: 2019-07-01T09:45:10.664Z
[ng] Hash: 970486838483712d6fdc
[ng] Time: 19502ms
[ng]
[ng] ERROR in ./src/app/app.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/app/app.scss)
[ng] Module build failed (from ./node_modules/postcss-loader/src/index.js):
[ng] BrowserslistError: Unknown browser query basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist
or made typo in query.
[ng] at unknownQuery (F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:204:10)
[ng] at F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:296:11
[ng] at Array.reduce (basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist
or made typo in query.
[ng] at unknownQuery (F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:204:10)
[ng] at F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:296:11
[ng] at Array.reduce (basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist
or made typo in query.
[ng] at unknownQuery (F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:204:10)
[ng] at F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:296:11
[ng] at Array.reduce (basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist
or made typo in query.
[ng] at unknownQuery (F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:204:10)
[ng] at F:\HybridMobileApp\myApp\node_modules\browserslist\index.js:296:11
[ng] at Array.reduce (
The problem is due to improper configuration and installation of ionic and @angular/cli. Points to be check:
- npm config set prefix must point to %APPDATA%/npm
- angular cli is installed in %APPDATA%/npm
thats it. Possibly any of the above is not configured properly in your case.
Hey, Does anyone found solution for this Error