Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Unsupported type for static module: UnaryExpression #507

Closed
aakilfernandes opened this issue Jan 11, 2017 · 4 comments
Closed

Unsupported type for static module: UnaryExpression #507

aakilfernandes opened this issue Jan 11, 2017 · 4 comments

Comments

@aakilfernandes
Copy link

aakilfernandes commented Jan 11, 2017

Getting this when bulding the module with webpack (before instantiating).

ERROR in ./~/pump/index.js
Module build failed: Error: unsupported type for static module: UnaryExpression
at expression:

  !fs

https://gist.github.com/aakilfernandes/4d3c26d41aec0668507498b1600d8020

@aakilfernandes
Copy link
Author

Node v6.3.0

@aakilfernandes
Copy link
Author

This can be fixed by locking pump at at 1.0.1. 1.0.2 introduces a bug

@daviddias
Copy link
Contributor

Something should be wrong with your Webpack config. It should pick up on the fs: null on the package.json for browser.

@daviddias
Copy link
Contributor

@aakilfernandes do you still have this issue? Never managed to reproduce it. Closing for now, let me know otherwise.

@momack2 momack2 added this to Backlog in ipfs/js-ipfs May 10, 2019
@momack2 momack2 added this to Backlog in ipfs/js-waffle May 10, 2019
@hsanjuan hsanjuan removed this from Backlog in ipfs/js-ipfs Apr 27, 2020
@hsanjuan hsanjuan removed this from Backlog in ipfs/js-waffle Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants