-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_00-head.twig is not displayed correctly using the twig (js) engine. #1201
Comments
I believe in gitter you stated this was resolved? please reopen if i am misunderstanding |
Please reopen. This issue is not resolved. |
@shannonsumner As I'm the person who did work on |
|
@bmuenzenmeyer I think I need a helping hand. @shannonsumner attached an example project, see the link to a ZIP file just above the screenshot. This example project contains a single pattern:
The 1589228542848" media="all" />
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?1589228542848" media="all" />
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
<link rel="stylesheet" href="../../styleguide/css/pattern-lab.css?1589228542848" media="all">
<!-- End Pattern Lab -->
</head>
<body class="">
... The pattern itself <!DOCTYPE html>
<html class="">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="../../css/style.css?1589228542848" media="all" />
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?1589228542848" media="all" />
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
<!-- End Pattern Lab -->
</head>
<body class="">
... Any idea where it goes wrong with generating the overview pages? I close by posting links to the
|
I was able to reproduce with the example project. I'm trying to debug and step through the execution flow but with the async nature of NodeJS, the execution path is hard to follow. No idea so far where the problem comes from. @bmuenzenmeyer have you had some time to look into this? |
A few hours ago, I updated my Homebrew setup. One of the things which got bumped was NodeJS. I am now running NodeJS v12.16.3. Using this NodeJS version, your sample project seems to build correctly now. The changelog for this version is quite long: @shannonsumner can you give NodeJS v12.16.3 a try and report back your results? |
I am still seeing the same issue after updating to Node 12.6.3
|
Indeed. It was a misconfiguration on my end. When the configuration was set to |
@shannonsumner can you check with Unfortunately, I wasn't able to pinpoint the real problem, but the version update seems to have fixed it for me. I hope it is fixed for you too. Please close this issue if it is. |
This seems to have fixed the issue - thank you for your hard work. |
I am using Pattern Lab Node
vX.X.X
onWindows | Mac | Linux
, with NodevX.X.X
, using aGulp | Grunt | Vanilla | Custom
Edition.I am using Pattern Lab Node 'v5.9.3' on Mac with Node 'v12.16.1', using a Vanilla Edition with the engine twig installed and twig set to the pattern extension.
Expected Behavior
_00-head.twig would be displayed correctly.
Actual Behavior
_00-head.twig is not displayed correctly.
Steps to Reproduce
Add the following to package.json:
Create empty source directory structure:
run
npm install && npm run pl:build && npm run pl:serve
Update patternExtension to twig in patternlab-config.json.
pattern-lab-twig-js.zip
The text was updated successfully, but these errors were encountered: