-
Notifications
You must be signed in to change notification settings - Fork 278
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
Windows Build and Test Fail #30
Comments
I'm phasing out the The part about leaving out npm install
npm run build # or "npm build" on Windows What do you think? I'll include that README change with my unit tests so they'll ship simultaneously. |
Yes, mocha tests would definitely be an upgrade. Yes, a simple comment with build also works. Add this to your README change list. I think there would definitely me more before you ship out next version. I am looking into #13 as well. Is that included in your next release as well. I included an congratulatory message for that issue in my local repository. Do you want me to push to master? |
@ankitaggarwal011 Yes features can branch right off master for now - no specific release cycle here. Thank you for your enthusiasm! |
@ankitaggarwal011 Okay the README is updated, and unit tests have landed in master. Let me know what you think. |
@jdan , I synced the new changes in my local repository and tested for the updated commands on Windows 7(x64).
Building the package gives warnings, but that's a different issue. I am sorry for raising false alarms, but I reported what happened earlier. Now, those errors are gone. I am not sure why these things happened. Could be Windows specific behavior (I didn't even restart the system since reporting the issue). Puzzled. But, you can remove those windows specific lines from README as they are no longer a problem. |
The building instructions for tota11y doesn't specify any OS. I tried building the package on Windows 7 (x64) with latest tota11y source. I am using command prompt for running the commands.
I used these commands:
The first command worked fine and installed the dependencies. However, the second command produced the following error (I am pasting the npm-debug.log here):
On searching for build instructions for Node.js on Windows, I found out that this issue is related to the relative paths and could be simply resolved by running this command for building (Don't use the run keyword on Windows):
This should be updated in documentation for build instructions.
Other than this, testing also fails on Windows:
npm test
gives out errors:
Update:
Changing
"test": "open http://localhost:8080/webpack-dev-server/ && webpack-dev-server --hot"
to
"test": "start http://localhost:8080/webpack-dev-server/ && webpack-dev-server --hot"
in package.json file solved the testing error on Windows.
I suggest not to force open a the debug URL while testing, this would ensure compatibility across different platforms.
And then the debug environment can be accessed on
http://localhost:8080/webpack-dev-server/
.@jdan
The text was updated successfully, but these errors were encountered: