You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error when I use cnpm install to install dependencies from TAOBAO(淘宝)https://npm.taobao.org/.
you should use npm instead of cnpm.
or just using the alias name
alias cnpm="npm --registry=https://registry.npm.taobao.org \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npm.taobao.org/dist \
--userconfig=$HOME/.cnpmrc"
``
as the package `cnpm` may got something wrong when searching the root path of the react-native.
When I run
react-native start
, it shows the info "Cannot read property 'on' of undefined".I am confused about this issue. Does anyone has any ideas?
The text was updated successfully, but these errors were encountered: