New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New project creation fails with type error #20232
Comments
Having the same issue creating a strapi project without the quickstart option, but with a different error success Installed "[email protected]" with binaries: const stripAnsi = require('strip-ansi'); Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/bilal/.config/yarn/global/node_modules/strip-ansi/index.js from /Users/bilal/.config/yarn/global/node_modules/ora/index.js not supported. |
The same thing happens when creating a project
export function captureStderr(name: string, error: unknown) {
if (isStderrError(error) && error.stderr.trim() !== '') {
error.stderr
.trim()
.split('\n')
.forEach((line) => {
sentry.addBreadcrumb({
category: 'stderr',
message: line,
level: Severity.Error,
});
});
}
return captureError(name);
} My guess is that the error is happening inside the |
i have the following error while creating new project according to the docs:
|
Bug report
Required System information
Describe the bug
When trying to create a new project using
npm create-strapi-app@latest my-api
oryarn create strapi-app@latest my-api
the project initialization fails after choosing the quickstart option. Following error is displayed for me:Steps to reproduce the behavior
yarn create strapi-app@latest my-api
Expected behavior
The project should be created without any error, or display a more consice description of what the problem is.
The text was updated successfully, but these errors were encountered: