Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
935
Latest demo package isn't working
posted

The demo package is not working. Most of the issue is with gyp. I had to install python 2 to get that far. Here is the remaining log of errors: 

5797 verbose stack Error: command failed
5797 verbose stack     at ChildProcess.<anonymous> (C:\Users\CSWOREN\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
5797 verbose stack     at ChildProcess.emit (node:events:365:28)
5797 verbose stack     at maybeClose (node:internal/child_process:1067:16)
5797 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
5798 verbose pkgid node-sass@4.14.1
5799 verbose cwd C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0
5800 verbose Windows_NT 10.0.18363
5801 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\CSWOREN\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i" "--legacy-peer-deps"
5802 verbose node v16.1.0
5803 verbose npm  v7.8.0
5804 error code 1
5805 error path C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\node-sass
5806 error command failed
5807 error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
5808 error Building: C:\Program Files\nodejs\node.exe C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
5809 error gyp info it worked if it ends with ok
5809 error gyp verb cli [
5809 error gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
5809 error gyp verb cli   'C:\\Users\\CSWOREN\\Downloads\\Infragistics_Angular_v20-2\\igniteui-angular-samples-11.0.0\\node_modules\\node-gyp\\bin\\node-gyp.js',
5809 error gyp verb cli   'rebuild',
5809 error gyp verb cli   '--verbose',
5809 error gyp verb cli   '--libsass_ext=',
5809 error gyp verb cli   '--libsass_cflags=',
5809 error gyp verb cli   '--libsass_ldflags=',
5809 error gyp verb cli   '--libsass_library='
5809 error gyp verb cli ]
5809 error gyp info using node-gyp@3.8.0
5809 error gyp info using node@16.1.0 | win32 | x64
5809 error gyp verb command rebuild []
5809 error gyp verb command clean []
5809 error gyp verb clean removing "build" directory
5809 error gyp verb command configure []
5809 error gyp verb check python checking for Python executable "python2" in the PATH
5809 error gyp verb `which` failed Error: not found: python2
5809 error gyp verb `which` failed     at getNotFoundError (C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:13:12)
5809 error gyp verb `which` failed     at F (C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:68:19)
5809 error gyp verb `which` failed     at E (C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:80:29)
5809 error gyp verb `which` failed     at C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:89:16
5809 error gyp verb `which` failed     at C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\isexe\index.js:42:5
5809 error gyp verb `which` failed     at C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\isexe\windows.js:36:5
5809 error gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:194:21)
5809 error gyp verb `which` failed  python2 Error: not found: python2
5809 error gyp verb `which` failed     at getNotFoundError (C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:13:12)
5809 error gyp verb `which` failed     at F (C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:68:19)
5809 error gyp verb `which` failed     at E (C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:80:29)
5809 error gyp verb `which` failed     at C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\which\which.js:89:16
5809 error gyp verb `which` failed     at C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\isexe\index.js:42:5
5809 error gyp verb `which` failed     at C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\isexe\windows.js:36:5
5809 error gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:194:21) {
5809 error gyp verb `which` failed   code: 'ENOENT'
5809 error gyp verb `which` failed }
5809 error gyp verb check python checking for Python executable "python" in the PATH
5809 error gyp verb `which` succeeded python C:\Python39\python.EXE
5809 error gyp ERR! configure error
5809 error gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
5809 error gyp ERR! stack   File "<string>", line 1
5809 error gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
5809 error gyp ERR! stack                       ^
5809 error gyp ERR! stack SyntaxError: invalid syntax
5809 error gyp ERR! stack
5809 error gyp ERR! stack     at ChildProcess.exithandler (node:child_process:326:12)
5809 error gyp ERR! stack     at ChildProcess.emit (node:events:365:28)
5809 error gyp ERR! stack     at maybeClose (node:internal/child_process:1067:16)
5809 error gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
5809 error gyp ERR! System Windows_NT 10.0.18363
5809 error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\CSWOREN\\Downloads\\Infragistics_Angular_v20-2\\igniteui-angular-samples-11.0.0\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
5809 error gyp ERR! cwd C:\Users\CSWOREN\Downloads\Infragistics_Angular_v20-2\igniteui-angular-samples-11.0.0\node_modules\node-sass
5809 error gyp ERR! node -v v16.1.0
5809 error gyp ERR! node-gyp -v v3.8.0
5809 error gyp ERR! not ok
5809 error Build failed with error code: 1
5810 verbose exit 1

Parents
No Data
Reply
  • 1500
    Verified Answer
    Offline posted

    Hello Chris,

    Thank you for posting on our forums.

    I have tried running the samples on my end, and while I had no issues here, I noticed that you are using the latest version of node, while I'd recommend running the latest stable instead.

    Regarding python, this usually comes as part of node installation's chocolatey, which currently upgrades to python version 3.9 using the node version 14 install.

    Can you please re-install node to latest stable, and add the additional packages during install to see if this will resolve the issue on your end.

    Also, are you trying to build lob app, or default app?

    Looking forward to your reply.

    Sincerely,

    Tihomir Tonev
    Associate Software Developer
    Infragistics

Children