While this might work sometimes, it's not recommended. Manually adding modules can lead to missing dependencies and potential version mismatches, causing the "Error: cannot find module". Always use a package manager like npm or yarn to manage your dependencies.