Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/475.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Meteor客户端绑定器抛出静态html错误_Javascript_Reactjs_Meteor_React Native_Meteor React - Fatal编程技术网

Javascript Meteor客户端绑定器抛出静态html错误

Javascript Meteor客户端绑定器抛出静态html错误,javascript,reactjs,meteor,react-native,meteor-react,Javascript,Reactjs,Meteor,React Native,Meteor React,我正在尝试使用meteor客户端捆绑包打包现有的meteor应用程序,以便在新的React原生项目中使用。RN项目与meteor应用程序位于同一级别的目录中。当我尝试运行meteor客户端捆绑包--source=../myMeteorApp时,出现以下错误: 使用静态html处理文件时(对于目标web.browser): client/main.html:12:预期的或标记 我的客户端html文件非常标准,使用meteor可以正确编译。我怀疑这与软件包有冲突,但不确定。以下是我的main.htm

我正在尝试使用meteor客户端捆绑包打包现有的meteor应用程序,以便在新的React原生项目中使用。RN项目与meteor应用程序位于同一级别的目录中。当我尝试运行meteor客户端捆绑包--source=../myMeteorApp时,出现以下错误:

使用静态html处理文件时(对于目标web.browser): client/main.html:12:预期的或标记

我的客户端html文件非常标准,使用meteor可以正确编译。我怀疑这与软件包有冲突,但不确定。以下是我的main.html文件供参考:

<head>
  <meta charset="utf-8">
  <title>My App</title>
  <meta name="description" content="My app">
  <meta name="viewport" content="user-scalable=no, initial-scale=1, minimal-ui, maximum-scale=1, minimum-scale=1" />
<!--   <link rel="shortcut icon" type="image/png" href="favicon.png?v1" sizes="16x16 32x32 64x64">
  <link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-precomposed.png">
 -->
</head>

我的应用程序

我的meteor应用程序正在使用react,但我认为这不会影响meteor客户端捆绑程序的执行能力。在此方面的任何帮助都将不胜感激

client/main.html
第12行有什么内容?没有,这是令人困惑的部分。这实际上似乎是一个问题的一揽子计划。我打开了一个问题,并要求提交一份PR。我正在等待确认一切正常,并在结束/回答此问题之前查看该PR是否得到批准。