Skip to content

First time installation on windows fails due to nx #435

Closed

Description

@Harpush

When trying npm i on an empty project (no node_modules) on a windows machine using node v20.11.0 the installation fails with:
Error: Cannot find module '@nx/nx-win32-x64-msvc'

Activity

  1. Harpush commented on Apr 30, 2024

    @Harpush
    CollaboratorAuthor

    @SanderElias This is the issue concerning what we spoke about

  2. Jefiozie commented on Apr 30, 2024

    @Jefiozie
    Contributor

    So, I've found out that it is comming from the angular-eslint package, specificly the builder. It has a dependency on NX which may or may not is needed there. WE are checking with the author it this is correct or not.
    The workaround in the mean time is to remove the package-lock file. Then NPM will install all packages that are needed for the OS. In the package-lock file is a reference to a LINUX part of nx where this is not working for windows.

  3. Jefiozie commented on May 10, 2024

    @Jefiozie
    Contributor

    Closing this as we made a fix for it

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

    area: build & ciRelated the build and CI infrastructure of the projectbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions