Error: Module not found: Error: Can't resolve 'json-schema-spec-types/lib/json-schema-draft-07-schema'
Issue #30
new
I’ve installe the npm package in a proyect and I’m getting the following error:
./node_modules/json-schema-diff/dist/json-schema-diff/diff-schemas/validate-schemas.js:6:31-96 - Error: Module not found: Error: Can't resolve 'json-schema-spec-types/lib/json-schema-draft-07-schema' in '/my-project/node_modules/json-schema-diff/dist/json-schema-diff/diff-schemas'
I’ve checked that node_modules folder has all the dependencies installed and the json-schema-spec-types/lib/json-schema-draft-07-schema
is reachable (the real file that is required is json-schema-spec-types/lib/json-schema-draft-07-schema.json
and is required by validate-schemas.js. Anyway, not working for me.
Project cannot pass build.
Comments (1)
-
Account Deactivated - Log in to comment
Hi Carlos, I can’t reproduce the problem. Can you provide more details of:
npm --version
,node --version
Thanks