-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
After upgrade to 1.6.1: Error: Cannot find module '../../website/siteConfig.js' #1149
Comments
If you checkout master, it will work. Here's the diff: ory/docs#83 . I'm sorry if this sounds frustrated, but I really am. Have been trying to get this to work so hard but with every patch there is something new that doesn't work - and I'm unable to publish an important release because I can't get the docs to work properly :( |
By the way, 1.6.0 is working normally. |
Hi, I am having the same issue and fixed it by changing the path in: |
I am curious on two fronts here:
or
|
No this is not a babel issue, it's just that someone (specifically: https://github.com/facebook/Docusaurus/blame/master/v1/lib/server/utils.js#L15 ) assumed that the path is |
The proposed fix works for me @davidbudnick |
I think it would be a good idea to have a test that uses docusaurus as a library as opposed to development mode - a e2e test. That would have probably found a lot of issues regarding the versioning, subcategory, and this one here. |
@aeneasr Are you making a pull request for the issue? |
I am fixing it now. |
Awesome, thank you! If you can, it would be really great if you could release a hotfix patch for that too! :) |
I am really sorry for the inconveniences caused. This is partly my mistake. I overlooked the hardcoded path on PR #1114. We will try our best to prevent such cases in the future. Thank you very much for reporting, and commenting ! P.S I just deprecated Docusaurus v1.6.1 on NPM, please upgrade to v1.6.2 |
Don’t worry about it. Thank you for the amazingly fast response time, not common in OSS! :)
… On 7. Dec 2018, at 19:26, Endilie Yacop Sucipto ***@***.***> wrote:
I am really sorry for the inconveniences caused. This is partly my mistake. I overlooked the hardcoded path on PR #1114. We will try our best to prevent such cases in the future.
Thank you very much for reporting, and commenting !
P.S I just deprecated Docusaurus v1.6.1 on NPM, please upgrade to v1.6.2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
🐛 Bug Report
I don't know what's going on, I tried to upgrade to docusaurus 1.6.0/1.6.1 and now I'm getting
Error: Cannot find module '../../website/siteConfig.js'
when runningnpm run start
. Tried several ways (remove node_modules) and also several OS (macOS, Windows) without luck.Have you read the Contributing Guidelines on issues?
Sure
To Reproduce
(Write your steps here:)
git clone https://github.com/ory/docs.git
cd docs
git checkout why
npm i
npm run start
Keep in mind that this works if you downgrade to docusaurus 1.5.1.
Expected behavior
The server should start
Actual Behavior
The text was updated successfully, but these errors were encountered: