danivek/json-api-serializer

Missing dependency

danherd opened this issue · 1 comments

I'm wanting to use this in a Vue.js app (using webpack) and whenever I import it:

import JSONAPISerializer from 'json-api-serializer'

I get the following error:

This dependency was not found:

* dns in ./node_modules/isemail/lib/index.js

To install it, you can run: npm install --save dns

I tried doing what it asks, but got:

error hawk@0.10.2: The engine "node" is incompatible with this module. Expected version "0.8.x".

So I added the --ignore-engines flag, which installed it, but now I get:

 warning  in ./node_modules/defaultable/defaultable.js

49:13-31 Critical dependency: the request of a dependency is an expression

So, is there anything I can do to get this working?

Ah, never mind. I guess it's for Node.js only - my apologies.