Carbon: React tutorial does not work with latest node on mac.

Created on 19 Feb 2020  ยท  2Comments  ยท  Source: carbon-design-system/carbon

Steps to reproduce the issue

I have node v13.7.0 and ma running a on a mac. I followed the instruction on you web site https://www.carbondesignsystem.com/tutorial/react/step-1. This is such a bad first impression of Carbon. I was hoping to pick up a recent set of dependancies that I would use as a the basis of a project, but it seems the levels of software associated with this tutuorial are very backlevel.

When I enter yarn, it fails I get errors:
"% yarn

yarn install v1.22.0

[1/4] ๐Ÿ” Resolving packages...

[2/4] ๐Ÿšš Fetching packages...

[3/4] ๐Ÿ”— Linking dependencies...

[4/4] ๐Ÿ”จ Building fresh packages...

[1/4] โ ‚ fsevents

[2/4] โ ‚ fsevents

[-/4] โ ‚ waiting...

warning Error running install script for optional dependency: "/Users/davidradley/carbon-tutorial/node_modules/react-scripts/node_modules/fsevents: Command failed.

Exit code: 1

Command: node install

Arguments:

Directory: /Users/davidradley/carbon-tutorial/node_modules/react-scripts/node_modules/fsevents

Output:

node-pre-gyp info it worked if it ends with ok

node-pre-gyp info using [email protected]

node-pre-gyp info using [email protected] | darwin | x64

node-pre-gyp info check checked for \"/Users/davidradley/carbon-tutorial/node_modules/react-scripts/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node\" (not found)"

I deleted yarn.lock and get
"yarn
yarn install v1.22.0
info No lockfile found.
[1/4] ๐Ÿ” Resolving packages...
warning react-scripts > [email protected]: Way too old
warning react-scripts > react-app-polyfill > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-scripts > workbox-webpack-plugin > babel-runtime > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-scripts > workbox-webpack-plugin > workbox-build > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > eslint > file-entry-cache > flat-cache > [email protected]: CircularJSON is in maintenance only, flatted is its successor.
warning react-scripts > jest > jest-cli > jest-config > babel-core > babel-register > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-scripts > jest > jest-cli > prompts > [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
warning react-scripts > workbox-webpack-plugin > workbox-build > joi > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > workbox-webpack-plugin > workbox-build > joi > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > workbox-webpack-plugin > workbox-build > joi > topo > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > jest > jest-cli > jest-environment-jsdom > jsdom > [email protected]: use String.prototype.padStart()
warning react-scripts > jest > jest-cli > jest-environment-jsdom > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @commitlint/cli > babel-polyfill > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning node-sass > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning node-sass > node-gyp > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
[2/4] ๐Ÿšš Fetching packages...
[3/4] ๐Ÿ”— Linking dependencies...
[4/4] ๐Ÿ”จ Building fresh packages...
"

Additional information

  • Screenshots or code
  • Notes
bug ๐Ÿ›

Most helpful comment

I am closing this issue - I will raise against the carbon tutorial repo.

All 2 comments

I notice #5391 has just gone in. I assume that the tutorial will be updated in due course.

I am closing this issue - I will raise against the carbon tutorial repo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ConradSchmidt picture ConradSchmidt  ยท  3Comments

windgaucho picture windgaucho  ยท  3Comments

snidersd picture snidersd  ยท  3Comments

jhpedemonte picture jhpedemonte  ยท  3Comments

skaparelos1 picture skaparelos1  ยท  3Comments