Frontend Support is here!

there’s a new release! looks like we will have frontend support with this release :slight_smile: super exciting!

11 Likes

Hold off downloading on Ubuntu for the moment there are a couple of bugs.

2 Likes

Ok, this is fine to upgrade. Note when creating a new project in v0.4.10 you may need to wait a while for node dependencies to install, and progress might appear to hang while doing this but it eventually completes.

2 Likes

Current front end documentation is here https://sdk.dfinity.org/developers-guide/getting-started.html#_view_the_default_front_end , more will follow so it’s worth keeping an eye on the tutorials section too https://sdk.dfinity.org/developers-guide/tutorials-intro.html

1 Like

I can confirm this is working on Ubuntu. If you are having trouble try restarting your machine and deleting your checkpoints folder.

2 Likes

I’m getting this error when calling the greet method

INFO Skipping batch 4261: execution queue is full (there are 16 batches already), Application: MessageRouting

2 Likes

i had the same problem. uninstall, restarting the machine and installing again solved it for me

4 Likes

Note you need nodejs installed for the frontend files to be created. If you don’t have it installed dfx will let you know.

You can have dfx attempt to install nodejs for you by adding the “–frontend true” flag to dfx new:

dfx new project_name --frontend true

3 Likes

A new front end tutorial has been added to the tutorials section, you’ll find it here:
https://sdk.dfinity.org/developers-guide/tutorials/custom-frontend.html

2 Likes

this will be very helpful for people that aren’t that familiar with front end ( like me ). thanks for sharing ori

2 Likes

The new link in the documentation is https://sdk.dfinity.org/docs/developers-guide/tutorials/custom-frontend.html

Configuring permanent redirect for https://sdk.dfinity.org/developers-guide to https://sdk.dfinity.org/docs/developers-guide may be helpful since other (older) links are leading to “Page Not Found” error page

2 Likes

Thanks elena! Indeed we’ll sort all the links out soon for you, work in progress on this.

4 Likes