I tried the following:
Download the latest substrate-node-template repository: https://github.com/substrate-developer-hub/substrate-node-template/tree/latest (I want the node template not the contract node)
I tried the steps in document: https://docs.substrate.io/tutorials/work-with-pallets/contracts-pallet/
Findings: The documentation cause an error.
I added only the pallet_contracts and primitives then tried to run cargo build --release. I received an error as follows:
failed to select a version for the requirement
My goal is to add a smart contract support to my substrate-node-template. Not any other template like node-contract, etc., since I already started hacking my template.