GithubHelp home page GithubHelp logo

Comments (4)

leefsmp avatar leefsmp commented on September 24, 2024 1

Try to make sure python is installed properly on your system and PYTHON environment variable is defined and points to python.exe. Also update npm and node versions to the latests.

from forge-rcdb.nodejs.

Mykita avatar Mykita commented on September 24, 2024

Hi, I have updated versions to the latest and installed Python 3.6.2.
EDIT: I tried with Python 2.7.13 (which generated a build).

Still, I'm getting some errors/fails.

  • Where can I define and point the PYTHON environment variable to python.exe?

Here's the rest of the errors I got in return (sorry for the long paste - but you might see something in here that I obviously did wrong):

`

C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master>npm install
[email protected] install C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas
node-gyp rebuild
C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Warning: Missing input files:
C:\GTK\bin\zlib1.dll
C:\GTK\bin\libexpat-1.dll
C:\GTK\bin\libpng14-14.dll
C:\GTK\bin\libcairo-2.dll
C:\GTK\bin\libfontconfig-1.dll
C:\GTK\bin\libfreetype-6.dll
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Canvas.cc
CanvasGradient.cc
CanvasPattern.cc
CanvasRenderingContext2d.cc
color.cc
Image.cc
ImageData.cc
init.cc
win_delay_load_hook.cc
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\ImageData.cc)
[C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\canvas.vcxproj]
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\CanvasPattern
.cc) [C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\canvas.vcxpr
oj]
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\Image.cc) [C:
\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\canvas.vcxproj]
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\init.cc) [C:
Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\canvas.vcxproj]
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\Canvas.cc) [C
:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\canvas.vcxproj]
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\CanvasGradien
t.cc) [C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\canvas.vcxp
roj]
c:\users\tgrim\downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\src\Canvas.h(19): fatal
error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\CanvasRenderi
ngContext2d.cc) [C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas\build\c
anvas.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\canvas
gyp ERR! node -v v8.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
[email protected] install C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass
node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
[email protected] postinstall C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass
node scripts/build.js
Building: C:\Program Files\nodejs\node.exe C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed at getNotFoundError (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:89:16
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb which failed python2 { Error: not found: python2
gyp verb which failed at getNotFoundError (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:89:16
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which failed Error: not found: python
gyp verb which failed at getNotFoundError (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:89:16
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb which failed python { Error: not found: python
gyp verb which failed at getNotFoundError (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\which\which.js:89:16
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb could not find "python". checking python launcher
gyp verb check python launcher python executable found: "C:\Python27\python.exe"
gyp verb check python version C:\Python27\python.exe -c "import platform; print(platform.python_version());" returned: "2.7.13\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.2.1
gyp verb command install [ '8.2.1' ]
gyp verb install input version string "8.2.1"
gyp verb install installing version: 8.2.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.2.1
gyp verb build dir attempting to create "build" dir: C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created? C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\build
gyp verb Not using VS2017: Could not use PowerShell to find VS2017
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-gyp\gyp\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\tgrim\.node-gyp\8.2.1\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\tgrim\.node-gyp\8.2.1',
gyp info spawn args '-Dnode_gyp_dir=C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\Users\tgrim\.node-gyp\8.2.1\<(target_arch)\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\tgrim\Downloads\forge-rcdb.nodejs-master\forge-rcdb.nodejs-master\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\tgrim.node-gyp\8.2.1
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]`

from forge-rcdb.nodejs.

Shayneham avatar Shayneham commented on September 24, 2024

Mykita, to get past this I had to download/extract GTK manually to c:\GTK

from forge-rcdb.nodejs.

leefsmp avatar leefsmp commented on September 24, 2024

That is an issue with your dev environment not the project, so I will go ahead and close this. Cheers.

from forge-rcdb.nodejs.

Related Issues (20)

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.