When you add a new component or npm module and run make, component install and npm install are not executed if components and node_modules directories exists.
As a workaround, you have to run make clean && make, delete the directories manually or run component install and/or npm install.
I think it is due to node_modules and components Makefile targets are not PHONY. According to GNU make docs, when targets are executed, make looks for a file with the target name, and if it exists, the target is not executed unless is PHONY.
In this case, make components is generating a components directory, so when this directory exists, components target is bypassed. Same thing with node_modules.
When you add a new component or npm module and run
make,component installandnpm installare not executed ifcomponentsandnode_modulesdirectories exists.As a workaround, you have to run
make clean && make, delete the directories manually or runcomponent installand/ornpm install.I think it is due to
node_modulesandcomponentsMakefiletargets are not PHONY. According to GNU make docs, when targets are executed,makelooks for a file with the target name, and if it exists, the target is not executed unless is PHONY.In this case,
make componentsis generating acomponentsdirectory, so when this directory exists,componentstarget is bypassed. Same thing withnode_modules.