我是一个角度和OpenLayers的初学者,我试图导入一个geojson文件,我把它放在了资产文件夹中。我还试图从同一个文件夹导入一个json文件,没有任何问题。bundeslandData from 'src/assets/Bundeslandsgrenzen.geojson';当我这样做的时候,我得到了这
我构建并发布了一个名为的npm包。在我的本地系统上,通过vscode,它工作的很好,没有错误和大量的类型记录支持。在codesandbox上,即使代码正在编译,它也会错误地使用Cannot find module 'schemez' or its corresponding type declarations.ts
我在使用expo和typescript时遇到了问题。我使用npm安装了这些库,它们可以在node_modules文件夹中找到,如图所示。 ? 同样的问题也发生在'@react-navigation/stack'上,当我运行这个程序时,我得到了这个错误: Error: Looks like you have nested a 'NavigationContainer然而,我的