Giter VIP home page Giter VIP logo

Comments (4)

musicq avatar musicq commented on June 14, 2024

你能把详细的报错发过来吗?

  1. 你全局安装 nodemon 了吗?或者你的 npm 安装成功了吗?

  2. 提示 undefined 是因为你的没有环境变量,建议你在启动 node 的时候使用

npm run server

他会先把你的环境变量改成 development,然后启动

  1. pm2 是一个node 的进程管理 http://pm2.keymetrics.io/

  2. 这是 express 的一个推荐目录形式,你可以看看 这里

如果你只是学习 angular2 的话,不会用到 node 的东西,我建议可以直接使用 @AngularClassangular2-webpack-starter,我这里是把angular2 跟 express 集成起来了,使用了 ng2 的新路由特性,因为之前也有人分享过类似的库,这里,但是他用的还是老的 ng 路由套路,也就是使用 # 来分割路径,太俗了,我就自己搭了一个。

写给自己。。看来是时候更新一下了。。

from angular2-webpack-express-starter.

xiaodiao1212 avatar xiaodiao1212 commented on June 14, 2024

我这边用他这个框架启动是没有问题的!

from angular2-webpack-express-starter.

qssm521 avatar qssm521 commented on June 14, 2024

我也是新学这个的.并且也用你这的这个跑了一下. 启动是没有没问题. 但是页面就是一个蓝色的底,没有看到有你设置的那几个导航什么的.

from angular2-webpack-express-starter.

musicq avatar musicq commented on June 14, 2024

那估计是有错误、你打开console看看

from angular2-webpack-express-starter.

Related Issues (3)

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.