How to solve npm WARN config production Use
--omit=dev
instead.

fcomir-ioHOBBY

a year ago

I am getting this message

npm WARN config production Use --omit=dev instead.

after deployment

How can I solve it?

Solved

6 Replies

a year ago

That's just a warning, what issue are you facing?


fcomir-ioHOBBY

a year ago

None, no issues at all
Just wanted to check if it is possible to avoid the warning


a year ago

I assure you the warning is of no consequence.


Status changed to Solved railway[bot] about 1 year ago


fcomir-ioHOBBY

a year ago

Thanks brody
Problem solved then


100020001PRO

a year ago

But its annoying.. What's the issue and how can the message be removed?


a year ago

To have complete control over how your app is built I would recommend looking into a Dockerfile.