HONOLULU ― People in Hawaii are scrambling to gather emergency supplies and food as Hurricane Lane inches dangerously close to the islands as a Category 4 storm.

Lane’s forecasted track prompted hurricane warnings for nearly all of the main islands, including Hawaii (also known as the Big Island), Maui, Molokai, Lanai and Oahu. By 8 p.m. on Wednesday, Hurricane Lane was located 260 miles south of the Big Island and 375 miles south of Oahu, with maximum sustained winds of 145 mph.

“The center of Lane will track dangerously close to the Hawaiian islands from Thursday through Saturday,” the Central Pacific Warning Center said in an evening update. “Regardless of the exact track of the storm center, life-threatening impacts are likely over some areas as this strong hurricane makes its closest approach.”

Speaking at a press conference on Wednesday, Gov. David Ige told residents to prepare to shelter in place with enough food and supplies to last 14 days.

“We are expecting large amounts of rain, flooding and high winds,” Ige said. “There will be significant impacts even if the hurricane doesn’t hit us directly.”

Hurricane Lane caused some panic as it moved closer to the islands and strengthened into a Category 5 storm late Tuesday night before weakening to Category 4 on Wednesday morning.

On Oahu, where nearly 70 percent of the state’s population lives, residents flocked to grocery, hardware and wholesale stores, clearing inventories of propane tanks, water bottles and canned food.