0

这种情况最近在我身上发生过多次。如果我尝试在代码和框中导入一个模块,即使它出现在依赖项列表中,我仍然在导入行看到一个错误:

Cannot find module 'react-redux'.ts(2307)
Cannot find module 'react-router-dom'.
Cannot find module 'redux-persist/integration/react'.ts(2307)

等等等等。为什么会这样?是codeandbox还不支持这些吗?

链接:https ://codesandbox.io/s/xenodochial-shape-q2kz0?file=/login.ts

4

0 回答 0