Skip to content
This repository was archived by the owner on Jun 24, 2023. It is now read-only.
This repository was archived by the owner on Jun 24, 2023. It is now read-only.

[vite] error while updating dependencies #47

Description

@RajaRakoto

Hello, I want to use react three editor to modify my scene, when I installed this module following your instructions in this repository, I received this error (in the image below) in my terminal, I Still want to clarify the step I did before:

Here is the error in my terminal:

16:31:28 [vite] error while updating dependencies: Error: ENOENT: no such file or directory, rename '[project_path]\node_modules\.vite\deps_temp_3b70f825' -> '[project_path]\node_modules\.vite\deps'

1 - yarn add @react-three/editor --dev
2 - I added this code in vite.config.ts:

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { r3f } from '@react-three/editor/vite';

export default defineConfig((env) => ({
  plugins: [env.command === 'build' ? react() : r3f()],
}));

3 - yarn run dev (then the error in console)

Note 1: In my browser console I get this message:

Failed to load resource: server responded with a status of 504 (Optimization department out of date)

Note 2: I'm using typescript 4.9.3, vite 4.2.0 and @react-three/editor 0.0.16

Activity

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

      Issue actions