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

Failed to cleanly publish 109 #2124

Open
arv opened this issue May 24, 2016 · 6 comments
Open

Failed to cleanly publish 109 #2124

arv opened this issue May 24, 2016 · 6 comments
Assignees

Comments

@arv
Copy link
Collaborator

arv commented May 24, 2016

npm run just-published failed to tag and update the github repo because the tests now fail.

The problem is that our commonjs output does not handle circular dependencies and that makes src/runtime/modules/typeof.js not work.

@arv arv self-assigned this May 24, 2016
@arv
Copy link
Collaborator Author

arv commented May 24, 2016

I manually fixed this by disabling --symbols when building dist/commonjs. I need to think close about how to solve this in a better way.

@arv arv closed this as completed May 24, 2016
@arv arv reopened this May 24, 2016
@arv
Copy link
Collaborator Author

arv commented May 24, 2016

Hmmm. The NodeJS v0.10 builder fails one test now.

@arv
Copy link
Collaborator Author

arv commented May 25, 2016

@johnjbarton I think I need to revert this. I don't know how to get this fixed in the short term.

@johnjbarton
Copy link
Contributor

revert "this"? The runtime import PR? I guess its only our own circular deps that are an issue, not users?

@arv
Copy link
Collaborator Author

arv commented May 25, 2016

I figured out a simple solution. I need to recompile symbol.js without the --symbol option. The self dependency on typeof is causing the issue.

@arv
Copy link
Collaborator Author

arv commented May 26, 2016

The idea in the above comment seems to work but there are other issues. test/register-cjs-test-wrapper.js requires ../src/node/api.js which requires traceur.js which polyfills symbols which leads to multiple versions of Symbol. I'm going to make test/register-cjs-test-wrapper.js depend on dist/commonjs/Compiler.js instead but that exposed another issue. I'll work through them one by one.

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

2 participants