Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The application crashes if the command does not exist #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zenkdev
Copy link

@zenkdev zenkdev commented Feb 25, 2022

> Executing task: npm run start <


> broadlink-mqtt-bridge@1.0.0 start
> node -r esm index.js

LOGLEVEL: warn
2022-02-25 18:36:53 [warn]:     Didn't find file C:\_projects_\broadlink-mqtt-bridge\commands\nexa\tv\button\on, try to load old version 
C:\_projects_\broadlink-mqtt-bridge\src\actions\files.js:45
          reject(new Error(`Failed to load file ${pathToFile}`));
                 ^

Error: Failed to load file C:\_projects_\broadlink-mqtt-bridge\commands\nexa\tv\button\on
    at ReadFileContext.callback (C:\_projects_\broadlink-mqtt-bridge\src\actions\files.js:45:18)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (node:fs:314:13)
The terminal process "C:\Program Files\Git\bin\bash.exe '--login', '-c', 'npm run start'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Alexander added 2 commits February 25, 2022 21:28
> broadlink-mqtt-bridge@1.0.0 start
> node -r esm index.js

LOGLEVEL: warn
2022-02-25 18:36:53 [warn]:     Didn't find file C:\_projects_\broadlink-mqtt-bridge\commands\nexa\tv\button\on, try to load old version
C:\_projects_\broadlink-mqtt-bridge\src\actions\files.js:45
          reject(new Error(`Failed to load file ${pathToFile}`));
                 ^

Error: Failed to load file C:\_projects_\broadlink-mqtt-bridge\commands\nexa\tv\button\on
    at ReadFileContext.callback (C:\_projects_\broadlink-mqtt-bridge\src\actions\files.js:45:18)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (node:fs:314:13)
The terminal process "C:\Program Files\Git\bin\bash.exe '--login', '-c', 'npm run start'" terminated with exit code: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant