|
Sweet Home 3D Forum » List all forums » » Forum: Installation » » » Thread: SweetHome3DJS won't compile » » » » Post: SweetHome3DJS won't compile |
Print at Dec 15, 2025, 9:13:24 PM |
| Posted by bernard_s at Feb 20, 2022, 9:25:18 PM |
|
SweetHome3DJS won't compile Hi Brilliant system and was looking forward to running the browser version :) However: Running ant (Windows 10) on SweetHome3DJS fails to build. It is related to tsc which it says it cannot find. Cannot run program "C:\Users\b_s\.jsweet.v3-node_modules\tsc.cmd" The system cannot find the file specified The folder exists C:\Users\b_s\.jsweet.v3-node_modules\ ...but tsc.cmd is instead under C:\Users\b_s\.jsweet.v3-node_modules\node_modules\.bin\ Any ideas hwo I fix it? thanks. Bernard >>>>>>>>>>>>>>> Portion of the ant log: ... [java] 2022-02-20 20:11:28.028 INFO JSweetTranspiler:1227 - created tools\JSweet\build\ts\bundle.d.ts [java] 2022-02-20 20:11:28.028 INFO JSweetTranspiler:865 - ts2js on org.jsweet.transpiler.TypeScript2JavaScriptWithTscTranspiler@b7f2c13 sourceFiles=137 [java] 2022-02-20 20:11:28.028 INFO TypeScript2JavaScriptWithTscTranspiler:84 - launching tsc... [java] 2022-02-20 20:11:28.028 ERROR ProcessUtil:365 - Cannot run program "C:\Users\b_s\.jsweet.v3-node_modules\tsc.cmd" (in directory "tools\JSweet\build\ts"): CreateProcess error=2, The system cannot find the file specified [java] java.io.IOException: Cannot run program "C:\Users\b_s\.jsweet.v3-node_modules\tsc.cmd" (in directory "tools\JSweet\build\ts"): CreateProcess error=2, The system cannot find the file specified [java] at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) [java] at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) [java] at org.jsweet.transpiler.util.ProcessUtil.runCommand(ProcessUtil.java:317) [java] at org.jsweet.transpiler.TypeScript2JavaScriptWithTscTranspiler.doTranspile(TypeScript2JavaScriptWithTs cTranspiler.java:92) [java] at org.jsweet.transpiler.TypeScript2JavaScriptTranspiler.ts2js(TypeScript2JavaScriptTranspiler.java:37) [java] at org.jsweet.transpiler.JSweetTranspiler.ts2js(JSweetTranspiler.java:866) [java] at org.jsweet.transpiler.JSweetTranspiler.transpile(JSweetTranspiler.java:841) [java] at org.jsweet.JSweetCommandLineLauncher$JSweetTranspilationTask.run(JSweetCommandLineLauncher.java:897) [java] at org.jsweet.JSweetCommandLineLauncher.transpileWithArgs(JSweetCommandLineLauncher.java:272) [java] at org.jsweet.JSweetCommandLineLauncher.main(JSweetCommandLineLauncher.java:240) [java] Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified [java] at java.base/java.lang.ProcessImpl.create(Native Method) [java] at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:487) [java] at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154) [java] at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) [java] ... 9 more [java] ERROR: Unknown tsc error [java] 2022-02-20 20:11:28.028 INFO JSweetTranspiler:849 - transpilation process finished in 23174 ms [java] > java2ts: 19898.3957ms [java] > ts2js: 44.0433ms [java] [java] INFO: transpilation failed with 1 error(s) and 0 warning(s) BUILD FAILED c:\sh3d\SweetHome3DJS\build.xml:81: The following error occurred while executing this line: c:\sh3d\SweetHome3DJS\build.xml:37: Java returned: 1 Total time: 25 seconds |
|
|
Current timezone is GMT Dec 15, 2025, 9:13:24 PM |