Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React tutorial does not work with latest node on mac. #5395

Closed
davidradl opened this issue Feb 19, 2020 · 2 comments
Closed

React tutorial does not work with latest node on mac. #5395

davidradl opened this issue Feb 19, 2020 · 2 comments

Comments

@davidradl
Copy link

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 request/request#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 request/request#3142
warning node-sass > node-gyp > [email protected]: request has been deprecated, see request/request#3142
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
"

Additional information

  • Screenshots or code
  • Notes
@davidradl
Copy link
Author

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

@davidradl
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant