Skip to content

Brand new v5 install, error on first startup - Error: Cannot find module '@strapi\plugin-content-manager\package.json'  #20164

@jbeckton

Description

@jbeckton

Bug report

Required System information

  • Node.js version: v20.12.2
  • NPM version: 10.5.0
  • Strapi version: 5.0.0-beta.4
  • Database: Postgres
  • Operating system: Windows 11
  • Is your project Javascript or Typescript: Typescript

When I run strapi report I get the following error.

image

Describe the bug

After generating my first strapi v5 app locally using the cli command npx create-strapi-app@beta strapi choosing the custom option as well as typescript and then providing my postgres db info. When I try and run the new strapi instance for the first time using npm run develop I get missing module errors. The modules that it is complaining about are plugins such as @strapi\plugin-content-manager.

Over the course of the last hour, I have tried to re-install and run strapi v5 a few times and have seen random missing module errors. These missing modules have all been from @strapi/plugin-*

Steps to reproduce the behavior

  1. npx create-strapi-app@beta strapi
  2. cd strapi
  3. npm run develop
  4. See error

Expected behavior

I would expect strapi to start up and allow me to finish setting up the local instance.

Screenshots

image

Here is the package.json file that the cli created.

image

In previous versions of strapi I did not have to add these core plugins via npm install.

Metadata

Metadata

Labels

issue: bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundsource: core:content-managerSource is core/content-manager packagesource: dependenciesSource is dependency problemstatus: confirmedConfirmed by a Strapi Team member or multiple community membersversion: 5Issue is present in Strapi 5

Type

No type

Projects

Status

Fixed/Shipped

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions