Skip to content

verify that the package.json has a valid "main" entry #15

Open
@hanu7674

Description

@hanu7674

$ npm start

react-redux-firebase-authentication@0.2.0 start
react-scripts start

node:internal/modules/cjs/loader:371
throw err;
^

Error: Cannot find module 'C:\Data\projects\react-redux-firebase-authentication\node_modules\lodash\lodash.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:363:19)
at Module._findPath (node:internal/modules/cjs/loader:576:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:941:27)
at Module._load (node:internal/modules/cjs/loader:803:27)
at Module.require (node:internal/modules/cjs/loader:1021:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\Data\projects\react-redux-firebase-authentication\node_modules\http-proxy-middleware\lib\index.js:1:9)
at Module._compile (node:internal/modules/cjs/loader:1119:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
at Module.load (node:internal/modules/cjs/loader:997:32) {
code: 'MODULE_NOT_FOUND',
path: 'C:\Data\projects\react-redux-firebase-authentication\node_modules\lodash\package.json',
requestPath: 'lodash'
}

Node.js v18.9.1

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