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

typescript plugin still references rollup-pluginutils #76

Closed
LukasHechenberger opened this issue Dec 4, 2019 · 2 comments · Fixed by #78
Closed

typescript plugin still references rollup-pluginutils #76

LukasHechenberger opened this issue Dec 4, 2019 · 2 comments · Fixed by #78

Comments

@LukasHechenberger
Copy link
Contributor

  • Rollup Plugin Name: typescript
  • Rollup Plugin Version: 2.0.0
  • Rollup Version: 1.27.8
  • Operating System (or Browser): macOS
  • Node Version: 12.13.1

How Do We Reproduce?

  • Install the typescript plugin npm i --save-dev @rollup/plugin-typescript typescript tslib
  • Add it to rollup.config.js
  • Run rollup -c

Expected Behavior

It should work ;)

Actual Behavior

> rollup -cw

[!] Error: Cannot find module 'rollup-pluginutils'
Require stack:
- /Users/lukas/Documents/Bachmann/atscm/transformer-help/node_modules/@rollup/plugin-typescript/dist/index.js
- /Users/lukas/Documents/Bachmann/atscm/transformer-help/rollup.config.js
- /Users/lukas/Documents/Bachmann/atscm/transformer-help/node_modules/rollup/dist/bin/rollup
Error: Cannot find module 'rollup-pluginutils'

Reason

The problem is, that index.js still imports 'rollup-pluginutils' instead of '@rollup/pluginutils'.

Workaround

Install rollup-pluginutils: npm i --save-dev rollup-pluginutils

Are you on this one or should I create a PR?

@shellscape
Copy link
Collaborator

A PR would be fantastic. Otherwise, I can get around to a fix for this later today.

@LukasHechenberger
Copy link
Contributor Author

Okay, on it

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

Successfully merging a pull request may close this issue.

2 participants