Open mangeleptico opened 4 weeks ago
Same issue here
[4/4] Building fresh packages... [1/2] ⠂ core-js error /data/data/com.termux/files/home/storage/projects/game/node_modules/core-js: Command failed. Exit code: 1 Command: node -e "try{require('./postinstall')}catch(e){}" Arguments: Directory: /data/data/com.termux/files/home/storage/projects/game/node_modules/core-js Output: error: expected absolute path: "-e"
Problem description
I want to install a develop environment with react, but when i try to create a basic React project, this error appears. nodejs version: 20.15.1 npm version: 10.7.0
i'll appreciate any answer.
What steps will reproduce the bug?
➜ npx create-react-app my-new-awesome-app
Creating a new React app in /data/data/com.termux/files/home/DEV/React/my-new-awesome-app.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
core-js@3.38.0 postinstall node -e "try{require('./postinstall')}catch(e){}"
core-js-pure@3.38.0 postinstall node -e "try{require('./postinstall')}catch(e){}"
added 1480 packages in 1m
261 packages are looking for funding run npm fund for details error: expected absolute path: "-e"
Aborting installation. node has failed.
Deleting generated file... node_modules Deleting generated file... package.json Done.
What is the expected behavior?
No response
System information