Closed michael-parvaneh closed 4 years ago
I suggest you to go through the README steps Install, Configure and Load the component again.
After you have executed all these steps, for sure let me know if it still doesn't work or if it does. If it does not, can you please also submit a link to your repo or to a sample repo.
I suggest you to go through the README steps Install, Configure and Load the component again.
After you have executed all these steps, for sure let me know if it still doesn't work or if it does. If it does not, can you please also submit a link to your repo or to a sample repo.
sure, I will try to reproduce the error. there's also an error I'm receiving in chrome console I'll paste it here maybe it'll help: Uncaught (in promise) TypeError: Cannot read property 'require' of undefined at DeckdeckgoHighlightCode.initLanguagesToLoad (deckgo-highlight-code.entry.js:2143) at DeckdeckgoHighlightCode.loadLanguages (deckgo-highlight-code.entry.js:2134) at DeckdeckgoHighlightCode.componentDidLoad (deckgo-highlight-code.entry.js:2075)
Both are related, you might have missed a step of the documentation. Let me know the outcome.
I changed ```js console.log('hello')``` to ```javascript console.log('hello') ``` inside the .md file and it fixed the issue I also was able to fix it by changing the language attrib on deckdeckgo highlight-code component from js to javascript, was I supposed to use "javascript" instead of "js" from the beginning?
I've set up everything correctly as I've run through them multiple times looking for a mistake somewhere, but there's nothing I can find, the same issue is showing up on the deckdeckgo docs in the "Install DeckDeckGo Highlight Code from NPM" section. It's not showing the "npm install" command. Inside the shadow-root, it correctly points to the
but I'm not able to see the code.