Skip to content

Install failed with Node v.10 due to upath@1.0.4 incompatibility #4367

Closed
@jmhdev

Description

@jmhdev

Is this a bug report?

Not exactly, unless module incompatibility counts as a bug

Environment

  1. node -v: 10.0.0
  2. npm -v: 6.0.0
  3. yarn --version (if you use Yarn): 1.6.0
  4. npm ls react-scripts (if you haven’t ejected): N/A (install is failing)

Then, specify:

  1. Operating system: Windows 10
  2. Browser and version (if relevant):

Steps to Reproduce

(Write your steps here:)

  1. Install Node v.10
  2. Run create-react-app
  3. Await the error :(

Expected Behavior

I was hoping for a nice clean install of the base project.

Actual Behavior

Install failed:

image

Activity

retyui

retyui commented on Apr 26, 2018

@retyui

Small fix

yarn config set ignore-engines true
jmhdev

jmhdev commented on Apr 26, 2018

@jmhdev
Author

Well there we go. I guess I need to learn yarn better.

Thanks @retyui

iansu

iansu commented on Apr 26, 2018

@iansu
Contributor

We still need to fix this properly by upgrading upath once this is merged and released: anodynos/upath#15

havsar

havsar commented on Apr 27, 2018

@havsar

For one time engine ignoring:

yarn --ignore-engines install

retyui

retyui commented on Apr 27, 2018

@retyui

@havsar
create-react-app itself starts the installation of dependencies, where you can not fart your arguments
https://github.com/facebook/create-react-app/blob/next/packages/create-react-app/createReactApp.js#L249

anodynos

anodynos commented on Apr 27, 2018

@anodynos

Hello everyone - I merged anodynos/upath#15 & published it - thanks & sorry for the delay! You can close the issue, once you check its working.

panmona

panmona commented on Apr 29, 2018

@panmona

Great that this was merged. How can we resolve this issue now?

nickserv

nickserv commented on Apr 29, 2018

@nickserv
Contributor

It seems to properly install upath 1.0.5 if I clear the package lock and reinstall.

panmona

panmona commented on Apr 29, 2018

@panmona

@nickmccurdy Good idea, I'll try that!

jdoucy

jdoucy commented on Apr 30, 2018

@jdoucy

Works for me, thx for the reactivity 👍

Timer

Timer commented on Apr 30, 2018

@Timer
Contributor

Hi everyone! Please rm -rf node_modules/ and rm package-lock.json then npm i.
If you're using Yarn, simply run yarn upgrade (if you have an existing project folder).

If this happens while running npx create-react-app my-app and leaves you with nothing, please run npm cache clean --force, then try again.

10 remaining items

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @iansu@Timer@anodynos@nickserv@retyui

        Issue actions

          Install failed with Node v.10 due to upath@1.0.4 incompatibility · Issue #4367 · facebook/create-react-app