1. NPM installation global package path error caused by NVM-Windows cannot be used. 4h
- Yes, the article on Zhihu was officially published by Yuxi.
- Computer housekeeper anti-virus great effect.
- After repeated attempts, QQ asked that running as CMD administrator was still not feasible.
+ If the computer reinstalls the system, it also changes the contents of the system disk on disk C. + Found that the Node guide url is not available, node another book describes the installation method, you can read.Copy the code
2.react
- NPM can’t install the create-react-app cli directly, so it’s stranded….
3. Wechat mini program
- Flex layout problem on the computer web page is feasible, but in the wechat platform is not feasible, is not where the configuration of the problem, the source code has not been found.
- Flexible Box Layout (Flexbox) Applies to flex Containers and Flex items
- Main axis Auxiliary axis cross axis Main size
- Justification justification -content:flex-start/flex-end/center/space-between/space-around
- Auxiliary axis alignment alignment min-height:100px; align-items:stretch/flex-start/center/flex-end/baseline
- Align-self: flex-start/ margin-right:auto;
- Vertical align margin:auto; Or the justify – content: center; align-items:center;
- Flex :flex-basis flex-grow flex-shrink;
- What if flexbox doesn’t work? Baseline (can be floating positioning or @support(flex-wrap:wrap), then enhanced)
- Flexbox with bug URL and some tips
4. Problems and solutions
NPM takes too long to solve, still need to improve efficiency and quality, reinstall Win7 system, and read Node books. The big boys/big gods/big oxen are very proficient in language LE. They are studying architecture and creating new languages.