Automattic / Automattic/Picard

react-tools has been deprecated

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
[Type] Enhancement
Dominant language
CSS
Stars
622
Forks
108
PR merge metrics
No merged PRs in 30d

Description

It looks like the gulp build command requires react-tools to process the scripts. I'm stuck, so I'll leave this here so someone smarter than me can update the gulpfile.js items.

```
npm WARN deprecated react-tools@0.12.2: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
```

```
server:Picard Jesse$ gulp build
[14:52:41] Using gulpfile ~/Documents/Websites/www.mysite.dev/wp-content/themes/Picard/gulpfile.js
[14:52:41] Starting 'styles'...
[14:52:42] Finished 'styles' after 596 ms
[14:52:42] Starting 'scripts'...

events.js:72
throw er; // Unhandled 'error' event
^
Error: EMFILE, open '/Users/Jesse/Documents/Websites/www.mysite.dev/wp-content/themes/Picard/node_modules/react/package.json'
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with gulpfile.js and run the reported `gulp build` command to reproduce the failure involving react-tools and node_modules/react/package.json. Trace the scripts task and determine the required update for the deprecated dependency; done means the build completes without the reported deprecation-related failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.