Skip to content

[Проблема] Не удаётся запустить проект следуя инструкциям по readme.md #67

@airyng

Description

@airyng

Хочу попробовать себя в разработке фичи для приложения как сторонний контрибутор. Произвел следующие действия:

  1. Склонировал репозиторий.
  2. Используя nvm переключил версию nodejs на ту, что указана в readme.md.
  3. Запустил команду yarn. Модули установились без ошибок.
  4. Запустил команду yarn run serve. Появляется следующая ошибка:
Executing task: yarn run serve 

yarn run v1.22.19
$ node .electron-vue/dev-runner.js
## There is an issue with `node-fibers` ##
`E:\projects\anilibrix\node_modules\fibers\bin\win32-x64-83\fibers.node` is missing.

Try running this to fix the issue: C:\Program Files\nodejs\node.exe E:\projects\anilibrix\node_modules\fibers/build
Error: Cannot find module 'E:\projects\anilibrix\node_modules\fibers\bin\win32-x64-83\fibers'
Require stack:
- E:\projects\anilibrix\node_modules\fibers\fibers.js
- E:\projects\anilibrix\.electron-vue\webpack.renderer.config.js
- E:\projects\anilibrix\.electron-vue\dev-runner.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (E:\projects\anilibrix\node_modules\fibers\fibers.js:14:39)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (E:\projects\anilibrix\.electron-vue\webpack.renderer.config.js:50:24)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
E:\projects\anilibrix\node_modules\fibers\fibers.js:23
                throw new Error('Missing binary. See message above.');
                ^

Error: Missing binary. See message above.
    at Object.<anonymous> (E:\projects\anilibrix\node_modules\fibers\fibers.js:23:9)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (E:\projects\anilibrix\.electron-vue\webpack.renderer.config.js:50:24)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (E:\projects\anilibrix\.electron-vue\dev-runner.js:13:24)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Похоже, главная проблема, это ненайденный файл E:\projects\anilibrix\node_modules\fibers\bin\win32-x64-83\fibers.node. Посмотрел в node_modules и действительно нет всей директории win32-x64-83. Хотя директории для других ОС имеются.
Как с этим бороться?

Доп инфо:

node -v
v14.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions