Npm 情感/样式包出错,无法在任何地方找到答案

Npm 情感/样式包出错,无法在任何地方找到答案,npm,meteor,emotion,emotion-js,Npm,Meteor,Emotion,Emotion Js,我不断得到以下错误,我使用流星2.1目前 错误:@emotion/styled包中的新入口点,@emotion/styled/base已替换@emotion/styled base包。请删除此软件包并改用@emotion/styled/base 我找不到任何方法来安装这个@emotion/styled/base包@情感/样式库已安装,我无法突然创建构建 有什么建议吗 我使用reactjs@emotion/styled/base不是您需要安装的软件包,而是@emotion/styled软件包的子模

我不断得到以下错误,我使用流星2.1目前

错误:
@emotion/styled
包中的新入口点,
@emotion/styled/base
已替换
@emotion/styled base
包。请删除此软件包并改用
@emotion/styled/base

我找不到任何方法来安装这个@emotion/styled/base包@情感/样式库已安装,我无法突然创建构建

有什么建议吗


我使用reactjs
@emotion/styled/base
不是您需要安装的软件包,而是
@emotion/styled
软件包的子模块


我有一种预感,您没有直接使用
@emotion/styled base
,因此最有可能的是版本不匹配,即安装了较新版本的
@emotion/styled
,但该软件包是为较旧版本编写的。您可能只需要找到这个有问题的包并进行更新


如果不是这种情况,那么您只需要将导入的
@emotion/styled base
替换为导入的
@emotion/styled/base

不,我不会在任何地方直接使用emotion/styled base。这句话的意思是什么?很可能是因为安装了更新版本的@emotion/styled,但该软件包是为旧版本编写的。您说的是什么意思,该软件包使用@emotion/styled“^11.1.5“,如果这有助于我的意思是,如果你不是直接在你的应用程序中导入
@emotion/styled base
,那么肯定有另一个包,可能是你的应用程序使用的,那就是导入它。如果您的应用程序不直接依赖于
@emotion/styled base
请尝试运行
npm ls@emotion/styled base
以查看哪个包依赖于它。您是否已尝试删除
package lock.json
并再次运行
meteor npm install
?您还可以发布您的
包.json