Skip to content

New course build fails #3716

@chrisgillison

Description

@chrisgillison

Subject of the issue/enhancement/features

Grunt build fails on new course.

Your environment

  • Framework 5.51.2

Steps to reproduce

Using the command line: adapt create course cd my-adapt-course grunt build

Expected behaviour

The course should build

Actual behaviour

The course doesn't build with error message:
Fatal error: Unable to find local grunt.
If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide.

A grunt folder has been created, and looks close to identical to the one I used the last time I created a course without error (fw 5.31.0).

The big difference in this new course is that the node modules folder contains only around 12k files (as opposed to over 27k in the last successfully building one). If I swap out the new node modules folder with an old one, the course builds fine, but that's not a great solution.

This issue has been happening for some months now. Attached is a screenshot of my command line but it doesn't mean a whole lot to me to be honest! Anything glaringly obvious in it? What can I do to resolve the issue?

Image

Metadata

Metadata

Assignees

Type

Projects

Status

Awaiting Response

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions