-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Docz not building on Windows #783
Comments
Not sure exactly why. How about run |
I separate docz-utils to new folder. Add docz-rollup@next and other required modules. Take parent tsconfig.json from docz. And made:
What I'm doing wrong? |
Hi @ejuo I'm encountering the same problem and I'm looking into the same direction as you. I've found that the failed tests are sorta unrelated (they are about snapshots not found and easily fixable), so don't worry about those. The issue is in
On Unix systems this probably works fine but on Windows not when logging
I'll try and fix this and create a PR |
Exactly! In general, a rather strange (and dangerous) approach to filter internal/external modules through |
I have limited experience with rollup and its best practices, but I've got it working and submitted a PR, feel free to propose a better solution if you know one. |
I can offer an alternative solution, resolving through the package.json (using rollup-plugin-peer-deps-external): |
@pedronauck |
Getting the same error on windows as well. The commit patricksevat@8e0e080 would fix this but it was added as a commit in a larger PR that he closed, but this fix still needs to be applied for v2 to work on Windows. Could you possibly open a PR with just that commit @patricksevat? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug Report
Get error when build Docz v1.0.0-rc.8 (all v1 same error).
to fix this I take only 1 entry 'src/index.ts' in rollup.config.js.
Then after successfully build, all tests failed
To Reproduce
yarn install
yarn bs
yarn packages
I suspect, rollup don't resolves dependences, all bundles has links to src .ts files.
Example:
index.esm.js from docz-utils contains
Expected behavior
It should build completly bundles.
Environment
The text was updated successfully, but these errors were encountered: