Skip to content

npm install -g poet doesn't? #124

@mcarifio

Description

@mcarifio

I'm a node n00b here, so this might be pilot error:

root@shuttle:~# npm list -g poet                        
/usr/lib                                                
└── poet@2.0.2                                          

root@shuttle:~# node --version                          
v8.6.0                                                  
root@shuttle:~# node                                    
> require('poet');                                      
Error: Cannot find module 'poet'                        
    at Function.Module._resolveFilename (module.js:527:15)                                                       
    at Function.Module._load (module.js:476:23)         
    at Module.require (module.js:568:17)                
    at require (internal/module.js:11:18)               
    at repl:1:1                                         
    at ContextifyScript.Script.runInThisContext (vm.js:50:33)                                                    
    at REPLServer.defaultEval (repl.js:239:29)          
    at bound (domain.js:301:14)                         
    at REPLServer.runBound [as eval] (domain.js:314:12) 
    at REPLServer.onLine (repl.js:440:10)               

I was expecting node to successfully find poet@2.0.2.

Please advise. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions