I퍼그 메타 형식 오류 : 정의되지 않은의 '('속성을 읽을 수 없습니다가 - Heroku가
"흙"을 사용 에게 Heroku에 배포 할 때이 간단한 퍼그 코드에 매우 호기심이 문제가 "2.0.0-. rc.4 " 노드 8.1.4, 로컬 NPM 5.0.3
내가 몇 가지 테스트를 실행
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