ux icon indicating copy to clipboard operation
ux copied to clipboard

**I'm submitting a bug report** upgrade issue

Open johntom opened this issue 4 years ago • 3 comments

I'm submitting a bug report OS windows 10

  • Node Version: 12.18.2 npm6.14.5 yarn 1.22.4 cli 1.3.1 systemjs I updated a previously created app using cli with systemjs from ux version 0.18.1 to ux version 0.25.0. Every component except ux-select worked which raised the following error when opening in browser.
Uncaught TypeError: url.indexOf is not a function
    at jQuery.fn.init.jQuery.fn.load (jquery.js:10353)
    at (index):72
(index):1 Uncaught (in promise) SyntaxError: Unexpected token '<'
    at eval (<anonymous>)
    at Qe (system.js:4)
    at system.js:4
    at T (system.js:4)
    at T.h (system.js:4)
    at T (system.js:4)
    at T.h (system.js:4)
    at T (system.js:4)
    at T.h (system.js:4)
    at T (system.js:4)

I rolled back ux-select back to 0.18.1 left all the oithers at 0.25.0 and the build worked again. TIA John

johntom avatar Sep 20 '20 17:09 johntom

@johntom thanks for reporting this. Any chance you could help build it in dev mode, and copy the error stack trace again? It seems rather difficult to determine what's going on with a minified stack trace.

bigopon avatar Sep 21 '20 04:09 bigopon

I'll give it a try in a little while. I also tested with a new app using 2.0.2 cli with alameda as systemjs is not available. The build works but the select component does not display properly. See attached select wtih 4 states. sc-0071 sc-0072

johntom avatar Sep 21 '20 15:09 johntom

Hi,

  1. I did a au build --dev
  2. I then ran node expressapp to open the build
system.js:4 GET http://localhost:82/@aurelia-ux/positioning 404 (Not Found)
ce @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
(anonymous) @ system.js:4
Promise.then (async)
(anonymous) @ system.js:4
Promise.then (async)
Ut.<computed> @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
A @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
K @ system.js:4
D @ system.js:4
n @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
n @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
n @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
n @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
n @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
M.<computed> @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
import @ system.js:4
Ut.import @ system.js:4
(anonymous) @ aurelia-loader-default.js:232
Promise.then (async)
DefaultLoader.loadModule @ aurelia-loader-default.js:226
_loadPlugin @ aurelia-framework.js:298
(anonymous) @ aurelia-framework.js:282
Promise.then (async)
loadPlugin @ aurelia-framework.js:281
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
Promise.then (async)
next @ aurelia-framework.js:614
(anonymous) @ aurelia-framework.js:622
Promise.then (async)
apply @ aurelia-framework.js:606
start @ aurelia-framework.js:150
configure @ main.js:79
(anonymous) @ aurelia-bootstrapper.js:138
Promise.then (async)
config @ aurelia-bootstrapper.js:133
(anonymous) @ aurelia-bootstrapper.js:169
Promise.then (async)
bootstrap @ aurelia-bootstrapper.js:168
(anonymous) @ aurelia-bootstrapper.js:155
Promise.then (async)
run @ aurelia-bootstrapper.js:150
(anonymous) @ aurelia-bootstrapper.js:175
r @ system.js:4
T @ system.js:4
T.h @ system.js:4
T @ system.js:4
(anonymous) @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
(anonymous) @ system.js:4
Promise.then (async)
M.<computed> @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
import @ system.js:4
Ut.import @ system.js:4
(anonymous) @ (index):80
system.js:4 Uncaught (in promise) Error: Fetch error: 404 Not Found
    at system.js:4
    at async Promise.all (:82/index 2)
l @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
configure @ main.js:79
(anonymous) @ aurelia-bootstrapper.js:138
Promise.then (async)
config @ aurelia-bootstrapper.js:133
(anonymous) @ aurelia-bootstrapper.js:169
Promise.then (async)
bootstrap @ aurelia-bootstrapper.js:168
(anonymous) @ aurelia-bootstrapper.js:155
Promise.then (async)
run @ aurelia-bootstrapper.js:150
(anonymous) @ aurelia-bootstrapper.js:175
r @ system.js:4
T @ system.js:4
T.h @ system.js:4
T @ system.js:4
(anonymous) @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
(anonymous) @ system.js:4
Promise.then (async)
M.<computed> @ system.js:4
(anonymous) @ system.js:4
Promise.then (async)
import @ system.js:4
Ut.import @ system.js:4
(anonymous) @ (index):80

Please lmk if that's what you wanted and If not please tell me what to do. TIA John

johntom avatar Sep 21 '20 15:09 johntom