You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the lib on React with const JSONAPIDeserializer = require('jsonapi-serializer').Deserializer;
and then new JSONAPIDeserializer.name({}).deserialize(data)
but I'm getting ./node_modules/jsonapi-serializer/index.js Module not found:
I'm adding the library with yarn add jsonapi-serializer.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to use the lib on React with
const JSONAPIDeserializer = require('jsonapi-serializer').Deserializer;
and then
new JSONAPIDeserializer.name({}).deserialize(data)
but I'm getting
./node_modules/jsonapi-serializer/index.js Module not found:
I'm adding the library with
yarn add jsonapi-serializer
.What am I doing wrong?
The text was updated successfully, but these errors were encountered: