Picture of Pedro Mendez
Mac Installation Help
by Pedro Mendez - Tuesday, 30 January 2018, 12:56 PM
 

Hello I am trying to install Authoring tool  but its been really hard.

I have already installed everything and I am having troubles at the final staged where I supposed to "node install"

I am getting the error and I can´t find the solution:

Can I please get any help on this I have and updated node version and mongo is running.

module.js:540

    throw err;

    ^

 

Error: Cannot find module 'internal/util/types'

    at Function.Module._resolveFilename (module.js:538:15)

    at Function.Module._load (module.js:468:25)

    at Module.require (module.js:587:17)

    at require (internal/module.js:11:18)

    at evalmachine.<anonymous>:31:26

    at Object.<anonymous> (/Applications/mongodb/data/adapt_authoring/node_modules/bower/node_modules/graceful-fs/fs.js:11:1)

    at Module._compile (module.js:643:30)

    at Object.Module._extensions..js (module.js:654:10)

    at Module.load (module.js:556:32)

    at tryModuleLoad (module.js:499:12)

    at Function.Module._load (module.js:491:3)

    at Module.require (module.js:587:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/Applications/mongodb/data/adapt_authoring/node_modules/bower/node_modules/graceful-fs/graceful-fs.js:3:27)

 

    at Module._compile (module.js:643:30)

    at Object.Module._extensions..js (module.js:654:10)

 


Picture of Matt Leathes
Re: Mac Installation Help
by Matt Leathes - Tuesday, 30 January 2018, 1:32 PM
 

Could you verify you're using Node v6.x as per the installation instructions?

Picture of Pedro Mendez
Re: Mac Installation Help
by Pedro Mendez - Tuesday, 30 January 2018, 1:39 PM
 

I am using node v 8.9.4

 

Do in need to downgrade it to v6?  Its that possible?

Picture of Pedro Mendez
Re: Mac Installation Help
by Pedro Mendez - Tuesday, 30 January 2018, 1:57 PM
 

Thanks for your Help.

I have installed node v06  en I fix the error but now I am getting other.

Any idea:

> The url this install will be accessible from (http://localhost:5000) 

Now we need to configure the master tenant. 

Tip: just press ENTER to accept the default value in brackets.

 

(node:9446) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

> Set a unique name for your tenant (master) 

> Set the display name for your tenant (Master) 

 

Cloned https://github.com/adaptlearning/adapt_framework.git successfully.

/temp/5a70773f8d695ee6241829b1/adapt_framework switched to revision tags/v2.2.5

Node dependencies installed successfully.

Adapt framework plugins updated.

Master tenant created successfully.

 

Now we need to set up a 'Super Admin' account. This account can be used to manage everything on your app.productname instance.

> Email address xxxxxx@gmail.com

> Password **********

> Confirm Password **********

 

ERROR:  Failed to build the web application, (/bin/sh: grunt: command not found

) 

Install will continue. Try again after installation completes using 'grunt build:prod'.

 

Install was unsuccessful. Please check the console output.

 

Picture of Matt Leathes
Re: Mac Installation Help
by Matt Leathes - Tuesday, 30 January 2018, 2:49 PM
 

Not sure to be honest, I'm not exactly an expert when it comes to the authoring tool side of the project I'm afraid... hopefully someone who is more knowledgeable can help?

Picture of John Niezen
Re: Mac Installation Help
by John Niezen - Tuesday, 30 January 2018, 3:22 PM
 

Are you 100% sure grunt was installed?

I had a similar issue before, and it was not installed correct. After fixing it, all worked.