Picture of Grégory Fauchille
Error during local installation
by Grégory Fauchille - Wednesday, 24 April 2019, 3:08 PM
 

Hi,

I would like to test Adapt Learning on my computeur, but I always have an error when I try to install it (I try on my E:/ and C:/ drives) :

Cloned https://github.com/adaptlearning/adapt_framework.git successfully.
\temp\5cc079c87af0963c4cb14aa3\adapt_framework switched to revision tags/v2.3.3
error [24 Apr 19 17:01:17 +02:00] Error downloading the framework npm ERR! path C:\AdaptLearning\adapt_authoring\temp\5cc079c87af0963c4cb14aa3\adapt_framework\grunt
npm ERR! code EISDIR
npm ERR! errno -4068
npm ERR! syscall open
npm ERR! EISDIR: illegal operation on a directory, open 'C:\AdaptLearning\adapt_authoring\temp\5cc079c87af0963c4cb14aa3\adapt_framework\grunt'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\MyName\AppData\Roaming\npm-cache\_logs\2019-04-24T15_01_16_965Z-debug.log

ERROR: npm ERR! path C:\AdaptLearning\adapt_authoring\temp\5cc079c87af0963c4cb14aa3\adapt_framework\grunt
npm ERR! code EISDIR
npm ERR! errno -4068
npm ERR! syscall open
npm ERR! EISDIR: illegal operation on a directory, open 'C:\AdaptLearning\adapt_authoring\temp\5cc079c87af0963c4cb14aa3\adapt_framework\grunt'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\MyName\AppData\Roaming\npm-cache\_logs\2019-04-24T15_01_16_965Z-debug.log


Failed to create master tenant. Please check the console output.

Thank you very much for any help.

Regards,

Greg

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Wednesday, 24 April 2019, 4:40 PM
 

Versions :

MongoDB :

db version v4.0.8
git version: 9b00696ed75f65e1ebc8d635593bed79b290cfbb
allocator: tcmalloc
modules: none
build environment:
    distmod: 2008plus-ssl
    distarch: x86_64
    target_arch: x86_64

Git : 2.21.0.windows.1

Node : 10.15.3

Npm : 6.4.1

ffmpeg : N-93562-g3e10223385

grunt : grunt-cli v0.1.13

Picture of Matt Leathes
Re: Error during local installation
by Matt Leathes - Wednesday, 24 April 2019, 6:01 PM
 

that's quite an old version of Grunt, could be worth trying a newer version?

Might also be worth looking to see what has downloaded to C:\AdaptLearning\adapt_authoring\temp\5cc079c87af0963c4cb14aa3\adapt_framework

It should contain the same files you see here https://github.com/adaptlearning/adapt_framework/tree/v2.3.3

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Wednesday, 24 April 2019, 8:20 PM
 

Thanks, I'll look at this, I thought I'd updated it, but I guess I was wrong.

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Thursday, 25 April 2019, 7:26 AM
 

Hi,

I've made the update : grunt-cli v1.2.0 and grunt v1.0.4

But nothing change, I still have the same error and all the files have been downloaded (and more). I ask myself if the problem isn't just to copy the folders out of the temp folder ?

Thanks.

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Friday, 3 May 2019, 9:19 AM
 

Still trying to install it. Same error again and again.

I success to install grunt-cli 1.3.2 and grunt 1.0.4 (I removed the grunt files in my system32 folder) but the error remains.

The last log lines :

