Skip to content
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

en.yml changes in Angular JSS app giving error : Duplicate function implementation #326

Closed
alexksharma opened this issue Feb 17, 2020 · 2 comments

Comments

@alexksharma
Copy link

I just created a new Angular App and its running fine with "JSS Build". But when you change any of the en.yml files, those changes are not reflected in browser and I am getting below error on command prompt
path or pattern './sitecore/pipelines/**/*.patch.js' did not match any files.
sitecore/definitions/component-content.sitecore.ts:32:10 - error TS2393: Duplicate function implementation.
32 function convertToItems(data, basePath, rootItemName, language) {
~~~~~~~~~~~~~~
sitecore/definitions/component-content.sitecore.ts:73:10 - error TS2393: Duplicate function implementation.
73 function convertPhsyicalPathToItemRelativePath(physicalPath, basePath) {

Do anybody know the reason and possible fix?

@adambezemek
Copy link

@alexksharma - Did you ever figure this out? I am battling the same issue at the moment.

@sc-illiakovalenko
Copy link
Contributor

@alexksharma Fixed in #440
Will be released in JSS 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants