Closed elliot-zoerner-aligent closed 3 years ago
Hi @elliot-zoerner-aligent. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
Sounds similar to: https://github.com/magento/pwa-studio/issues/2239
I'm not sure what componentOverrideMapping
is. Could you provide repro steps with using targets?
@brendanfalkowski You're right - it looks like this is the same issue as in #2239 and has been fixed in 8.0.0.
this is definitely not fixed. I noticed an issue when copying over venia code. the parser is looking at the commented out code... is there a reason for this? I can't get my project to run without modifying a certain node modules file to not call .type when the thing being parsed is undefined. i'm not sure why there was no checking for undefined in this file
@magento/directive-parser/src/Parser.js
}
match(type, token = this.currentToken) {
return token.type === type;
}
eat(type)
i may naive but the code i have only works when the node_modules code is changed to handle an undefined token.
i'm working on a demo of the code in its not working should be working form to post here soon.
Describe the bug Overriding a
RootComponent
talon and adding a commented outif
statement causes theyarn watch
process to fail with the following error:To reproduce Steps to reproduce the behavior:
useCategoryContent.js
from peregrine into your source folder.componentOverrideMapping
:Expected behavior The project should build successfully.
Please complete the following device information:
"@magento/babel-preset-peregrine": "~1.0.1", "@magento/eslint-config": "^1.5.2", "@magento/pagebuilder": "^2.0.0", "@magento/peregrine": "^7.0.0", "@magento/pwa-buildpack": "^6.0.0", "@magento/upward-js": "^4.0.2", "@magento/venia-ui": "^4.0.0",
npm -v
: 6.14.7node -v
: 12.16.3Please let us know what packages this bug is in regards to:
venia-concept
venia-ui
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
create-pwa