You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see any error when building the typescript project. However, when I run I hit this error:
$ export PORT=4433&&n run start
> [email protected] start
> export NODE_ENV=development&& node --experimental-specifier-resolution=node build/src/webapi/server.js
file:///usr/src/Node.JSRestAPI/build/src/webapi/Services/SchoolService.js:5
import { CommonStudentsResponse as grpcCommonStudentsResponse, } from "../grpc/client/school_pb.js";
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module '../grpc/client/school_pb.js' does not provide an export named 'CommonStudentsResponse'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:171:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:254:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:475:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:109:5)
Node.js v22.2.0
I see the symbol being defined in the file in question:
What do I miss?
Environment
OS name, version and architecture: [e.g. Linux Ubuntu 18.04 amd64] Ubuntu 24.04
Node version [e.g. 8.10.0] 22.4.1
Node installation method [e.g. nvm] apt
If applicable, compiler version [e.g. clang 3.8.0-2ubuntu4] g++ 13.2.0
I generate proto js files with:
These are the generated artefacts:

I don't see any error when building the typescript project. However, when I run I hit this error:
I see the symbol being defined in the file in question:

What do I miss?
Environment
apt
The text was updated successfully, but these errors were encountered: