raphamorim/native-css

exception when integrated as module

開放

#21 建立於 2017年9月12日

 (0 則留言) (1 個反應) (0 位負責人)JavaScript (25 個分叉)github user discovery
Hacktoberfestenhancement

倉庫指標

星標
 (340 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南