IパグメタTypeError例外:未定義の「(」プロパティを読み取ることができませんが - Herokuの
「パグ」を使用してHerokuの上で展開したとき、この単純なパグコードに非常に好奇心の問題を持ちます:「2.0.0-。 rc.4" ノード8.1.4、5.0.3 NPM
がローカルで正常に動作します。
doctype html
html
head
title= "hello"
meta(charset="UTF-8")
body
h1 hello
私はいくつかのテストを実行し、問題がメタタグである。 私はちょうどそれが走るラインをカットした場合。
ご存知ですか?
エラー・スタックは
TypeError: Cannot read property '(' of undefined
at Lexer.bracketExpression (/app/node_modules/pug-lexer/index.js:212:40)
at Lexer.attrs (/app/node_modules/pug-lexer/index.js:1011:24)
at Lexer.callLexerFunction (/app/node_modules/pug-lexer/index.js:1319:23)
at Lexer.advance (/app/node_modules/pug-lexer/index.js:1356:15)
at Lexer.callLexerFunction (/app/node_modules/pug-lexer/index.js:1319:23)
at Lexer.getTokens (/app/node_modules/pug-lexer/index.js:1375:12)
at lex (/app/node_modules/pug-lexer/index.js:12:42)
at Object.lex (/app/node_modules/pug/lib/index.js:99:27)
at Function.loadString [as string] (/app/node_modules/pug-load/index.js:44:24)
at compileBody (/app/node_modules/pug/lib/index.js:86:18)
間隔を確認してください – Avraham