-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
i tryed to run rtjscomp on my rpi1 WITHOUT any config or public folder just blank instalation.
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $ npx -v
7.5.2
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $ nano rtjscomp.sh
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $ ./rtjscomp.sh
running rtjscomp dev mode as lff
(node:1197) UnhandledPromiseRejectionWarning: Error: Cannot find module 'fs/promises'
Require stack:
- /home/lff/.npm/_npx/29213345400f2bb2/node_modules/rtjscomp/rtjscomp.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at /home/lff/.npm/_npx/29213345400f2bb2/node_modules/rtjscomp/rtjscomp.js:5:36
at Object.<anonymous> (/home/lff/.npm/_npx/29213345400f2bb2/node_modules/rtjscomp/rtjscomp.js:45:461)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
(node:1197) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1197) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $ node -v
v12.22.12
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $ cat rtjscomp.sh
#!/bin/bash
echo "running rtjscomp dev mode as $(whoami)";
npx --yes rtjscomp@latest;
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $ ls
rtjscomp.sh
lff@LFF-RaspberryPi:~/Programmes/rtjscomp $
L3P3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working