Failed running autoninja command

14 views
Skip to first unread message

Jason Flores

unread,
Jul 4, 2024, 11:04:47 PM (2 days ago) Jul 4
to Chromium-dev
Hi im jason
can i ask this question
why when i run the 
autoninja -C out\DebugChrome chrome i always fail in this command
Traceback (most recent call last):
  File "D:\WorkStation\chromee\src\tools\typescript\ts_library.py", line 281, in <module>
    main(sys.argv[1:])
  File "D:\WorkStation\chromee\src\tools\typescript\ts_library.py", line 227, in main
    node.RunNode([
  File "D:\WorkStation\chromee\src\third_party\node\node.py", line 38, in RunNode
    raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
RuntimeError: Command 'D:\WorkStation\chromee\src\third_party\node\win\node.exe D:\WorkStation\chromee\src\third_party\node\node_modules\typescript\bin\tsc --project gen/chrome/browser/resources/extensions\tsconfig_build_ts.json' failed

but when i check the file path of tsconfig file is exist here  D:\WorkStation\chromee\src\out\DebugChrome\gen\chrome\browser\resources\extensions\tsconfig_build_ts.json

then when i run manually the command the build continue

  D:\WorkStation\chromee\src\third_party\node\win\node.exe D:\WorkStation\chromee\src\third_party\node\node_modules\typescript\bin\tsc --project D:\WorkStation\chromee\src\out\DebugChrome\gen\chrome\browser\resources\extensions\tsconfig_build_ts.json

anyone know how can i fix this so cannot run manualy the command  

Reply all
Reply to author
Forward
0 new messages