Score:0

When I use older node version the ubuntu's "make" command fails but succeeds when I use the latest node versoin, why?

vc flag

I am trying to run the react code that depends on the older node version, node version 16.14.0. When I use make to run initialization scripts it fails after using the node version 16.14.0.

But succeeds when I use the node version 18.7.0 which is the latest one now. Why does this happen? Can anybody guide me, please? The error message I get with the older node version is

$ env-cmd -e dev react-scripts start

make: env-cmd: Command not found 

make: *** [Makefile:5: start-dev] Error 127
in flag
There is insufficient information here to answer your question accurately. However, if you need to run a very specific version of Node, you may find better success with a Docker container. This will allow you to get exactly the version you want and not worry about future apt updates from overwriting your setup.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.