Skip to content

Grunt scripts:adaptpostbuild task is throwing an error  #2212

Description

@brian-learningpool

Subject of the issue

The post-build.js script for the xAPI extension is not executing as part of the Grunt build process.

Your environment

  • Adapt Framework v3.2

Steps to reproduce

Run any Grunt build task on a course with the xAPI extension enabled.

Expected behaviour

The post-build.js script inside adapt-contrib-xapi would run.

Actual behaviour

The following is output in the log:

Running "scripts:adaptpostbuild" (scripts) task
Error: Cannot find module 'src/extensions/adapt-contrib-xapi/scripts/post-build.js'

Thanks to @NayanKhedkar and @ambadasavhad for noticing this.

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions