我正在尝试使用mapbox.gl
and构建 NextJS 应用程序deck.gl
,它在我的本地服务器上运行良好,但是当我尝试发布应用程序 webpack
时发生错误:
编译失败。./node_modules/@luma.gl/webgl/dist/es5/webgl-utils/webgl-types.js 未找到模块:无法解析“/Users/kingusha/Desktop/HTMLCSSJS/ReactApps/something/”中的“gl” node_modules/@luma.gl/webgl/dist/es5/webgl-utils'
我已经尝试gl
使用和研究此事来安装模块npm
,但没有找到任何解决方案。有谁知道如何解决这个问题?