To use load resources via resources.Get etc. from node_modules you need to mount them into your project (typically /assets, but you may need to mount the fontawesome fonts below /static).
Also note that if you’re not a big fan of NPM, you can mount GitHub projects directly, or use prepared Hugo Modules, e.g.