NativeScript / playground-feedback

Feedback for NativeScript Playground
Apache License 2.0
16 stars 1 forks source link

(Svelte native) 1.default is not a function: undefined #209

Open beebase opened 3 years ago

beebase commented 3 years ago

There seems to be a problem with the Svelte native version in the playground. It's very easy to reproduce.

  1. select Svelte native in the playground
  2. add a space or comment to the code and save.

Only one error message occurs when doing a save

1.default is not a function:
undefined

Maybe related to this css file? @import '~@nativescript/theme/css/default.css';

chameleonbr commented 3 years ago

I tried to use playground at one month ago and nothing is working, when I try to preview console return this error. Today continues not working.

umitgri commented 3 years ago

Yes still not working.

MeowningMaster commented 3 years ago

Svelte native REPL works well.

geonom commented 3 years ago

I get the same error in the playground even without changing anything. Does not work at all for me with the Svelte template :/

umitgri commented 3 years ago

Yes still the same. Unbelievable!

beebase commented 3 years ago

@umitgri I understand you're annoyed. So am I. I would have expected at least a reaction by now. But let's not forget this is open source. People are doing this in their spare time, so let's try to stay kind and patient. 👍 ☮️

umitgri commented 3 years ago

@beebase you may be right. 2 and half months. Lets wait few more months :)

vsly-ru commented 3 years ago

What an embarrassing experience! Steps to reproduce:

  1. Open project's main website https://nativescript.org/
  2. Read "NativeScript is pretty cool!" and click the very first CTA (call-to-action) Playground.
  3. Select Svelte, accept cookies, download playground & preview apps, scan the QR code.
  4. The default Preview app is loaded on your phone (instead of one being previewed), trying to change or save anything in the playground leads to a constant error: SRWare Iron (Chrome-like browser, Version 88.0.4324.150 (Developer Build) (x86_64)): l.default is not a function: undefined Safari Version 14.0.3 (15610.4.3.1.7, 15610): l.default is not a function. (In 'l.default()', 'l.default' is undefined): undefined Firefox 88.0 (64-bit): l.default is not a function: undefined "Devices" tab has my device successfully identified btw. Other playgrounds also seems to work fine. System: macOS Catalina 10.15.7 (Intel), iPhone 7 Plus: iOS 14.4.2, Preview version 1.31.0, Runtime 6.5.3

A friend of mine, in front of whom I was embarrassed with this horrifying experience, received a very clear message: this framework is full of bugs and unsolved problems, nothing will ever work as intended from the first try and probably won't even try the real experience.

At least, please remove this community playground template from the main page until it's fixed!

mkvillalobos commented 2 years ago

Some news about this?? I understand completely that this is open-source, but this long term situation without any review, diagnostic or advance, doesn't bring any confidence to use this framework. :(

anzbert commented 2 years ago

do we know what the issue is? it's obviously still not working

greysdawn commented 2 years ago

Still not working, and for me the Svelte Native REPL also isn't working 😔

carleeto commented 2 years ago

Valentine's day! let's give this issue some love :)

vsly-ru commented 2 years ago

I'm glad I've learned Flutter (by a friend's recommendation) and implemented my project using it. All while this issue ain't fixed or even acknowledged.

mochi-co commented 2 years ago

Still not working :(

Nderim1 commented 2 years ago

Am building an application with Flutter (with no prior knowledge of Flutter or Dart). Lately it is becoming pretty complicated to continue developing so I thought I will check some JS cross-platform tools (since I already know JS and some frameworks) and choose one so I can migrate it.

Tried Capacitorjs - problems from the start. Now trying Nativescript - Downloaded the app, very unresponsive. Scanned the QR code, it gets stuck in a black screen. Cant even run the example LISTED IN THE HOMEPAGE. I find this issue, and see it has been open for almost 2 years. This is just crazy. I heard React-Native is very buggy also so I will not even bother trying it out.

I will just go and continue develop in Flutter. The JS ecosystem for cross platform is not yet ready. Very disappointing.

greysdawn commented 2 years ago

In my personal experience, React Native isn't too buggy, at least with Expo as a base, but I haven't done a ton of development with it* and I also haven't tried Flutter. It'd be worth a try if you're interested I think

*: I built a notes app with network functionality, markdown parsing, basic navigation, modals, and custom bottom sheets. It's pretty simple stuff and I didn't need to get too far into the nitty gritty of development outside of the sheets if I remember right. I don't think I ran into any bugs off the top of my head, but you might if your app gets very complex

NathanWalker commented 2 years ago

@Nderim1 curious on you local dev environment setup? Just this past week Preview 2.0 was shown with StackBlitz which will replace the playground (which is quite old): https://twitter.com/NativeScript/status/1534242245020422145

You can setup local environment anytime however: https://docs.nativescript.org/environment-setup.html