node --experimental-json-modules --es-module-specifier-resolution=node --harmony-top-level-await “–experimental-json-modules” “–es-module-specifier-resolution=node” “–harmony-top-level-await” “src/index” “-” “NODE_ENV=development” “-” “PHALA_MODULE=fetch” “-” “PHALA_LOGGER_LEVEL=debug” “-” “PHALA_DB_PREFIX=/var/data” “-” “PHALA_CHAIN_ENDPOINT=wss://path.to.phala.node/ws” “-” “PHALA_REDIS_ENDPOINT=redis://redis:6379/” “-” “PHALA_DB_HOST=io” “-” “PHALA_DB_PORT_BASE=9000”
{“name”:“prb”,“hostname”:“LAPTOP-82U6K1HI”,“pid”:16056,“level”:30,“loggerLevel”:30,“msg”:“Logging Enabled.”,“time”:“2021-08-03T08:23:17.038Z”,“src”:{“file”:“file:///C:/Users/Lenovo/Documents/HBuilderProjects/runtime-bridge/src/utils/logger.js”,“line”:10},“v”:0}
internal/process/esm_loader.js:74
internalBinding(‘errors’).triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module ‘/C:/Users/Lenovo/Documents/HBuilderProjects/runtime-bridge/src/undefined’ imported from C:\Users\Lenovo\Documents\HBuilderProjects\runtime-bridge\src\index.js
at finalizeResolution (internal/modules/esm/resolve.js:274:11)
at moduleResolve (internal/modules/esm/resolve.js:708:10)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:819:11)
at Loader.resolve (internal/modules/esm/loader.js:89:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:242:28)
at Loader.import (internal/modules/esm/loader.js:177:28)
at importModuleDynamically (internal/modules/esm/translators.js:114:35)
at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
at file:///C:/Users/Lenovo/Documents/HBuilderProjects/runtime-bridge/src/index.js:9:28
at ModuleJob.run (internal/modules/esm/module_job.js:170:25) {
code: ‘ERR_MODULE_NOT_FOUND’
}
ERROR Command failed with exit code 1.