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
Can't run prosemirror-transform tests #1108
Comments
I can't reproduce this (node 14.0, npm 6.14.8, on Linux). Which node and npm versions are you using? |
I'm on node v12.19.0 and npm 6.14.8. The start of my
|
Looks like Rollup treated the internal imports as external for some reason. I can't really explain why it would be doing that, through. Which version of rollup did you get when installing? |
rollup is 2.34.0 Have you considered adding a package-lock.json to lock the dependencies to known good versions? I will try again with the versions before ProseMirror/prosemirror-transform@c3bbb16 but I think I did already with same result edit: Yes, I get the same results with the previous rollup versions. So it can be because of
|
I get the same rollup version, so that's not it either. It could be because of windows, yes. Taking a second look at the rollup.config.js that seems very likely. If you add |
It's Windows (I should have known, it's always Windows and the path handling ;)). If I change the config accordingly, it works:
|
Ah, right, just adding a backslash wouldn't do it either. I'll go ahead and adjust all the rollup config files |
Thanks @marijnh for the quick response! |
Pulling that patch and rebuilding should fix this. |
Issue details
Steps to reproduce
npm install
npm run test
ProseMirror version
prosemirror-transform#master, prosemirror-transform#1.2.8
Since this seems to be a module resolution problem, other prosemirror packages might be affected to.
Or is developing single packages not supported anymore and I have to setup a dev env via the main prosemirror repo?
The text was updated successfully, but these errors were encountered: