Skip to content

npm install and npm start issues #61

@ElliotBricker

Description

@ElliotBricker

node and mongodb are installed successfully.
node version is:
% node --version
v16.13.0

for the npi install, I receive:
% npm install

npm WARN old lockfile

npm WARN old lockfile The package-lock.json file was created with an old version of npm,

npm WARN old lockfile so supplemental metadata must be fetched from the registry.

npm WARN old lockfile

npm WARN old lockfile This is a one-time fix-up, please be patient...

npm WARN old lockfile

npm WARN EBADENGINE Unsupported engine {

npm WARN EBADENGINE package: 'stripe-connect-rocketrides@0.0.1',

npm WARN EBADENGINE required: { node: '10.x' },

npm WARN EBADENGINE current: { node: 'v16.13.0', npm: '8.1.0' }

npm WARN EBADENGINE }

npm ERR! code ENOTEMPTY

npm ERR! syscall rename

npm ERR! path /Volumes/ELLIOTS/StripeRocketRides/server/node_modules/lodash

npm ERR! dest /Volumes/ELLIOTS/StripeRocketRides/server/node_modules/.lodash-rn22vo2p

npm ERR! errno -66

npm ERR! ENOTEMPTY: directory not empty, rename '/Volumes/ELLIOTS/StripeRocketRides/server/node_modules/lodash' -> '/Volumes/ELLIOTS/StripeRocketRides/server/node_modules/.lodash-rn22vo2p'

npm ERR! A complete log of this run can be found in:

npm ERR! /Users/xxxxxxxxxx/.npm/_logs/2021-11-10T17_08_18_191Z-debug.log

And in the npm start I see:

stripe-connect-rocketrides@0.0.1 start

node app.js

node:internal/modules/cjs/loader:936

throw err;

^

Error: Cannot find module 'express'

Require stack:

  • /Volumes/ELLIOTS/StripeRocketRides/server/app.js

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)

    at Function.Module._load (node:internal/modules/cjs/loader:778:27)

    at Module.require (node:internal/modules/cjs/loader:1005:19)

    at require (node:internal/modules/cjs/helpers:102:18)

    at Object. (/Volumes/ELLIOTS/StripeRocketRides/server/app.js:4:17)

    at Module._compile (node:internal/modules/cjs/loader:1101:14)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

    at Module.load (node:internal/modules/cjs/loader:981:32)

    at Function.Module._load (node:internal/modules/cjs/loader:822:12)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {

    code: 'MODULE_NOT_FOUND',

    requireStack: [ '/Volumes/ELLIOTS/StripeRocketRides/server/app.js' ]

}

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