mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [v0.10.0 upgrade] Error at internal/modules/cjs/loader.js:638


From: Olivier Mehani
Subject: Re: [v0.10.0 upgrade] Error at internal/modules/cjs/loader.js:638
Date: Mon, 4 May 2020 20:45:53 +1000

On Mon 04 May 2020 at 17:40:39 +1000, Ben Sturmfels wrote:
I'm following the ugrade steps for v0.10.0 (including going up to Python3), and
ran into this issue in the update_extlib.sh script.
        + ./node_modules/.bin/bower install
        internal/modules/cjs/loader.js:638
            throw err;
            ^

        Error: Cannot find module 'internal/util/types'
            at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:636:15)
            at Function.Module._load (internal/modules/cjs/loader.js:562:25)
            at Module.require (internal/modules/cjs/loader.js:692:17)
            at require (internal/modules/cjs/helpers.js:25:18)
            at evalmachine.<anonymous>:44:31
            at Object.<anonymous> 
(/srv/spawn.cuthbert.mehani.name/mediagoblin-v0.10.0/node_modules/bower/node_modules/graceful-fs/fs.js:11:1)
            at Module._compile (internal/modules/cjs/loader.js:778:30)
            at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:789:10)
            at Module.load (internal/modules/cjs/loader.js:653:32)
            at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

Ok, this was due to an old node_modules directory lying around from the old version. Removing it and re-running fixed it.

--
Olivier Mehani <address@hidden>
PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE  F5F9 F012 A6E2 98C6 6655
Confidentiality cannot be guaranteed on emails sent or received unencrypted.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]