jsonmaur / jumpsuit

MIT License
1.39k stars 74 forks source link

Annoying deprecation warnings #57

Closed ArnisL closed 7 years ago

ArnisL commented 7 years ago

What exactly causes these deprecation warnings to come up?

Is it possible to get rid of them?

$ node -v
v7.1.0

$ jumpsuit build
     _                       _ _
    |_|_ _ _____ ___ ___ _ _|_| |_
    | | | |     | . |_ -| | | |  _|
   _| |___|_|_|_|  _|___|___|_|_|
  |___|         |_|

▸   building... 

(node:19656) DeprecationWarning: Using Buffer without `new` will soon stop working.  
Use `new Buffer()`, or preferably `Buffer.from()`,  
`Buffer.allocUnsafe()` or `Buffer.alloc()` instead.

(node:19656) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1):  
Invariant Violation:  
Minified React error #46; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=46 for the  
full message or use the non-minified dev environment for full errors and additional helpful warnings.

(node:19656) DeprecationWarning: Unhandled promise rejections are deprecated.  
In the future, promise rejections that are not handled will terminate the Node.js process  
with a non-zero exit code.
✓ (13822ms)
tannerlinsley commented 7 years ago

This is a node 7 specific warning. We will look into it.

tannerlinsley commented 7 years ago

The jumpsuit-cli is soon to be deprecated in favor of jumpsuit@2.0.0. Closing for now :)