You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After deploying to App Engine standard, I see in the logs:
A Error: `line` is not an integer
A at Parser.initBlock (/srv/node_modules/pug-parser/index.js:156:36)
A at Parser.emptyBlock (/srv/node_modules/pug-parser/index.js:168:17)
A at Parser.parseTag (/srv/node_modules/pug-parser/index.js:1040:19)
A at Parser.parseExpr (/srv/node_modules/pug-parser/index.js:208:21)
A at Parser.parse (/srv/node_modules/pug-parser/index.js:112:25)
A at parse (/srv/node_modules/pug-parser/index.js:12:20)
A at Object.parse (/srv/node_modules/pug/lib/index.js:125:22)
A at Function.loadString [as string] (/srv/node_modules/pug-load/index.js:45:21)
A at compileBody (/srv/node_modules/pug/lib/index.js:86:18)
A at Object.exports.compile (/srv/node_modules/pug/lib/index.js:242:16)
Hi @steren. It seems to be a compatibility issue. The samples are checked for standard environment in Feb and on March a routine dependency update (#583 ) bumped the version of package pug from 2.0.0-rc3 to 2.0.0. The sample runs just fine with the old version (2.0.0-rc3). I will update the code to keep it compatible with pug 2.0.0.
From my understanding there are still some configuration problems with the CircleCI system :( Ace has migrated some tests to Kokoro and Les has asked us to migrate the rest to Kokoro as well. It shouldn't be a problem soon, I think
Activity
michaelawyu commentedon Apr 28, 2018
Hi @steren. It seems to be a compatibility issue. The samples are checked for standard environment in Feb and on March a routine dependency update (#583 ) bumped the version of package
pugfrom 2.0.0-rc3 to 2.0.0. The sample runs just fine with the old version (2.0.0-rc3). I will update the code to keep it compatible withpug2.0.0.steren commentedon Apr 28, 2018
Thanks for investigating.
do you know why our integration tests did not catch this?
michaelawyu commentedon Apr 28, 2018
Seems to be a known bug with pug 2.0.0 (pugjs/pug#2979). Updating to 2.0.1 solves the problem. Sending the PR now.
michaelawyu commentedon Apr 28, 2018
From my understanding there are still some configuration problems with the CircleCI system :( Ace has migrated some tests to Kokoro and Les has asked us to migrate the rest to Kokoro as well. It shouldn't be a problem soon, I think
Fixed a bug introduced by pug 2.0.0.
Fixed a bug introduced by pug 2.0.0. (#608)
fhinkel commentedon Jun 12, 2018
I think this got fixed with @michaelawyu 's PR. Closing, feel free to reopen if still needed.
docs(samples): include metadata file, add exclusions for samples to h…
docs(samples): include metadata file, add exclusions for samples to h…
docs(samples): include metadata file, add exclusions for samples to h…
chore: release 4.1.0 (#607)
chore: release 4.1.0 (#607)
migrate code from googleapis/nodejs-speech (#2857)
chore(main): release 4.1.0 (#600)
chore(main): release 4.1.0 (#600)
chore: release 3.1.1 (#607)