Hello,
I am new to Adapt Authoring Tool. Recently I upgraded it (remove /node_modules & run npm install and then run node upgrade.)
Adapt authoring tool 0.6.2. with Adapt framework 2.3.2. on Node v10.15.0.
I have an issue with Theme upload. When I tried to upload the theme, it threw below error.
info: [29 Jan 2019 19:18:59 +00:00] configuration loaded from /root/adapt_authoring/conf/config.json
info: [29 Jan 2019 19:18:59 +00:00] Supporting the following authentication types:
info: [29 Jan 2019 19:18:59 +00:00] - local
info: [29 Jan 2019 19:18:59 +00:00] Connection established: adapt-tenant-master
info: [29 Jan 2019 19:19:00 +00:00] Adapt authoring tool 0.6.2.
info: [29 Jan 2019 19:19:00 +00:00] Adapt framework 2.3.2.
info: [29 Jan 2019 19:19:00 +00:00] Server started listening on port 5000
Error: invalid signature: 0x80014
at /root/adapt_authoring/node_modules/unzip/lib/parse.js:59:13
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:120:23)
Error: invalid signature: 0x6a9a0008
at /root/adapt_authoring/node_modules/unzip/lib/parse.js:59:13
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:120:23)
Error: invalid signature: 0x4e38
at /root/adapt_authoring/node_modules/unzip/lib/parse.js:59:13
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:120:23)
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes. Received '/tmp/upload_1d8d6f7121918e7e99292e52386ec975_unzipped/b-vanilla-master/.svn/formatUX\f\u0000��P\\\u0004\u0002J\\���u34�\u0002\u...
at Object.lstat (fs.js:808:3)
at FileWriter.Writer._stat (/root/adapt_authoring/node_modules/fstream/lib/writer.js:129:16)
at FileWriter.Writer (/root/adapt_authoring/node_modules/fstream/lib/writer.js:106:6)
at new FileWriter (/root/adapt_authoring/node_modules/fstream/lib/file-writer.js:24:10)
at new Writer (/root/adapt_authoring/node_modules/fstream/lib/writer.js:58:42)
at DirWriter._process (/root/adapt_authoring/node_modules/fstream/lib/dir-writer.js:139:34)
at FileWriter.onend (/root/adapt_authoring/node_modules/fstream/lib/dir-writer.js:169:8)
at FileWriter.emit (events.js:182:13)
at FileWriter.EventEmitter.emit (domain.js:459:23)
at end (/root/adapt_authoring/node_modules/fstream/lib/writer.js:323:12)
at /root/adapt_authoring/node_modules/fstream/lib/writer.js:313:32
at endUtimes (/root/adapt_authoring/node_modules/fstream/lib/writer.js:239:48)
at setProps (/root/adapt_authoring/node_modules/fstream/lib/writer.js:296:5)
at /root/adapt_authoring/node_modules/fstream/lib/writer.js:286:7
at FSReqWrap.oncomplete (fs.js:155:5)
info: [29 Jan 2019 19:57:50 +00:00] Retrieving JSON
info: [29 Jan 2019 19:57:50 +00:00] All assets processed
Can you please help me how it can be fixed?