Skip to content

TypeError: require(...) is not a function #13

@krajasekhar

Description

@krajasekhar

Getting these errors in the console after running

No Config File in Application. Framework default config will be used.
node_modules/oe-cloud/server/config.development.json

var jsFeel = require('js-feel')();
^

TypeError: require(...) is not a function
at Object. (...\oe-cloud-master\common\models\framework\decisi
on-graph.js:9:32)

TypeError: require(...) is not a function
at Object. (...\oe-cloud-master\common\models\framework\decision-serv
ice.js:9:30)

TypeError: require(...) is not a function
at Object. (...\oe-cloud-master\common\models\framework\decision-tabl
e.js:9:32)

var { createDecisionGraphAST, executeDecisionService } = jsFeel.decisionService;
^
TypeError: Cannot destructure property createDecisionGraphAST of 'undefined' or 'null'.
at Object. (..\oe-cloud-master\common\models\framework\decisi
on-graph.js:15:65)

Unhandled rejection Error: Callback was already called.
at ...\oe-cloud\node_modules\async\dist\async.js:966:32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions