Skip to content

Support for projects scaffolded with angular cli 6 [ Request ] #404

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

Closed
mina-skunk opened this issue Apr 11, 2018 · 14 comments
Closed

Support for projects scaffolded with angular cli 6 [ Request ] #404

mina-skunk opened this issue Apr 11, 2018 · 14 comments

Comments

@mina-skunk
Copy link

I went to https://stackblitz.com/github/gatimus/my-angular-cli6-project and got:

This project type is not yet supported

@seveves
Copy link
Collaborator

seveves commented Apr 12, 2018

Angular v6 is not yet released. Not sure if stackblitz should have support for alpha/beta/rc releases.

@mina-skunk
Copy link
Author

mina-skunk commented Apr 12, 2018

That makes sense, but version 6 is already in rc and its tentative release date has already passed so it could be released any day now. It'd be nice to have support for it in the works.

@mina-skunk mina-skunk changed the title Support for projects scaffolded with angular cli 6 Support for projects scaffolded with angular cli 6 [ Request ] Apr 12, 2018
@EricSimons
Copy link
Member

v6 support is def in the works- will be out before (or shortly after) v6 officially lands. Will circle back here once it's online!

@urish
Copy link

urish commented Apr 15, 2018

@EricSimons thanks! Any chance it will be out this week? @alexcastillo and I plan on using StackBlitz for the demos in our ng-conf talk, and we'd love to be able to use Angular 6

@EricSimons
Copy link
Member

@urish I'm gonna get this online today- will report back once it's up!

@urish
Copy link

urish commented Apr 16, 2018

❤️ ❤️ ❤️

Thank you so much!

@EricSimons
Copy link
Member

Okay this is now live on prod! Definitely a bit "beta" though :) Can y'all test it out and & lmk if you run into any issues?

@urish
Copy link

urish commented Apr 16, 2018 via email

@EricSimons
Copy link
Member

I'm actually not sure how most ppl do code snippets right now w/ stackblitz (perhaps someone in our discord channel might have a good solution) but it's a feature that we're planning to ship within the next 1-2 months though!

@urish
Copy link

urish commented Apr 16, 2018

@EricSimons import seems to work - but assets do not serve correctly :(

compare this - Angular 5, works well:
https://stackblitz.com/github/urish/vr-hero-aframe/tree/stackblitz

with this one - Angular 6, assets do not load:
https://stackblitz.com/github/urish/vr-hero-aframe/tree/stackblitz-angular6

you can see the console errors when it fails to load the gifs and invader.obj.txt assets.

@apai4
Copy link
Member

apai4 commented Apr 16, 2018

@urish assets are now being served for Angular 6! Your repo looks like it's running properly now, lmk if you run into any more issues 😃

@urish
Copy link

urish commented Apr 17, 2018

Wow, you are simply amazing :)

If you have a few more moment to assist here, there are two more things that prevent our master from importing directly into stackblitz:

  1. obj assets are not imported (these are our 3D models). Right now, my workaround is to simply rename them to .txt.
  2. npm packages that are imported from github do not work. This prevents loading aframe from npm, as it has debug@github:ngokevin/debug#noTimestamp as a dependency. The workaround is to load aframe from CDN instead of the npm package.

These two issues are not roadblocks - as we have some workaround for both. Just nice to have for us :-)

@mina-skunk
Copy link
Author

Works for me. Thank you!

@purplem1lk
Copy link
Contributor

@urish assets are now being served for Angular 6! Your repo looks like it's running properly now, lmk if you run into any more issues 😃

Resolution has been provided by @apai4 and confirmed - This issue will be closed accordingly. If this issue persists, feel free to tag me or reopen this issue with screenshots of the error. Thank you! :)

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

No branches or pull requests

6 participants