We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
错误同下(后来用0.4.1的版本 install 之后start 依然报错,如下)
ERROR in multi vendor Module not found: Error: Cannot resolve module 'react' in /Users/leo/Downloads/react-weui-0.4.1/example @ multi vendor
ERROR in .//react-dom/index.js Module not found: Error: Cannot resolve module 'react/lib/ReactDOM' in /Users/leo/Downloads/react-weui-0.4.1/node_modules/react-dom @ .//react-dom/index.js 3:17-46
ERROR in .//react-addons-css-transition-group/index.js Module not found: Error: Cannot resolve module 'react/lib/ReactCSSTransitionGroup' in /Users/leo/Downloads/react-weui-0.4.1/node_modules/react-addons-css-transition-group @ .//react-addons-css-transition-group/index.js 1:17-61
ERROR in ./example/app.js Module not found: Error: Cannot resolve module 'react' in /Users/leo/Downloads/react-weui-0.4.1/example @ ./example/app.js 17:13-29
最后用npm install react@^0.14.2 安装这个版本后start 就没有问题。 想问下,怎么样让master分支1.0.0可以install之后npm start起来?
The text was updated successfully, but these errors were encountered:
我的npm把本4.2 是否要更改成1.1.3
Sorry, something went wrong.
我也出现这样的错误,请问解决了吗
becase use https://github.com/weui/react-weui/blob/master/package.json#L110-L113
这点要说明,在npm1和2的版本中,peerDependencies是会被自动安装的,但是在3的版本中只会有警告。
the solution is:
npm install react react-dom
then will be ok.
仍然没有解决
No branches or pull requests
错误同下(后来用0.4.1的版本 install 之后start 依然报错,如下)
ERROR in multi vendor
Module not found: Error: Cannot resolve module 'react' in /Users/leo/Downloads/react-weui-0.4.1/example
@ multi vendor
ERROR in ./
/react-dom/index.js/react-dom/index.js 3:17-46Module not found: Error: Cannot resolve module 'react/lib/ReactDOM' in /Users/leo/Downloads/react-weui-0.4.1/node_modules/react-dom
@ ./
ERROR in ./
/react-addons-css-transition-group/index.js/react-addons-css-transition-group/index.js 1:17-61Module not found: Error: Cannot resolve module 'react/lib/ReactCSSTransitionGroup' in /Users/leo/Downloads/react-weui-0.4.1/node_modules/react-addons-css-transition-group
@ ./
ERROR in ./example/app.js
Module not found: Error: Cannot resolve module 'react' in /Users/leo/Downloads/react-weui-0.4.1/example
@ ./example/app.js 17:13-29
最后用npm install react@^0.14.2 安装这个版本后start 就没有问题。
想问下,怎么样让master分支1.0.0可以install之后npm start起来?
The text was updated successfully, but these errors were encountered: