Eject command builds package.json and runs npm install for every command it ejects one-by-one. The npm install command is an async process and nothing is currently waiting for it.
The eject command should ideally build up a list of files to copy and a combined package.json file before running npm install and copy files once only at the end. This will avoid making changes to the file system etc... before checking for clashes / issues.
Eject command builds
package.json
and runsnpm install
for every command it ejects one-by-one. Thenpm install
command is an async process and nothing is currently waiting for it.The eject command should ideally build up a list of files to copy and a combined package.json file before running
npm install
andcopy files
once only at the end. This will avoid making changes to the file system etc... before checking for clashes / issues.