Comments (4)
你能把详细的报错发过来吗?
-
你全局安装 nodemon 了吗?或者你的 npm 安装成功了吗?
-
提示
undefined
是因为你的没有环境变量,建议你在启动 node 的时候使用
npm run server
他会先把你的环境变量改成 development,然后启动
-
pm2 是一个node 的进程管理 http://pm2.keymetrics.io/
-
这是 express 的一个推荐目录形式,你可以看看 这里
如果你只是学习 angular2 的话,不会用到 node 的东西,我建议可以直接使用 @AngularClass 的 angular2-webpack-starter,我这里是把angular2 跟 express 集成起来了,使用了 ng2 的新路由特性,因为之前也有人分享过类似的库,这里,但是他用的还是老的 ng 路由套路,也就是使用 #
来分割路径,太俗了,我就自己搭了一个。
写给自己。。看来是时候更新一下了。。
from angular2-webpack-express-starter.
我这边用他这个框架启动是没有问题的!
from angular2-webpack-express-starter.
我也是新学这个的.并且也用你这的这个跑了一下. 启动是没有没问题. 但是页面就是一个蓝色的底,没有看到有你设置的那几个导航什么的.
from angular2-webpack-express-starter.
那估计是有错误、你打开console看看
from angular2-webpack-express-starter.
Related Issues (3)
- err HOT 1
- 开发环境和生产环境问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-webpack-express-starter.