kenberkeley / react-demo

React 示例项目 · 简易留言板。本项目拥有完善的文档说明与注释,让您快速上手 React 开发 SPA。Webpack / ES6 + Babel / Redux / React Router —— An Excellent React Starter,可能是东半球最佳的 React Starter,基于 Vue Cli 二次开发
1.91k stars 537 forks source link

不能运行... #36

Closed TongDaDa closed 7 years ago

TongDaDa commented 7 years ago

react-demo@0.1.0 start F:\works\projects\react-demo-master cross-env NODE_ENV=development node build/dev.js

'cross-env' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò »òÅú´¦ÀíÎļþ¡£

kenberkeley commented 7 years ago

建议按照 #1 执行

TongDaDa commented 7 years ago

image

kenberkeley commented 7 years ago

您可以全局安装 cross-envcnpm i -g cross-env 后,自己敲命令: cross-env NODE_ENV=development node build/dev.js 测试一下

TongDaDa commented 7 years ago

我用npm安装的,没用cnpm

kenberkeley commented 7 years ago

没区别

TongDaDa commented 7 years ago

可以了,哈哈

TongDaDa commented 7 years ago

非常感谢

kenberkeley commented 7 years ago

建议使用 git clone 而不是下载 zip 代码压缩包,皆因会有编码问题

TongDaDa commented 7 years ago

我不运行msg-board-ap也可以啊