Giter Site home page Giter Site logo

Error with Python about generator-wp-bones HOT 8 OPEN

0dp avatar 0dp commented on July 4, 2024
Error with Python

from generator-wp-bones.

Comments (8)

karneaud avatar karneaud commented on July 4, 2024

i did not have "python" installed so I installed it and set PYTHON path env variable

from generator-wp-bones.

karneaud avatar karneaud commented on July 4, 2024

after python was installed I ran it again and got

C:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grunt\node_module
s\grunt-sass\node_modules\node-sass>if not defined npm_config_node_gyp (node "E:
\SERVER\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bi
n\node-gyp.js" rebuild ) else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: spawn E:\SERVER\Python ENOENT
gyp ERR! stack at exports._errnoException (util.js:746:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1053
:32)
gyp ERR! stack at child_process.js:1144:20
gyp ERR! stack at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "E:\SERVER\nodejs\node_modules\npm\node_modules\no
de-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grun
t\node_modules\grunt-sass\node_modules\node-sass
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Build failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "E:\SERVER\nodejs\node.exe" "E:\SERVER\nodejs\node_modules
\npm\bin\npm-cli.js" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

from generator-wp-bones.

0dp avatar 0dp commented on July 4, 2024

Do you receive any errors when you try out other generators?
On May 24, 2015 7:18 PM, "karneaud" [email protected] wrote:

after python was installed I ran it again and got

C:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grunt\node_module
s\grunt-sass\node_modules\node-sass>if not defined npm_config_node_gyp
(node "E:

\SERVER\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bi
n\node-gyp.js" rebuild ) else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: spawn E:\SERVER\Python ENOENT
gyp ERR! stack at exports._errnoException (util.js:746:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(child_process.js:1053
:32)
gyp ERR! stack at child_process.js:1144:20
gyp ERR! stack at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "E:\SERVER\nodejs\node_modules\npm\node_modules\no
de-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd
C:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grun
t\node_modules\grunt-sass\node_modules\node-sass
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Build failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "E:\SERVER\nodejs\node.exe" "E:\SERVER\nodejs\node_modules
\npm\bin\npm-cli.js" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.


Reply to this email directly or view it on GitHub
#16 (comment)
.

from generator-wp-bones.

karneaud avatar karneaud commented on July 4, 2024

@0dp I have implemented other yo generators in the past without errors but was't using anything with python... I'm trying to trace the source of the problem and maybe on to something concerning node here https://github.com/TooTallNate/node-gyp/wiki/Error%3A-%22pre%22-versions-of-node-cannot-be-installed Will let you know

from generator-wp-bones.

karneaud avatar karneaud commented on July 4, 2024

so i installed python 2.7.9 then I run into this

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere. [c:\Users\ME\git\globatech\wp-content\themes\globa-tec
h\library\grunt\node_modules\grunt-sass\node_modules\node-sass\build\binding.sl
n]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (E:\SERVER\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "E:\SERVER\nodejs\node_modules\npm\node_modules\no
de-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grun
t\node_modules\grunt-sass\node_modules\node-sass
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Build failed

Seems now to be an error because i don't have visual studio installed...

looking into it via nodejs/node-gyp#307

from generator-wp-bones.

karneaud avatar karneaud commented on July 4, 2024

Well,

I tried but i got as far as being able to get the msbuild to work then generating errors of its own. I give up. this was more time consuming than beneficial. I suggest you find some alternative to including the sass into your generator. Maybe to add a sass generator as a dependency?

from generator-wp-bones.

0dp avatar 0dp commented on July 4, 2024

I can inform you that this generator have worked very well for me and
others since I first released it. I last looked at adding some features
about a month ago;still doing its thing. These errors that you address are
new to me and I also can confirm that something has changed since last time.

So I thank you for letting me know and I'm sorry that it didn't do its job.

If you find any fixes or get ideas don't hesitate to send a PR
On May 25, 2015 4:04 PM, "karneaud" [email protected] wrote:

Well,

I tried but i got as far as being able to get the msbuild to work then
generating errors of its own. I give up. this was more time consuming than
beneficial. I suggest you find some alternative to getting the sass build
to work. Maybe to add a sass generator as a dependency?


Reply to this email directly or view it on GitHub
#16 (comment)
.

from generator-wp-bones.

karneaud avatar karneaud commented on July 4, 2024

@0dp no bigee man. you did a good job and it was a good try. I'm glad I had the chance to help and hope things improve as I use the barebones framework a lot and would like to have this as part of my toolkit some day.

from generator-wp-bones.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.