@gadji180

Ошибка команды yarn dev?

User@DESKTOP-3232I7A MINGW64 ~/Desktop/Ed-project (main)
$ yarn dev
yarn run v1.22.21
$ vite
C:\Users\User\Desktop\Ed-project\node_modules\rollup\dist\native.js:78
throw new Error(
^

Error: Failed to load module @rollup/rollup-win32-x64-msvc. Required DLL was not found. This error usually happens when Microsoft Visual C++ Redistributable is not installed. You can download it from https://aka.ms/vs/17/release/vc_redist.x64.exe
at requireWithFriendlyError (C:\Users\User\Desktop\Ed-project\node_modules\rollup\dist\native.js:78:10)
at Object. (C:\Users\User\Desktop\Ed-project\node_modules\rollup\dist\native.js:96:48)
... 2 lines matching cause stack trace ...
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:345:17)
at ModuleWrap. (node:internal/modules/esm/translators:294:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24) {
[cause]: Error: The specified module could not be found.
\\?\C:\Users\User\Desktop\Ed-project\node_modules\@rollup\rollup-win32-x64-msvc\rollup.win32-x64-msvc.node
at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at requireWithFriendlyError (C:\Users\User\Desktop\Ed-project\node_modules\rollup\dist\native.js:69:10)
at Object. (C:\Users\User\Desktop\Ed-project\node_modules\rollup\dist\native.js:96:48)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32) {
code: 'ERR_DLOPEN_FAILED'
}
}

Node.js v20.10.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Я пытался и с другой командой "yarn run dev" но выводится такая же ошибка
  • Вопрос задан
  • 209 просмотров
Решения вопроса 1
datka
@datka
Error: Failed to load module @rollup/rollup-win32-x64-msvc. Required DLL was not found. This error usually happens when Microsoft Visual C++ Redistributable is not installed. You can download it from https://aka.ms/vs/17/release/vc_redist.x64.exe


это пробовали?
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы