Project

General

Profile

Bug #755

Creation of New App fails.

Added by Brian Flanagan about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
Start date:
05/20/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Tested in macOS 1.0.0 (B8).

Instead, it creates an empty folder, does not scroll to that folder, etc.

CONSOLE ERRORS:
First, gets ERR_FILE_NOT_FOUND on validator.js. It's using the template_pc even though we're on macOS!

v1_0_asset.js:80 GET file:///Library/Application%20Support/AOZ_Studio/app/aoz/templates/newapp/html/resources/assets/templates/template_pc/validator.js net::ERR_FILE_NOT_FOUND

Then, gets additional error on validator.js after hitting the CREATE button:

/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-io.js:865 Error: ENOENT: no such file or directory, unlink '/Users/brian/Documents/My AOZ Applications/My_New_App_Fail/validator.js'
    at Object.unlinkSync (fs.js:976)
    at Object.AOZIO.deleteFile (/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-io.js:856)
    at client.js:276
    at Object.AOZIO.copyDirectory (/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-io.js:960)
    at Client.createProject (client.js:267)
    at <anonymous>:1:8
    at HTMLBodyElement.appendChild (<anonymous>)
    at ext_dom.executeJS (ext_dom.js:548)
    at Application.blocks.<computed> (application.js:1367)
    at AOZ.runBlocks (raoz.js:778)
    at doUpdate (raoz.js:452)

Also available in: Atom PDF