uswitch / ustyle

A living styleguide and pattern library by uSwitch.
https://ustyle.guide
Other
19 stars 5 forks source link

Upgrade npm packages #193

Open annez opened 7 years ago

annez commented 7 years ago

Grunt is now at 1.0.0 and a lot of our packages are out of date. We should take a look and upgrade them.

Are all important to our development and should be upgraded.

jpstevens commented 7 years ago

@annez RE "should be upgraded", can you give reasons?

annez commented 7 years ago

Yes, most of these packages were never in a stable release so they've been constantly upgraded and improved

With grunt and the watch tasks - they no longer work as expected and it seems you need to save .scss files twice to get the right compilation. This is probably a dependency issue around Node 4+ and old version of file watcher and grunt.

Get the error:

Fatal error: this.ee._events.hasOwnProperty is not a function

Every time we run the watcher task

image

theinternetofthinks commented 7 years ago

Hi, and what can I do for solve the problem? I have updated the packages and it doesn't work

annez commented 7 years ago

Hi @marcosefrem - can you show us a diff of the packages you updated and a stack trace of what is erroring?

theinternetofthinks commented 7 years ago

Here you have, thanks in advance

packages error