tabula-rasa
tabula-rasa copied to clipboard
Running build.cmd Watch leads to errors
Installed these packages: dotnet-sdk-6.0.402-win-x64.exe node-v18.12.0-x64.msi npm install -g yarn 1.22.19
Running build.cmd Watch leads to these error messages:
Paket version 7.2.0+bb14ab674b2748070a624f394cd6796e11aaffa8 The last full restore is still up to date. Nothing left to do. Total time taken: 0 milliseconds Building project with version: LocalBuild Shortened DependencyGraph for Target Watch: <== Watch <== DotnetRestore <== Clean <== NpmInstall
The running order is:
- Clean
- NpmInstall
- DotnetRestore
- Watch
Running build with 1 worker
Starting Target: Clean
Deleting contents of Server\bin
Deleting contents of Server\obj
Deleting contents of Server.Tests\bin
Deleting contents of Server.Tests\obj
Deleting contents of Client\src\bin
Deleting contents of Client\src\obj
Finished Target: Clean
Starting Target: NpmInstall (==> Clean, Clean, Clean)
CWD: Client
cmd /C yarn install
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "react@^16.0.0".
[4/4] Building fresh packages...
[-/2] ⢀ waiting...
error e:\SAFE Stack\tabula-rasa\Client\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: e:\SAFE Stack\tabula-rasa\Client\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe e:\SAFE Stack\tabula-rasa\Client\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 [
gyp verb cli 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'e:\SAFE Stack\tabula-rasa\Client\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 verb cli ]
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 verbwhich
failed at getNotFoundError (e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:13:12) gyp verbwhich
failed at F (e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:68:19) gyp verbwhich
failed at E (e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:80:29) gyp verbwhich
failed at e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:89:16 gyp verbwhich
failed at e:\SAFE Stack\tabula-rasa\Client\node_modules\isexe\index.js:42:5 gyp verbwhich
failed at e:\SAFE Stack\tabula-rasa\Client\node_modules\isexe\windows.js:36:5 gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:207:21) gyp verbwhich
failed python2 Error: not found: python2 gyp verbwhich
failed at getNotFoundError (e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:13:12) gyp verbwhich
failed at F (e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:68:19) gyp verbwhich
failed at E (e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:80:29) gyp verbwhich
failed at e:\SAFE Stack\tabula-rasa\Client\node_modules\which\which.js:89:16 gyp verbwhich
failed at e:\SAFE Stack\tabula-rasa\Client\node_modules\isexe\index.js:42:5 gyp verbwhich
failed at e:\SAFE Stack\tabula-rasa\Client\node_modules\isexe\windows.js:36:5 gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:207:21) { gyp verbwhich
failed code: 'ENOENT' gyp verbwhich
failed } gyp verb check python checking for Python executable "python" in the PATH gyp verbwhich
succeeded python C:\Users\User\AppData\Local\Programs\Python\Python311\python.EXE gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\User\AppData\Local\Programs\Python\Python311\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (node:child_process:412:12) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at maybeClose (node:internal/child_process:1091:16) gyp ERR! stack at Socket. (node:internal/child_process:449:11) gyp ERR! stack at Socket.emit (node:events:513:28) gyp ERR! stack at Pipe. (node:net:313:12) gyp ERR! System Windows_NT 10.0.19044 gyp ERR! command "C:\Program Files\nodejs\node.exe" "e:\SAFE Stack\tabula-rasa\Client\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd e:\SAFE Stack\tabula-rasa\Client\node_modules\node-sass gyp ERR! node -v v18.12.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1
Running build failed. Error: System.Exception: 'Client> cmd /C yarn install' task failed at FSI_0005.Build.run(String fileName, String args, String workingDir) at [email protected](Unit _arg4) at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in D:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626
Build Time Report
Target Duration
Clean 00:00:00.0073197 NpmInstall Failure Total: 00:00:05.4454510
Status: Failure
- System.Exception: 'Client> cmd /C yarn install' task failed at FSI_0005.Build.run(String fileName, String args, String workingDir) at [email protected](Unit _arg4) at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in D:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626
e:\SAFE Stack\tabula-rasa>