Skip to content

JavaScript isn't being uploaded with the upload sub-command #360

@tschf

Description

@tschf

Issue Description

I created a brand new APEX Nitro Project - the only change I made was to update the file apexnitro.cred.json and modify the .gitignore. When I perform the upload command javascript files are not being included in the upload.

C:\Users\TRENT\Projects\tmp> apex-nitro upload
APEX Nitro
=> building source C:\Users\TRENT\Projects\tmp\src ...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
=> build complete
...Now uploading!
Uploading to 1100 - Application Static Files...

SQLcl: Release 20.4 Production on Mon May 03 08:53:59 2021

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

Connected to:
Oracle Database 19c EE High Perf Release 19.0.0.0.0 - Production
Version 19.9.0.0.0

Uploaded: C:\Users\TRENT\Projects\tmp\build\tmp.css
Uploaded: C:\Users\TRENT\Projects\tmp\build\tmp.min.css
Uploaded: C:\Users\TRENT\Projects\tmp\build\static\image.png

SQL> Disconnected from Oracle Database 19c EE High Perf Release 19.0.0.0.0 - Production
Version 19.9.0.0.0

Files were uploaded successfully.

APEX Nitro Version

5.0.2

Operating System

Windows

Node Version

15.12.0

Browser

N/A

APEX Version

20.2

Web Server

ORDS

The only thing that I could think of that may be causing the issue is the nonstandard end-point to the APEX App URL? The app path is like: /ords/dev_trent/f?p=1100. Note the additional path in the URL

..

And just to confirm, the javascript files are being built both on build and upload sub-commands:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions