-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
I'm using:
- webpack 1.13.1
- postcss 5.0.21
- postcss-cssnext 2.5.2
When I bump from postcss-import 8.0.2 to 8.1.2 then I get the following errors:
ERROR in ./~/request/lib/har.js
Module not found: Error: Cannot resolve module 'fs' in /project_path/node_modules/request/lib
@ ./~/request/lib/har.js 3:9-22
ERROR in ./~/forever-agent/index.js
Module not found: Error: Cannot resolve module 'net' in /project_path/node_modules/forever-agent
@ ./~/forever-agent/index.js 6:10-24
ERROR in ./~/forever-agent/index.js
Module not found: Error: Cannot resolve module 'tls' in /project_path/node_modules/forever-agent
@ ./~/forever-agent/index.js 7:10-24
ERROR in ./~/tough-cookie/lib/cookie.js
Module not found: Error: Cannot resolve module 'net' in /project_path/node_modules/tough-cookie/lib
@ ./~/tough-cookie/lib/cookie.js 32:10-24
ERROR in ./~/form-data/lib/form_data.js
Module not found: Error: Cannot resolve module 'fs' in /project_path/node_modules/form-data/lib
@ ./~/form-data/lib/form_data.js 7:9-22
ERROR in ./~/tunnel-agent/index.js
Module not found: Error: Cannot resolve module 'net' in /project_path/node_modules/tunnel-agent
@ ./~/tunnel-agent/index.js 3:10-24
ERROR in ./~/tunnel-agent/index.js
Module not found: Error: Cannot resolve module 'tls' in /project_path/node_modules/tunnel-agent
@ ./~/tunnel-agent/index.js 4:10-24
I tried adding the following to my webpack config but it doesn't work:
node: {
net: 'empty',
tls: 'empty',
fs: 'empty'
},
Metadata
Metadata
Assignees
Labels
No labels