npm warning when running rake assets:precompile #221
-
Hi, Thank you for this great project. This isn't a bug, so much as a question I couldn't find an answer to.
Description 📖When deploying with Capistrano, I see the following warning printed to the console:
As far as I can tell, this warning seems to be caused by the Reproduction 🐞
Output:
Is there anything that can be done to clobber this warning? I guess something somewhere is running using the deprecated
Happy to provide more info if required. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi James! The It doesn't seem to be setting the |
Beta Was this translation helpful? Give feedback.
-
I am pretty certain this is something vite_ruby/vite_ruby/lib/tasks/vite.rake Line 85 in 18cc729 |
Beta Was this translation helpful? Give feedback.
I am pretty certain this is something
vite_ruby
is doing. You can see here that it is explicitly setting theNPM_CONFIG_PRODUCTION
env variable. I think that is what leads to the deprecation warning.vite_ruby/vite_ruby/lib/tasks/vite.rake
Line 85 in 18cc729