Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johntom opened this issue Sep 20, 2020 · 3 comments
Open

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

johntom opened this issue Sep 20, 2020 · 3 comments

Comments

@johntom
Copy link

johntom commented Sep 20, 2020

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

@bigopon
Copy link
Member

bigopon commented Sep 21, 2020

@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.

@johntom
Copy link
Author

johntom commented Sep 21, 2020

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
Copy link
Author

johntom commented Sep 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants