问题内容

./node_modules/screenfull/index.js 55:42
Module parse failed: Unexpected token (55:42)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

请添加图片描述

问题解决

使用稳定的5版本

npm i screenfull@5
Logo

前往低代码交流专区

更多推荐