raphamorim/native-css

exception when integrated as module

Open

#21 aberto em 12 de set. de 2017

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (25 forks)github user discovery
Hacktoberfestenhancement

Métricas do repositório

Stars
 (340 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

when I integrated it as module in react component it showing following exception as soon as I run webpack

ERROR in ./node_modules/native-css/src/native-css.js
Module not found: Error: Can't resolve 'fs' in '/mnt/proj/node_modules/native-css/src'
 @ ./node_modules/native-css/src/native-css.js 95:17-30 126:9-22
 @ ./node_modules/native-css/index.js


ERROR in ./node_modules/fetch/lib/fetch.js
Module not found: Error: Can't resolve 'net' in 'mnt/proj/node_module/node_modules/fetch/lib'
 @ ./node_modules/fetch/lib/fetch.js 12:10-24
 @ ./node_modules/native-css/src/native-css.js
 @ ./node_modules/native-css/index.js

Guia do colaborador