我使用的是NextJS 12.0.3版本,带有动画的框架运动。把框架动作库的功能放在一边,当我标记组件中的任何html元素时,我得到一个错误
error - SyntaxError: The requested module 'react' is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export.
For example:
import pkg from