FG
💻 Software🌐 Web & Full-Stack

yarn install throw error because `oxide-node-api-shim` a non-existing file

Fresh3 days ago
Mar 14, 20260 views
Confidence Score95%
95%

Problem

_Maintainer's note: This issue has been fixed in v3.2.6._ --- Tailwind: `v3.2.5` Node: `v19.6.0` Yarn: `v1.22.19` When trying to install new Tailwind version `3.2.5` using Yarn, I get that error: `error Package "" refers to a non-existing file '"/Users/akoraie/MyApp/assets/oxide-node-api-shim"'.`

Error Output

error:
`error Package "" refers to a non-existing file '"/Users/akoraie/MyApp/assets/oxide-node-api-shim"'.`

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Upgrade Tailwind to v3.2.6 to Resolve Dependency Issue

Low Risk

The error occurs because the package `oxide-node-api-shim` is referenced in the project but does not exist in the specified path. This issue has been addressed in the Tailwind CSS version 3.2.6, which updates the dependencies and removes the reference to the non-existing file.

Awaiting Verification

Be the first to verify this fix

  1. 1

    Update Tailwind CSS Version

    Upgrade Tailwind CSS to the latest version (3.2.6) to resolve the dependency issue.

    bash
    yarn add tailwindcss@3.2.6
  2. 2

    Clear Yarn Cache

    Clear the Yarn cache to ensure that any previous installations do not interfere with the new installation.

    bash
    yarn cache clean
  3. 3

    Reinstall Node Modules

    Remove the existing node_modules directory and reinstall the dependencies to ensure a clean setup.

    bash
    rm -rf node_modules && yarn install
  4. 4

    Verify Installation

    Check that Tailwind CSS is correctly installed and that there are no errors related to `oxide-node-api-shim`.

    bash
    yarn list tailwindcss

Validation

Run `yarn install` again after following the steps. If the installation completes without errors and `tailwindcss@3.2.6` is listed in the output of `yarn list tailwindcss`, the fix has worked.

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

tailwindcsscss