[Pkg-javascript-devel] Bug#977232: babeljs-node is unable to find system modules
    Pirate Praveen 
    praveen at onenetbeyond.org
       
    Sat Dec 12 20:54:43 GMT 2020
    
    
  
Control: retitle -1 missing dependency node-environment-flags
Control: clone -1 -2
Control: retitle -2 node-yargs missing dependency on 
node-define-property
Control: reassign -2 node-yargs
On Sun, 13 Dec 2020 02:06:42 +0530 Pirate Praveen
 > When trying to run mocha using babeljs-node command, it fails to find
 > the modules installed in global nodejs directories.
So this was a problem with my local environment. I had nvm setup with a 
different node executable. After removing ~/.nvm I can find these 
modules.
But the following is still an issue,
 >
 > Some other things I found in this experiment,
 >
 > 1. node-environment-flags module which is required in
 > 2. Also node-yargs is missing a dependency on node-define-property.
This should be a bug against node-yargs though. Cloned as separate bug.
    
    
More information about the Pkg-javascript-devel
mailing list