rectify error
locky-09
FREEOP

7 months ago

pnpm install --frozen-lockfile --prefer-offline

343ms

ERROR packages field missing or empty

For help, run: pnpm help install

ERROR: failed to build: failed to solve: process "pnpm install --frozen-lockfile --prefer-offline" did not complete successfully: exit code: 1

got this while deploying but it actually has this package and now how to rectify this

$10 Bounty

3 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


7 months ago

Hey, can you please share your package.json file here?


hardik7843
PRO

7 months ago

try deleting pnpm-lock.yaml and node_modules and run pnpm install again.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...