Justin Trudeau promised to legalize marijuana in Canada when he campaigned to become prime minister.
At midnight Wednesday, the Cannabis Act becomes law, as Canada becomes the first G7 Nation to legalize recreational marijuana.
(MORE: The Latest: US border officials reiterate pot is illegal)Medicinal use of the drug has been legal in Canada since 2001. Now it's up to each of the country's 13 provinces and territories to determine where and how weed is sold and distributed.
As with any nascent industry, especially one straddling the public and private sectors, there are potential hurdles to clear.
One of those may be having enough pot.
(MORE: Canada legalizes recreational marijuana after Senate passes 'historic' legislation)"There will be shortages," Bruce Linton, CEO of Canopy Growth, told ABC News. Canopy became the first cannabis company in North America to be publicly traded when it was listed on the Toronto Stock Exchange in 2014. "There's been pent up demand for nine decades of prohibition."
Aphria, the third-largest Canadian cannabis company by revenue, alerted investors that it's facing short-term supply-chain issues and will not be able to meet demands ahead of Wednesday.
There was a feverish gold-rush mentality when the law passed, and many companies hit the ground running, analysts said. However, not all of them will have the logistics and infrastructure in place to deliver enough weed to customers, especially early on.
(MORE: When moms use marijuana, kids try it at a young age: Study)"Investors should be warned," said Nikolaas Faes, an analyst at Bryan, Garnier & Co. "There are largely valued companies who don't have contracts with the local governments and provinces. Others are low on inventory. There will be shortages at the beginning because they won't be able to deliver enough product, and the companies who can will gain market share."
Of the 40 or so major cannabis companies in place, Faes predicts about a quarter will survive.
(MORE: More than 100 pot shops set to open as Canada legalizes weed)Weather permitting, Canopy's Linton said he will celebrate the historic event at one of Canopy's Tweed marijuana stores in St. John's, Newfoundland.
The location is significant because it sits across the street from the historic St. John's Court House, he said.
"There were over 100 marijuana cases prosecuted there," he said.