[英]Stuck at “Dependency Graph, done.” in react-native npm start
When I do react-native init
> npm start
in the terminal of an empty folder, I get this: 当我做
react-native init
> npm start
在空文件夹的终端npm start
时,我得到这个:
SATPractice@0.0.1 start C:\\Users\\user\\OneDrive\\Desktop\\test node node_modules/react-native/local-cli/cli.js start
SATPractice@0.0.1启动C:\\ Users \\ user \\ OneDrive \\ Desktop \\ test node node_modules / react-native / local-cli / cli.js start
Scanning folders for symlinks in C:\\Users\\User\\OneDrive\\Desktop\\test\\node_modules (40ms) ┌──────────────────────────────────────────────────────────────────────────────┐ │
扫描C:\\ Users \\ User \\ OneDrive \\ Desktop \\ test \\ node_modules(40ms)中的符号链接文件夹┌─────────────────────── ────────────────────────────────────────────────── ─┐│
│ │ Running Metro Bundler on port 8081.││在端口8081上运行Metro Bundler。
│ │││
│ │ Keep Metro running while developing on any JS projects.││在任何JS项目上开发时保持Metro运行。 Feel free to │ │ close this tab and run your own Metro instance if you prefer.
如果您愿意,请随时关闭此选项卡并运行您自己的Metro实例。 │ │
││
│ │ https://github.com/facebook/react-native││https ://github.com/facebook/react-native
│ │││
│ └──────────────────────────────────────────────────────────────────────────────┘│└───────────────────────────────────────────────────────────────────────────────────────────────────── ──────────────────────────────┘
Looking for JS files in C:\\Users\\user\\OneDrive\\Desktop\\test
在C:\\ Users \\ user \\ OneDrive \\ Desktop \\ test中查找JS文件
Metro Bundler ready.
Metro Bundler准备就绪。
Loading dependency graph, done.
加载依赖图,完成。
Then it just hangs there.. forever. 然后它就会挂在那里......永远。 I tried waiting 30 minutes, still nothing.
我试着等了30分钟,仍然没有。 I'm on Windows 10, react version 0.55.3, and npm 5.5.1.
我在Windows 10上,反应版本0.55.3和npm 5.5.1。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.