Importing Skygear Cloud


#1

I am trying to import skygear cloud but it keeps giving an npm error even on a fresh installation

./node_modules/pg/lib/connection-parameters.js
Module not found: Can’t resolve ‘dns’ in ‘C:\Users\me\Desktop\Work\practice\test-admin\node_modules\pg\lib’


#2

May you put the commands you run here so we can help look into it?


#3
import skygear from 'skygear';
import {
    skygearConfig
} from './config';
import skygearCloud from 'skygear/cloud'

My package.json is a basic create-react-app using react-admin


#4

What about the command you typed? And would you mind to simply zip the folder for me?

Since the error is about a node module not found I am suspecting it is something because of the packages and the command to load the modules