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

Deployment error: Debug Failure. False expression when deploy extension #67

Open
huy-lv opened this issue Apr 20, 2020 · 2 comments
Open

Comments

@huy-lv
Copy link

huy-lv commented Apr 20, 2020

Here is the package json of my extension

{
    "devDependencies": {
        "@rocket.chat/apps-engine": "^1.12.0",
        "@types/node": "^10.12.14",
        "tslint": "^5.10.0",
        "typescript": "^3.7.3"
    }
}

When i deploy app, i got the following problem. Pls help!

Error: Deployment error: Debug Failure. False expression.
    at Deploy.asyncSubmitData (/usr/local/lib/node_modules/@rocket.chat/apps-cli/lib/commands/deploy.js:100:19)
    at async Deploy.run (/usr/local/lib/node_modules/@rocket.chat/apps-cli/lib/commands/deploy.js:47:9)
    at async Deploy._run (/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/command/lib/command.js:44:20)
    at async Config.runCommand (/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/config/lib/config.js:172:9)
    at async Main.run (/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/command/lib/main.js:21:9)
    at async Main._run (/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/command/lib/command.js:44:20)
@cuonghuunguyen
Copy link
Contributor

Seems u have imported something that's not from the app's directory. Importing some modules that's not from apps-engine/definition will cause this issue as well

@ritwizsinha
Copy link
Contributor

ritwizsinha commented Nov 9, 2020

This error happens to me when I have a folder and I try to import all the modules in the folder to a common index.ts file. Then importing anything from this index leads to this error. In the server logs I get
Failed to resolve module [folder name]
This problem did not arise when I imported from the respective files.

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

No branches or pull requests

3 participants