Giter VIP home page Giter VIP logo

a2-serversettings's People

Contributors

angular-cli avatar spboyer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

dungnt8805

a2-serversettings's Issues

npm run serve-build fails

Hans@HP-HANS C:\Users\Hans\Web\js\angular20\a2-serversettings
$ npm run serve-build

[email protected] serve-build C:\Users\Hans\Web\js\angular20\a2-serversettings
rm -rf dist && npm run build:nodeserver && cd dist && npm i && NODE_ENV=development node server.js

[email protected] build:nodeserver C:\Users\Hans\Web\js\angular20\a2-serversettings
ng build && cp -R nodeserver/* dist

Build failed.
The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with:
Error: Typescript found the following errors:
C:/Users/Hans/Web/js/angular20/a2-serversettings/tmp/broccoli_type_script_compiler-input_base_path-DgB917NZ.tmp/0/src/main.ts (9, 1): Cannot find name 'fetch'.
at BroccoliTypeScriptCompiler._doIncrementalBuild (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:115:19)
at BroccoliTypeScriptCompiler.build (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:43:10)
at C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\broccoli-caching-writer\index.js:152:21
at lib$rsvp$$internal$$tryCatch (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1198:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)

The broccoli plugin was instantiated at:
at BroccoliTypeScriptCompiler.Plugin (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\broccoli-plugin\index.js:10:31)
at BroccoliTypeScriptCompiler.CachingWriter as constructor
at BroccoliTypeScriptCompiler (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:27:10)
at Angular2App._getTsTree (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\broccoli\angular2-app.js:321:18)
at Angular2App._buildTree (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\broccoli\angular2-app.js:116:23)
at new Angular2App (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\broccoli\angular2-app.js:53:23)
at module.exports (C:\Users\Hans\Web\js\angular20\a2-serversettings\angular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\models\builder.js:55:19)
at Class.module.exports.Task.extend.init (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\models\builder.js:89:10)
at new Class (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\core-object\core-object.js:18:12)
at Class.module.exports.Task.extend.run (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\tasks\build.js:15:19)
at C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\angular-cli\lib\commands\build.js:32:24
at lib$rsvp$$internal$$tryCatch (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\rsvp\dist\rsvp.js:1198:9)

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Hans\Web\js\angular20\a2-serversettings\node_modules\npm\bin\npm-cli.js" "run" "build:nodeserver" npm ERR! node v4.4.4
npm ERR! npm v2.14.21
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:nodeserver: ng build && cp -R nodeserver/* dist
npm ERR! Exit status 1
npm ERR!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.