エラーが起動を防ぐ静電気HTMLでのファイルの処理中:私はフォークパッケージHoustonをテストしてい流星ために私の導入など静的なHTMLエラーが起動を防止:
でファイルを処理している間。 次のコマンドを実行しました。
$ mkdir tempspace
$ cd tempspace
$ git clone https://github.com/gterrono/houston
$ meteor create --bare houston
$ cd houston
$ meteor node -v
v4.8.4
# meteor reset # starts from scratch, deletes databases
$ meteor update
This project is already at Meteor 1.5.2, the latest release.
Changes to your project's package version selections from updating package
versions:
dynamic-import upgraded from 0.1.1 to 0.1.3
$ meteor run --port 192.168.1.98:3000
Selecting package versions
=> Started proxy
| Bulding for web.browser
| Linking
| Building for os.linux_x32
最初のエラーメッセージ
=> Errors prevented startup:
While processing files with static-html (for target web.browser):
client/partials/admin_nav.html:1: Expected <head> or <body> tag
client/partials/custom_actions.html:1: Expected <head> or <body> tag
client/partials/flash_message.html:1: Expected <head> or <body> tag
client/third-party/bootstrap.html:1: Expected <head> or <body> tag
client/third-party/collapse.js.html:1: Expected <head> or <body> tag
test/test_app/my_tmpl.html:1: Expected <head> or <body> tag
test/test_app/test.html:11: Expected <head> or <body> tag
client/admin_change_password.html:1: Expected <head> or <body> tag
client/admin_login.html:1: Expected <head> or <body> tag
client/collection_view.html:1: Expected <head> or <body> tag
client/custom_template_view.html:1: Expected <head> or <body> tag
client/db_view.html:1: Expected <head> or <body> tag
client/document_view.html:1: Expected <head> or <body> tag
client/master_layout.html:10: Expected <head> or <body> tag
client/style.css.html:1: Expected <head> or <body> tag
=> Your application has errors. Waiting for file change.
=> Started MongoDB.
開発バージョン情報:だから私は、同様の質問のためのWebを検索し、見つかった
$ uname -a
Linux localhost.localdomain 3.6.10-4.fc18.i686.PAE #1 SMP Tue Dec 11 18:15:08 UTC 2012 i686 i686 i386 GNU/Linux
$ meteor node -v
v4.8.4
$ meteor --version
Meteor 1.5.2
# by inspection
Houston 2.0.7
:
- githubのドットコム鉄-meteor/iron-cli問題[#256]、無回答t Oまだ...
は額面でのエラーメッセージを取ると、この問題は、私は エラーメッセージを変更していないファイルclient/master_layout.html
の先頭に<head>
と<body>
タグ を追加しました。
<head>
<title>Houston</title>
</head>
<body>
{{> _houston_master_layout}}
</body>
<template name="_houston_master_layout">
...
私ははないは私は多分私はバージョンの問題を持っている、または私は間違って何かをインストールしていると思わせる原作者のgithubの問題に類似した問題を、見ました。
サニティチェックとして、別のディレクトリに、github leveluptuts/Blaze-Baseの簡単な例をインストールして、現在の流星のインストールが正常に機能していることを確認しました。 OK
UPDATE 20 - 2017年9月
私はすでにこの道ダウンしている誰かによってこの質問に迅速に答えを見つけることを期待していました。これまで誰も答えを得ていないので、私は検索を続けています。ここで私が見つけたものがあります。 .meteor /パッケージ
で
#static-html # remove this package
blaze-html-templates # add this package
は headタグが見つからないというエラーを解決しますが、私は次のデバッグ手がかりになります他の異なるエラーにつながります。
このエラーを再現するためのすべての手順を追加できますか? – Styx
@Styx私はオリジナルの投稿を更新して、問題を複製するための正確なコマンドを表示しました(現在のdevマシン上)。 – NorthDecoder