This is a nice tutorial but something is missing.  First it says start with 
server lite and see the one component quickstart which works.  Then it goes 
to a lot of trouble telling you to move all these quickstart files to 
NGINX.  I got NGINX working but I am getting errors below and trying to 
track down the errors to complete tutorial.   It would be super helpful 
tutorial if it all worked.
https://www.tutorialspoint.com/angular2/angular2_hello_world.htm

Failed to load resource: the server responded with a status of 404 (Not 
Found)
zone.js Failed to load resource: the server responded with a status of 404 
(Not Found)
node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
 
Failed to load resource: the server responded with a status of 403 
(Forbidden)
index.html:18 Error: (SystemJS) XHR error (403 Forbidden) loading 
http://localhost:81/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
Error: XHR error (403 Forbidden) loading 
http://localhost:81/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
Error loading 
http://localhost:81/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
 
as "@angular/platform-browser-dynamic" from http://localhost:81/main.js
(anonymous) @ index.html:18
node_modules/@angular/core/bundles/core.umd.js Failed to load resource: the 
server responded with a status of 403 (Forbidden)
node_modules/@angular/platform-browser/bundles/platform-browser.umd.js 
Failed to load resource: the server responded with a status of 403 
(Forbidden)

 appears  to be related to the package.json where it starts line 4 with 
"scripts":{....
Can't find the zone.js, shim.min.js, system.src.js, or systemjs.config.js 
 .  Are these in node_modules or are they in the PACKAGE.json file below. 
 Can you help me get it configured and get rid of these errors?  Tnx,

PACKAGE.JSON

{

  "name": "angular-quickstart",

  "version": "1.0.0",

  "description": "QuickStart package.json from the documentation, 
supplemented with testing support",

  "scripts": {

    "build": "tsc -p src/",

    "build:watch": "tsc -p src/ -w",

    "build:e2e": "tsc -p e2e/",

    "serve": "lite-server -c=bs-config.json",

    "serve:e2e": "lite-server -c=bs-config.e2e.json",

    "prestart": "npm run build",

    "start": "concurrently \"npm run build:watch\" \"npm run serve\"",

    "pree2e": "npm run build:e2e",

    "e2e": "concurrently \"npm run serve:e2e\" \"npm run protractor\" 
--kill-others --success first",

    "preprotractor": "webdriver-manager update",

    "protractor": "protractor protractor.config.js",

    "pretest": "npm run build",

    "test": "concurrently \"npm run build:watch\" \"karma start 
karma.conf.js\"",

    "pretest:once": "npm run build",

    "test:once": "karma start karma.conf.js --single-run",

    "lint": "tslint ./src/**/*.ts -t verbose"

  },

  "keywords": [],

  "author": "",

  "license": "MIT",

  "dependencies": {

    "@angular/common": "~4.0.0",

    "@angular/compiler": "~4.0.0",

    "@angular/core": "~4.0.0",

    "@angular/forms": "~4.0.0",

    "@angular/http": "~4.0.0",

    "@angular/platform-browser": "~4.0.0",

    "@angular/platform-browser-dynamic": "~4.0.0",

    "@angular/router": "~4.0.0",

    "angular-in-memory-web-api": "~0.3.0",

    "systemjs": "0.19.40",

    "core-js": "^2.4.1",

    "rxjs": "5.0.1",

    "zone.js": "^0.8.4"

  },

  "devDependencies": {

    "concurrently": "^3.2.0",

    "lite-server": "^2.2.2",

    "typescript": "~2.1.0",

    "canonical-path": "0.0.2",

    "tslint": "^3.15.1",

    "lodash": "^4.16.4",

    "jasmine-core": "~2.4.1",

    "karma": "^1.3.0",

    "karma-chrome-launcher": "^2.0.0",

    "karma-cli": "^1.0.1",

    "karma-jasmine": "^1.0.2",

    "karma-jasmine-html-reporter": "^0.2.2",

    "protractor": "~4.0.14",

    "rimraf": "^2.5.4",

    "@types/node": "^6.0.46",

    "@types/jasmine": "2.5.36"

  },

  "repository": {}

}

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to