Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Cannot find module 'npm' #8

Description

@Pumpapa

This is beyond my understanding. Obviously npm is installed

$ node server.js
=================================================================
=  Please ensure that you set the default write concern for the database by setting    
. . . 
=  This message will disappear when the default safe is set on the driver Db           =
================================================================

Connecting to MongoDB...

/Users/pum/node_modules/mongodb/lib/mongodb/db.js:279
          throw err;
                ^
Error: Cannot find module 'npm'

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