Picture of Eric Chamberlin
error message
by Eric Chamberlin - Tuesday, 8 December 2020, 4:06 AM
 

Hello,

I have gotten almost all the way through the install process - but I am getting this error and I do not know how to proceed.

 

Error: Cannot find module 'fs-extra'
Require stack:
- C:\Users\echam\adapt_authoring\install.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\Users\echam\adapt_authoring\install.js:3:10)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\\Users\\echam\\adapt_authoring\\install.js' ]

 

Any help most appreciated.

Eric

Picture of Ailiniyazi Maimaiti
Re: error message
by Ailiniyazi Maimaiti - Tuesday, 8 December 2020, 10:02 AM
 

Hey Eric, 

 

from the error message I can see that module 'fs-extra' is not installed, have you installed related npm packages? you can try to run "npm install" to install the related npm packages.

Picture of Matt Leathes
Re: error message
by Matt Leathes - Tuesday, 8 December 2020, 10:43 AM
 

When posting to the forums please could you be clear whether your question relates to the authoring tool or framework and please list versions where appropriate.

It's also useful to know what platform you're on (Windows/Mac/*nix), what you've tried so far, what instructions you're following etc.

For example, one of those most common problems people run into in the installation process is to use the wrong version of NodeJS - but if you don't tell us what version you have installed we can't check if that's the case.