13445 silly build grunt@1.0.4
13446 info linkStuff grunt@1.0.4
13447 silly linkStuff grunt@1.0.4 has C:\AdaptLearning\adapt_authoring\temp\5ccc04f29783fc47d448c333\adapt_framework\node_modules as its parent node_modules
13448 silly linkStuff grunt@1.0.4 is part of a global install
13449 silly linkStuff grunt@1.0.4 is installed into a global node_modules
13450 silly linkStuff grunt@1.0.4 is installed into the top-level global node_modules
13451 verbose linkBins [ { grunt: 'bin/grunt' },
13451 verbose linkBins   'C:\\AdaptLearning\\adapt_authoring\\temp\\5ccc04f29783fc47d448c333\\adapt_framework',
13451 verbose linkBins   true ]
13452 timing action:build Completed in 272ms
13453 verbose unlock done using C:\Users\Greg\AppData\Roaming\npm-cache\_locks\staging-72af20e024649c0e.lock for C:\AdaptLearning\adapt_authoring\temp\5ccc04f29783fc47d448c333\adapt_framework\node_modules\.staging
13454 timing stage:rollbackFailedOptional Completed in 96ms
13455 timing stage:runTopLevelLifecycles Completed in 13721ms
13456 verbose stack Error: EISDIR: illegal operation on a directory, open 'C:\AdaptLearning\adapt_authoring\temp\5ccc04f29783fc47d448c333\adapt_framework\grunt'
13457 verbose cwd C:\AdaptLearning\adapt_authoring\temp\5ccc04f29783fc47d448c333\adapt_framework
13458 verbose Windows_NT 10.0.17134
13459 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--loglevel" "error" "--production"
13460 verbose node v10.15.3
13461 verbose npm  v6.4.1
13462 error path C:\AdaptLearning\adapt_authoring\temp\5ccc04f29783fc47d448c333\adapt_framework\grunt
13463 error code EISDIR
13464 error errno -4068
13465 error syscall open
13466 error EISDIR: illegal operation on a directory, open 'C:\AdaptLearning\adapt_authoring\temp\5ccc04f29783fc47d448c333\adapt_framework\grunt'
13467 verbose exit [ -4068, true ]

Thanks,

Greg

 

Picture of Matt Leathes
Re: Error during local installation
by Matt Leathes - Friday, 3 May 2019, 10:13 AM
 

As per my earlier comment:

Might also be worth looking to see what has downloaded to C:\AdaptLearning\adapt_authoring\temp\5cc079c87af0963c4cb14aa3\adapt_framework
It should contain the same files you see here https://github.com/adaptlearning/adapt_framework/tree/v2.3.3

Have you done that? If so, what did you find there?

Have you checked that Grunt is in your path? Given that the error appears to be about 'illegal operation on directory' called 'grunt' I wonder if it's trying to launch grunt-the-application but instead trying to open the directory called grunt

 

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Friday, 3 May 2019, 10:40 AM
 

The github files are in the folder, but there is more files ("node_modules" folder, acorn, adapt.json, cake, coffe, commonize, etc)

How do I check if Grunt is in the path ? If I test grunt --version in the path (C:\AdaptLearning\adapt_authoring), it returns grunt v.1.0.4 and grunt-cli v1.3.2. But if I test it in C:\ it returns only grunt-cli v0.1.13 (maybe the problem is there, because in the temp folder, I have grunt-cli v0.1.13 too, but also grunt v1.0.4).

I'll  try to install grunt-cli in system32 folder to see what append.

Thanks.

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Friday, 3 May 2019, 11:13 AM
 

Still fail, even if I try with Git bash :/

If I check the version of grunt everywhere, it's ok (cli 1.3.2 and grunt 1.0.4).

Picture of Matt Leathes
Re: Error during local installation
by Matt Leathes - Friday, 3 May 2019, 11:32 AM
 

To be honest I'm pretty much out of ideas, I'm not exactly an expert on the authoring tool anyway.

Could it be worth trying this in a clean Virtual Machine in something like VirtualBox? Just so you know any oddities on your PCs configuration aren't getting in the way

Picture of Matt Leathes
Re: Error during local installation
by Matt Leathes - Friday, 3 May 2019, 4:15 PM
 

I just tried the install myself in a Win7/IE11 VM (for VirtualBox) that I downloaded from modern.ie

I did have to do a bit of extra work getting MongoDB working since the VM is 32-bit windows - which isn't supported by the latest version of MongoDB. I had to use v3.2.2 and start it up from the command line.

Also for some reason had to add npm folder to my PATH in order to make grunt-cli available from the command line.

Other than those two things it all worked fine.

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Saturday, 4 May 2019, 10:13 AM
 

Hi, thank you very much for your time. I'm not at home this week-end, but I will look to this next week.

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Monday, 13 May 2019, 4:47 PM
 

Hi,

I don't have much time these days.

If you still have the VM, could you please give me the version of the components you have installed (node, npm, grunt, etc) to check the difference with mines.

I'm downloading the VM win 10 from modern.io (didn't know) but 6 Go will take some times…

Thanks.

Picture of Matt Leathes
Re: Error during local installation
by Matt Leathes - Monday, 13 May 2019, 10:59 PM
 

Picture of Grégory Fauchille
Re: Error during local installation
by Grégory Fauchille - Tuesday, 14 May 2019, 7:15 AM
 

Thank you very much, I will check that as soon as possible ;)