question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'rc-tree/es/util' does not contain an export named 'calcCheckStateConduct'

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.8.0

Environment

antd 3.8.0

Reproduction link

https://github.com/ant-design/ant-design/commit/4cf18eaae83408c5cb12d122e1a46af876c07e08

Steps to reproduce

antd3.8.0版本内 treeSelect组件treeCheckable设置为true,启动项目,控制台警告./node_modules/_rc-tree-select@2.0.11@rc-tree-select/es/Select.js 222:36-57 ‘rc-tree/es/util’ does not contain an export named ‘calcCheckStateConduct’,页面无法正常打开

What is expected?

勾选可以正常使用

What is actually happening?

控制台警告’rc-tree/es/util’ does not contain an export named ‘calcCheckStateConduct’,页面无法正常打开


/node_modules/_rc-tree-select@2.0.11@rc-tree-select/es/Select.js文件内import { calcCheckStateConduct } from 'rc-tree/es/util';,但是在'rc-tree/es/util内并找不到calcCheckStateConduct

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
zombieJcommented, Aug 16, 2018
1reaction
zombieJcommented, Aug 14, 2018

@yuxuan, 之后 rc-tree-select 的依赖版本也会升上来

Read more comments on GitHub >

github_iconTop Results From Across the Web

Home does not contain an export named Home - Stack Overflow
The error is telling you that you are importing incorrectly. Here's the code you have to add: import { Home } from './layouts/Home';....
Read more >
rc-tree - npm
name description default autoExpandParent whether auto expand parent treeNodes false checkable whether support checked false className additional css class of root dom node ''
Read more >
Tree Shaking - webpack
It relies on the static structure of ES2015 module syntax, i.e. import and export . The name and concept have been popularized by...
Read more >
Comparing React tree components - LogRocket Blog
Lacks customization options (for example, custom icons and colors) · As the name of this module suggests, it won't let you build complex...
Read more >
rc-tree - npm Package Health Analysis - Snyk
Based on project statistics from the GitHub repository for the npm package rc-tree, we found that it has been starred 1,034 times, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found