Skip to content

Warning: Accessing non-existent property 'messages' #13

@gigaga

Description

@gigaga

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch json-validator@0.0.34 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/json-validator/matchers.js b/node_modules/json-validator/matchers.js
index 012ef05..4ffab22 100644
--- a/node_modules/json-validator/matchers.js
+++ b/node_modules/json-validator/matchers.js
@@ -1,5 +1,4 @@
-var validationMessages = require('./app').messages,
-    NULL = require('./constants').NULL,
+var NULL = require('./constants').NULL,
 	validator = require('validator'),
 	utils = require('gammautils'),
 	deepMerge = utils.object.deepMerge,

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions