Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'promisify' is not exported by node_modules/rollup-plugin-node-builtins/src/es6/util.js #49

Open
btakita opened this issue Mar 30, 2019 · 4 comments

Comments

@btakita
Copy link

btakita commented Mar 30, 2019

import { promisify } from 'util

results with the error:

'promisify' is not exported by node_modules/rollup-plugin-node-builtins/src/es6/util.js

Is this related to #43?

@lazarljubenovic
Copy link

promisify was added in v8.0.0 in Node. The current version is 13. Can we expect someone else to take over this module, since it's mentioned in the docs as the official way to bundle code that uses Node's built-ins? It's a real headache to navigate around these module-related issues, and when you finally get it, it still doesn't work because the official docs themselves recommend abandoned repositories as solutions.

@thegecko
Copy link

Also an issue with TextDecoder

Error: 'TextDecoder' is not exported by node_modules/rollup-plugin-node-builtins/src/es6/util.js

nokome added a commit to stencila/schema that referenced this issue Mar 8, 2020
This fixes a downstream build issue: https://travis-ci.org/stencila/executa/jobs/659007810#L684 caused by this calvinmetcalf/rollup-plugin-node-builtins#49

In the longer term there should be separate builds for browsers and node as we have in Executa and elsewhere.
@willfarrell
Copy link

Same wth pipeline from stream

@thegecko
Copy link

Just been bitten by this again. Any hints where this should be implemented in rollup so I can look into creating a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants