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

2 years ago

I am getting this message

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

after deployment

How can I solve it?

Solved

6 Replies

2 years ago

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


fcomir-io
HOBBYOP

2 years ago

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


2 years ago

I assure you the warning is of no consequence.


Status changed to Solved Railway almost 2 years ago


fcomir-io
HOBBYOP

2 years ago

Thanks brody
Problem solved then


100020001
PRO

2 years ago

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


2 years ago

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


Loading...