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
Pinax tutorial for installation not working on windows #152
Comments
@Jay-Dai Hello, I believe the problem is that there is a Unix command in the npm script that is not compatible with Windows.
In Windows |
gyp verb check python checking for Python executable "python2" in the PATH I think this is the main issue. |
Node-gyp is a prerequisite for the node-sass@4.72 package, which in turn requires for us to install windows-build-tools as a mandatory requirement. Check node-sass: https://www.npmjs.com/package/node-sass Check node-gyp: https://github.com/nodejs/node-gyp#on-windows Installing node-sass@4.13.1 works with Python3 no issues at all. Still need to check which package has a dependency on node-sass@4.7.2 specifically Below package.json works, need to figure out how to clean the folder before watching static/dist
|
@kiran-capoor94 Is this something you'd be willing to submit a PR for in the pinax-starter-projects repo? We're wrapping up a new release and it would be great to include this since it's been a longstanding problem for people using Windows. https://github.com/pinax/pinax-starter-projects/blob/account/package.json |
Just like @kiran-capoor94 stated, windows-build-tools is required on Microsoft's operating system to install node-gyp. I've managed to fix the different os problem using run-script-os package for JS and modifying package.json based on what Kiran brought up.
|
@Jay-Dai @terminator0309 @kiran-capoor94 @wmamul Patrick has updated dependencies in Pinax Starter Projects repo... does this solve the problem? pinax/pinax-starter-projects@c0ff9d4 |
Waow these error messages seem massive and overwhelming @Jay-Dai hope you've been successful? |
Following exactly the recommended procedure for installing pinax from the official documentation, I can't get pinax to work.
https://pinaxproject.com/pinax/quick_start/
There seems to be a problem during the NPM installation of packages.
I am using Windows 8.1 and I only have Python 3.6.8 installed on my computer.
All commands used :
Results :
Here is the NPM Debug file :
2019-09-21T04_20_09_848Z-debug.log
When I go to "http://localhost:3000" I get an infinite loading page
I see this in the errors :
Does Pinax have python 2 in its requirements ? What else could be the cause of Pinax not working ?
The text was updated successfully, but these errors were encountered: