Faced with growing fear about the risks of vaping, New Jersey last month became the second state to adopt legislation outlawing all nicotine vaping liquids other than those flavored to taste like tobacco.

It has banned all fruit- and menthol-flavored e-cigarettes and cartridges, which are popular with teenagers, as well as most nicotine-infused liquids that are used in larger, hand-held vaping devices and are commonly sold in vape shops.

Under New Jersey’s new law, Darth Vapor’s rows of disposable e-cigarettes, menthol Juul pods and flavors with names like “God Nectar,” “Joy on the Off Ramp” and “Apple Cinnamon Donut” must be gone by April 20. Only a handful of tobacco-flavored products can remain.

“How does a whole store that pays employees and rent survive on five flavors of tobacco?” Mr. Mitrani said. “The answer is it can’t.”

Many shop owners say they are selling off as much inventory as possible, operating on month-to-month leases and preparing to close. Others are making plans to sell pipes, tobacco products, CBD oil and kratom, an herbal supplement that the Food and Drug Administration has said can be dangerous, to try and stay afloat.