Skip to content

Cannot find module error upon fresh install running npm start #40

@TickJar

Description

@TickJar

After a fresh install, I'm getting the following error while running npm start:

Cannot find module 'ajv/dist/compile/codegen'
Require stack:
Cannot find module 'ajv/dist/compile/codegen'
Require stack:
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/ajv-keywords/dist/definitions/typeof.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/ajv-keywords/dist/keywords/typeof.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/ajv-keywords/dist/keywords/index.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/ajv-keywords/dist/index.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/schema-utils/dist/validate.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/schema-utils/dist/index.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/webpack-dev-server/lib/Server.js
- /Users/jaredsteffen/Sites/ticket_attendant/node_modules/react-scripts/scripts/start.js

reco-cli-bundleServe, error at react start serve.
ERROR :Error: Command failed: react-scripts start

I did ensure that all packages were installed. ajv-keywords, schema-utils, webpack-dev-server, and react-scripts are all present in my node_modules folder. I also installed reco, create-react-app, and cordova globally.

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