问题:
我的项目有一个@providesModule naming collision尝试从命令行运行react-native run-ios.它与自动生成的dir冲突,dist/后者是由另一个npm包esdoc创建的.我希望能够保留这个自动生成的目录,并让反应原生包装器忽略该dist/目录.
错误信息:
[01/23/2017, 13:17:07] <START> Building Haste Map
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: ann
Paths: /Users/thurt/projects/example/package.json collides with /Users/thurt/projects/example/dist/esdoc/package.json
This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: ann
Paths: /Users/thurt/projects/example/package.json collides with /Users/thurt/projects/example/dist/esdoc/package.json
This error is caused by a @providesModule declaration with the same name across two different …Run Code Online (Sandbox Code Playgroud) react-native ×1