Skip to content

Error by Starting Server BSON node 11.3.0 #155

@RickyKnollo

Description

@RickyKnollo

D:\Test\AllCountJS\helloworld-app>node --version
v11.3.0

D:\Test\AllCountJS\helloworld-app>allcountjs run
Using db url: mongodb://localhost:27017/helloworld-app
{ Error: Cannot find module '../build/Release/bson'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (D:\Test\AllCountJS\helloworld-app\node_modules\bson\ext\index.js:15:10)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3) code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
Failed to fetch "app-config". Trying to use as regular directory.
^CBatchvorgang abbrechen (J/N)? j

D:\Test\AllCountJS\helloworld-app>npm i cjs
npm WARN helloworld-app@1.0.0 No description
npm WARN helloworld-app@1.0.0 No repository field.
npm WARN helloworld-app@1.0.0 No license field.

  • cjs@0.0.11
    added 2 packages from 2 contributors and audited 1439 packages in 10.328s
    found 77 vulnerabilities (27 low, 38 moderate, 11 high, 1 critical)
    run npm audit fix to fix them, or npm audit for details

D:\Test\AllCountJS\helloworld-app>npm audit fix
npm WARN helloworld-app@1.0.0 No description
npm WARN helloworld-app@1.0.0 No repository field.
npm WARN helloworld-app@1.0.0 No license field.

added 2 packages and updated 1 package in 6.903s
fixed 1 of 77 vulnerabilities in 1439 scanned packages
76 vulnerabilities required manual review and could not be updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions