Skip to content

New course build fails #3716

Closed
Closed

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

Activity

  1. oliverfoster commented on Sep 9, 2025

    @oliverfoster
    Member

    What version of node and npm are you using?

    $ node --version
    $ npm --version

    Mine is:

    Image Image Image Image
  2. self-assigned this
    on Sep 9, 2025
  3. moved this from New to Awaiting Response in adapt_framework: The TODO Boardon Sep 9, 2025
  4. added theissue type on Sep 9, 2025
  5. chrisgillison commented on Sep 10, 2025

    @chrisgillison
    Author
  6. oliverfoster commented on Oct 9, 2025

    @oliverfoster
    Member

    It looks as though npm install was not performed on the build after creation. You should not have to install grunt locally using --save-dev.

  7. moved this from Awaiting Response to Recently Released in adapt_framework: The TODO Boardon Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions