atls / serenity

Open source marketplace SaaS same as profi.ru or youdo.com inspired by DDD

Home Page:https://serenity.atls.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module '/workspace/node_modules/grpc/src/node/extension_binary/node-v88-linux-x64-musl/grpc_node.node'

unmyke opened this issue · comments

Запуск public-gateway заканчивается ошибкой (не найден пакет node-v88-linux-x64-musl, yarn компилит и устанавливает node-v79-linux-x64-musl)

$ docker-compose up public-gateway
WARNING: The PUBLIC_GATEWAY_URL variable is not set. Defaulting to a blank string.
WARNING: The GCS_BUCKET variable is not set. Defaulting to a blank string.
Pulling public-gateway (node:alpine)...
alpine: Pulling from library/node
cbdbe7a5bc2a: Pull complete
c36334c36d30: Pull complete
dc731be5fee1: Pull complete
8a23f73dde1a: Pull complete
Digest: sha256:90dfaf5806a607e81cc81b42b474626612c9271eee7a4fc6644ce6299348425a
Status: Downloaded newer image for node:alpine
serenity_traefik_1 is up-to-date
serenity_redis_1 is up-to-date
serenity_db_1 is up-to-date
Creating serenity_cookie-store_1 ... done
serenity_oathkeeper_1 is up-to-date
Creating serenity_public-gateway_1 ... done
Attaching to serenity_public-gateway_1
public-gateway_1    | yarn run v1.22.5
public-gateway_1    | $ yarn workspace @public-gateway/app dev
public-gateway_1    | $ server-scripts start
public-gateway_1    | Compiled with warnings.
public-gateway_1    | 
public-gateway_1    | /workspace/backend/protos/catalog/src/index.ts
public-gateway_1    | Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
public-gateway_1    | 
public-gateway_1    | /workspace/backend/protos/files/src/index.ts
public-gateway_1    | Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
public-gateway_1    | 
public-gateway_1    | /workspace/backend/protos/identity/src/index.ts
public-gateway_1    | Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
public-gateway_1    | 
public-gateway_1    | /workspace/backend/protos/common/src/index.ts
public-gateway_1    | Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
public-gateway_1    | 
public-gateway_1    | Search for the keywords to learn more about each warning.
public-gateway_1    | To ignore, add // eslint-disable-next-line to the line before.
public-gateway_1    | 
public-gateway_1    | Starting the development server...
public-gateway_1    | 
public-gateway_1    | 
public-gateway_1    | /workspace/node_modules/grpc/src/grpc_extension.js:53
public-gateway_1    |     let error = new Error(message);
public-gateway_1    |                 ^node-v88-linux-x64-musl
public-gateway_1    | Error: Failed to load gRPC binary module because it was not installed for the current system
public-gateway_1    | Expected directory: node-v88-linux-x64-musl
public-gateway_1    | Found: [node-v79-linux-x64-musl]
public-gateway_1    | This problem can often be fixed by running "npm rebuild" on the current system
public-gateway_1    | Original error: Cannot find module '/workspace/node_modules/grpc/src/node/extension_binary/node-v88-linux-x64-musl/grpc_node.node'
public-gateway_1    | Require stack:
public-gateway_1    | - /workspace/node_modules/grpc/src/grpc_extension.js
public-gateway_1    | - /workspace/node_modules/grpc/src/client_interceptors.js
public-gateway_1    | - /workspace/node_modules/grpc/src/client.js
public-gateway_1    | - /workspace/node_modules/grpc/index.js
public-gateway_1    | - /workspace/backend/public-gateway/app/dist/index.js
public-gateway_1    |     at Object.<anonymous> (/workspace/node_modules/grpc/src/grpc_extension.js:53:17)
public-gateway_1    |     at Module._compile (node:internal/modules/cjs/loader:1083:30)
public-gateway_1    |     at Module._extensions..js (node:internal/modules/cjs/loader:1112:10)
public-gateway_1    |     at Object.require.extensions.<computed> [as .js] (/workspace/node_modules/ts-node/src/index.ts:523:44)
public-gateway_1    |     at Module.load (node:internal/modules/cjs/loader:948:32)
public-gateway_1    |     at Function.Module._load (node:internal/modules/cjs/loader:789:14)
public-gateway_1    |     at Module.require (node:internal/modules/cjs/loader:972:19)
public-gateway_1    |     at require (node:internal/modules/cjs/helpers:88:18)
public-gateway_1    |     at Object.<anonymous> (/workspace/node_modules/grpc/src/client_interceptors.js:144:12)
public-gateway_1    |     at Module._compile (node:internal/modules/cjs/loader:1083:30)