Closed AkshayVerma-Ipsator closed 7 months ago
@nodejs/core PTAL
@ShogunPanda
What command was typed? Please provide the full error log.
A stack trace isn't enough. Please provide steps to reproduce.
npx create-strapi-app@latest my-project
# 'npx' runs a command from an npm package
# 'create-strapi-app' is the Strapi package
# '@latest' indicates that the latest version of Strapi is used
# 'my-project' is the name of your Strapi project
install the strapi project then run
npm run develop
I was migrating data from WordPress headless cms to strapi headless cms and for that, I developed a code that fetches the data from WordPress and posts the data to strapi. it may run smoothly for a while if it is not fetching anything but after doing continuous 50-60 crud operations like post from the scripts it crashes in between only.
docker run -it node:20 bash
npx create-strapi-app@latest my-project
Need to install the following packages:
create-strapi-app@4.15.5
Ok to proceed? (y)
? Choose your installation type Quickstart (recommended)
Creating a quickstart project.
Creating a new Strapi application at /my-project.
Creating files.
Dependencies installed successfully.
Initialized a git repository.
Your application was created at /my-project.
Available commands in your project:
yarn develop
Start Strapi in watch mode. (Changes in Strapi project files will trigger a server restart)
yarn start
Start Strapi without watch mode.
yarn build
Build Strapi admin panel.
yarn strapi
Display all available commands.
You can start by doing:
cd /my-project
yarn develop
Running your Strapi application.
> my-project@0.1.0 develop
> strapi develop
⠋ Building build context
⠙ Building build context[INFO] Including the following ENV variables as part of the JS bundle:
- ADMIN_PATH
- STRAPI_ADMIN_BACKEND_URL
- STRAPI_TELEMETRY_DISABLED
✔ Building build context (118ms)
⠸ Creating adminSegmentation fault
This could be a bug in Strapi. I suggest you open an issue with them. For Node to resolve this, we’ll need a minimal reproduction that can demonstrate the issue without dependencies.
You would want to open an issue on the main repo https://github.com/nodejs/node
Let's open one on https://github.com/strapi/strapi/issues instead because they have seen this issue twice https://github.com/nodejs/help/issues/4304#issuecomment-1831936744 yet it is still not fixed.
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
I suspect this is the latter.
This is a known bug in the implementation of Happy Eyeballs. There are tons of issues about this in the main repository.
I confirm. I'll tackle this starting on Monday, finally.
Details
Node.js v20.6.1
Node.js version
v20.6.1
Example code
No response
Operating system
Windows
Scope
runtime
Module and version
Not applicable.