错误:意外的令牌<评估http:// localhost:3000 / lib / rxjs评估http:// localhost:3000 / app / main.js

时间:2018-06-07 13:32:11

标签: javascript angular rxjs

我只学习Pluralsight - 将Angular与Node.js RESTful服务集成

错误:意外的令牌<   评估http://localhost:3000/lib/rxjs   评估http://localhost:3000/app/main.js

Sourcode:https://github.com/DanWahlin/Angular-NodeJS-MongoDB-CustomersService

错误 https://photos.app.goo.gl/UUywdfkvYWo4uC1z1

npm start“工作不错” https://photos.app.goo.gl/8DWQFnA2RtsypKos2

package.json
{
    "name": "angular-nodejs-mongodb-customersservice",
    "version": "1.0.0",
    "repository": {
        "url": "https://github.com/DanWahlin/Angular-NodeJS-MongoDB-CustomersService"
    },
    "license": "MIT",
    "scripts": {
        "tsc": "tsc",
        "tsc:w": "tsc -w",
        "server": "node server.js",
        "start": "concurrently \"npm run tsc:w\" \"nodemon server.js\""
    },
    "dependencies": {
        "@angular/animations": "^6.0.4",
        "@angular/common": "^6.0.4",
        "@angular/compiler": "^6.0.4",
        "@angular/core": "^6.0.4",
        "@angular/forms": "^6.0.4",
        "@angular/http": "^6.0.4",
        "@angular/platform-browser": "^6.0.4",
        "@angular/platform-browser-dynamic": "^6.0.4",
        "@angular/router": "^6.0.4",
        "body-parser": "^1.18.3",
        "cookie-parser": "^1.4.3",
        "core-js": "^2.5.7",
        "csurf": "^1.9.0",
        "errorhandler": "^1.5.0",
        "express": "^4.16.3",
        "express-handlebars": "^3.0.0",
        "express-session": "^1.15.6",
        "handlebars": "^4.0.11",
        "handlebars-helpers": "^0.10.0",
        "handlebars-layouts": "^3.1.4",
        "hbs": "^4.0.1",
        "mongoose": "^5.1.4",
        "morgan": "^1.9.0",
        "rxjs": "^6.2.0",
        "serve-favicon": "^2.5.0",
        "systemjs": "^0.21.4",
        "zone.js": "^0.8.26"
    },
    "devDependencies": {
        "@types/node": "^10.1.2",
        "concurrently": "^3.5.1",
        "del": "^3.0.0",
        "gulp": "^3.9.1",
        "gulp-concat": "^2.6.1",
        "gulp-csso": "^3.0.1",
        "gulp-plumber": "^1.2.0",
        "gulp-sass": "^4.0.1",
        "gulp-uglify": "^3.0.0",
        "lite-server": "^2.3.0",
        "run-sequence": "^2.2.1",
        "typescript": "^2.9.1"
    }
}

enter image description here

0 个答案:

没有答案