Spaces:
Runtime error
Runtime error
hidden = [".config", "package-lock.json"] | |
run = "chmod 755 ./start.sh && ./start.sh" | |
entrypoint = "server.js" | |
[[hints]] | |
regex = "Error \\[ERR_REQUIRE_ESM\\]" | |
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)" | |
[ | ]|
channel = "stable-22_11" | |
[ | ]|
XDG_CONFIG_HOME = "/home/runner/$REPL_SLUG/.config" | |
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin" | |
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global" | |
[ | ]|
requiredFiles = [".replit", "replit.nix", ".config", "package.json", "package-lock.json"] | |
[ | ]|
language = "nodejs" | |
[ | ]|
packageSearch = true | |
guessImports = true | |
enabledForHosting = false | |
[ | ]|
language = "nodejs" | |
[ | ]|
support = true | |
[ | ]|
transport = "localhost:0" | |
startCommand = [ "dap-node" ] | |
[ | ]|
command = "initialize" | |
type = "request" | |
[ | ]|
clientID = "replit" | |
clientName = "replit.com" | |
columnsStartAt1 = true | |
linesStartAt1 = true | |
locale = "en-us" | |
pathFormat = "path" | |
supportsInvalidatedEvent = true | |
supportsProgressReporting = true | |
supportsRunInTerminalRequest = true | |
supportsVariablePaging = true | |
supportsVariableType = true | |
[ | ]|
command = "launch" | |
type = "request" | |
[ | ]|
args = [] | |
console = "externalTerminal" | |
cwd = "." | |
environment = [] | |
pauseForSourceMap = false | |
program = "./server.js" | |
request = "launch" | |
sourceMaps = true | |
stopOnEntry = false | |
type = "pwa-node" | |
[ | ]|
[ | ]|
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.json}" | |
[ | ]|
start = "typescript-language-server --stdio" | |
[ | ]|
run = ["sh", "-c", "./start.sh"] | |