installation error with 'python manage.py jslib'. platform: win64
remoe opened this issue · comments
Hi
I have the following installation error after run "python manage.py jslib":
(env) D:\apps\turbulenz_engine>python manage.py jslib
BUILD CMD IS:
D:\apps\turbulenz_engine\external\gnumake-win32\3.81\bin\make.exe -j 9 -C D:\a
pps\turbulenz_engine MODULAR=1 jslib
make: Entering directory `D:/apps/turbulenz_engine'
"[MKDIR] jslib-modular/"
"[CP ] tslib/base.d.ts tslib/turbulenz.d.ts"
"[CP ] tslib/base.d.ts tslib/turbulenz.d.ts"
"[TSC ] debug.ts -> jslib-modular/debug.js"
"[TSC ] observer.ts requesthandler.ts utilities.ts -> jslib-modular/utilities.j
s"
"[CP ] tslib/services/servicedatatypes.d.ts"
Traceback (most recent call last):
File "external/tzbuild/commands/cp.py", line 15, in <module>
shutil.copy(s, dest)
File "d:\apps\python27\Lib\shutil.py", line 119, in copy
copyfile(src, dst)
File "d:\apps\python27\Lib\shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 22] invalid mode ('wb') or filename: 'jslib-modular/base.d.ts'
make: *** [jslib-modular/turbulenz.d.ts] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `D:/apps/turbulenz_engine'
BUILD TOOK: 1.344000 seconds
>> [ERROR] - D:\apps\turbulenz_engine\external\gnumake-win32\3.81\bin\make.ex
e -j 9 -C D:\apps\turbulenz_engine MODULAR=1 jslib
Did you attempt to run this command from an admin console? It looks like it couldn't write a file, which should be a straight copy. See if it exists in tslib/base.d.ts
If you repeat the command do you get the same error?