Comments (12)
我看了一下源码:https://github.com/kenberkeley/react-demo/blob/master/package.json
依赖并没有丢失
因此,建议您:
rm -rf node_modules
npm i cnpm -g
cnpm i
from react-demo.
依然还是存在这种问题 node_modules中缺少一些modules 我是直接clone过来的
from react-demo.
建议手动 cnpm i nyan-progress-webpack-plugin -S
from react-demo.
嗯 我大概对照package.json看了一下 按说应该有50多个modules 实际安装了30多个 尤其像是babel这些都没有 是不是需要之前就已经全局安装过? 如果最后实在不行就只能手动一个个安装
from react-demo.
不可能会有那么麻烦的事情哦,您确定您是使用 cnpm
安装的?
from react-demo.
对 按着您的教程一步步来的 就出现这种问题 删掉node_module文件夹改用cnpm也是这样
from react-demo.
那我也表示爱莫能助了,毕竟我刚刚也重新 clone 然后安装运行,没有发现您所说的这个问题
from react-demo.
from react-demo.
若您使用的是 cnpm
,则跟 npm
的版本无关
from react-demo.
刚才的是我使用bash 这回我用cmd cnpm i 我发现dependencies的都安装了 但是devDependencies的没有安装
from react-demo.
要不换个 git bash 试一试?
from react-demo.
一开始用的就是git bash 这会又试了一次 还是不对 devDependencies 这里边的依赖好像都没有
from react-demo.
Related Issues (20)
- import后面加;报错 HOT 7
- 如何使用proxy HOT 2
- 安装报错 HOT 1
- Redux是把所有的数据都传递过来么,不是页面需要什么数据就传递什么数据么?如果是前者,会有性能问题;如果是后者,怎么做到的,通过Reducer? HOT 9
- run install错误信息 HOT 2
- 关于componentWillReceiveProps 无限循环问题 HOT 2
- npm install error HOT 2
- 直接运行不了 HOT 1
- chrome浏览器,版本号36无法打开。升级到最新的版本才能正常打开 HOT 9
- 使用build版本运行时,首次加载子页面,性能非常差,页面打开需要将近20s HOT 2
- 有些看不明白的地方想请教一下 HOT 1
- 不能运行... HOT 9
- 你好,我clone了你的项目 但是打包无法生效 HOT 4
- 如何编译asset中的less或者scss HOT 1
- 希望提供webpack2版本 HOT 5
- 感觉不错,可否增加代理 HOT 3
- 后端api配置的端口号是8989,webpack.dev配置的服务器端口是9090,会产生跨域问题,希望修复 HOT 1
- npm run build 报错 HOT 3
- 个人建议可以把前后端文件放到一个库里:https://github.com/kenberkeley/msg-board-api
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 react-demo.