-
Notifications
You must be signed in to change notification settings - Fork 50
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
fix(dingus): setup added for windows for running dingus locally #376
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @nishihere19 this is a great contribution! I can't easily test myself on Windows, but I see from the snapshot that it does seem to fix the dingus for Windows.
A few suggestions:
- from a local test, it seems like your new script works on my machine too (MacOS) so I would suggest to simply replace the current script by your version instead of creating an alternative one
- Could you use JS template strings rather than string concatenation (i.e.,
`node ${demodata} ... `
rather than'node '+demodata+' ...'
) - You will have to sign your commits for the Developpers Certificate of Originality (DCO) -- every commit has to be signed, for a small change like this, it wouldn't hurt to rebase into a single commit.
Will surely implement the changes as you suggested. Thank you. |
@nishihere19 I may have spoke a bit too fast. I'm looking at the netlify build and seeing some errors. I was able to reproduce that locally too. I'm wondering if the fixed script might work on Windows (keeping most of your changes but resolving to
|
Any updates on this? Any suggestions on how the script can be improved so that it works on Windows without hindering the existing setup for Linux would be great. |
hi @nishihere19 Thanks for pinging, sorry I've been pretty busy lately. I think at this point my recommendation would be to go back to your original PR! Unless we find a better way to investigate why the root For the Dingus it's probably okay to have a separate windows build for now. If you revert to your initial scripts, leaving the current ones in place I think this will unblock this PR. |
Upon deleting the node modules and rebuilding the project, I was able to reproduce the error you showed in the screenshots. The possible solution I found was to replace the postinstall script in the package.json for markdown transform from |
hm... maybe I would want to try this in |
Signed-off-by: Nishi Agrawal <[email protected]>
Signed-off-by: Nishi Agrawal <[email protected]>
The checks are failing continuously due to the error - cb() never called! I have cleaned the cache and updated npm as well. The command npm ci works fine in my local machine(Windows 10 and ubuntu 20.04) but fails in the checks. I will read more on this. |
Closes #375
Added a file similar to build_dingus.js for setting up a demo of dingus on windows. On running the script dingus:win, the separate file for setting up a demo on windows will be executed.
Changes
Flags
Screenshots or Video
Related Issues
Author Checklist
--signoff
option of git commit.master
fromfork:branchname