Skip to content

Instantly share code, notes, and snippets.

@neomatrix369
Last active January 6, 2018 22:33
Show Gist options
  • Save neomatrix369/55ebf2658f71f8e2361ebaa4a4dd3b34 to your computer and use it in GitHub Desktop.
Save neomatrix369/55ebf2658f71f8e2361ebaa4a4dd3b34 to your computer and use it in GitHub Desktop.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "schedule"
},
"apps": [
{
"root": ".",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"prefix": "bc",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "./tsconfig.app.json"
},
{
"project": "./tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
@neomatrix369
Copy link
Author

± ng serve

And you get

Your global Angular CLI version (1.6.3) is greater than your local
version (1.0.4). The local Angular CLI version is used.

To disable this warning use "ng set --global warnings.versionMismatch=false".
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200 **
Hash: c094c2c34397af165dca                                                               
Time: 7790ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 194 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 116 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 14.8 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.52 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.

@neomatrix369
Copy link
Author

$ sbt run

gives


> devoxx@0.0.0 prebuildProd /home/satyasai/LJCAdvocate/DevoxxUK/CallForPapers/schedule
> npm install

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

> devoxx@0.0.0 buildProd /home/satyasai/LJCAdvocate/DevoxxUK/CallForPapers/schedule
> ng build --environment=prod --aot=false

Hash: 60c652cb5699921dc023                                                               
Time: 8615ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 194 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 116 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 14.8 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.22 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

> devoxx@0.0.0 prebuildProd /home/satyasai/LJCAdvocate/DevoxxUK/CallForPapers/schedule
> npm install

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

> devoxx@0.0.0 buildProd /home/satyasai/LJCAdvocate/DevoxxUK/CallForPapers/schedule
> ng build --environment=prod --aot=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment