Problem Scenario and Error Message

I was attempting to add a sitemap.xml file to my Scully/Angular app.

I ran the npm install command:

npm install @gammastream/scully-plugin-sitemap --save-dev

Then I updated my scully config file to configure the plugin based on this Sitemap plugin documentation on scully.io.

After installing the plugin I ran into this error when attempting to build my scully application:

Cannot find module 'fast-xml-parser'

Solution

The solution to resolve this error is to install the 'fast-xml-parser' package by running the following command:

npm install fast-xml-parser

After the npm package for fast-xml-parser is installed you will no longer see the error!

FeedbackI'd love to hear your feedback!
Did this blog post help fix your issue? Still having trouble?
Tweet At Me
Brendan SlukeSoftware Engineer

Hi, I'm Brendan Sluke and I love writing code and blogging about software engineering.

Follow Me On Twitter Read My Blog
Recommended Blog PostsBlog Posts I Think You Will Find Interesting
Go Back To Top of Page