When I follow this tutorial, everything goes well until the “dfx build” step.
The terminal says"
dfx build
Building canisters…
Building frontend…
The post-build step failed for canister ‘r7inp-6aaaa-aaaaa-aaabq-cai’ with an embedded error: The command ‘“npm” “run” “build”’ failed with exit status ‘exit code: 2’.
Stdout:
When I follow this tutorial:
“Make inter-canister calls :: Internet Computer”
, everything goes well until the “dfx build” step.
(I followed every step including npm install and npm audit fix ).
It looks like its been a while since there was a commit in the Linkedup example. Maybe you are facing such issue because you are using a more recent version of dfx?
They used v0.6.22 and you are using last one v0.8.0
Since I changed the dfx.json file, so the dfx version should not corrupt this program.
But I do not know the details about the difference between 0.6.22 and 0.8.0, so I am not sure about that.
I started working on bringing linkedup up to date, and it’s a pain. I think we’re going to scrap the whole tutorial and prioritize a better developer experience in dfx for inter-canister calls, and then we’ll update the tutorial with a new, simpler example
I’m looking for this too. I was previously using LinkedUp as a solid example of how to build a working app on the Internet Computer, but now it’s failing to build (dfx 0.8.4). Is there another example I can refer to when building my app?
I’m specifically looking for an example that includes Internet Identity and username/password login (like LinkedUp did), so @kpeacock’s To-do example isn’t enough.
Kyle to the rescue! What a great, simple example of login on the IC!
I’m writing a web app that needs to be accessed in podcast players’ built-in browsers. I was a little worried that the pared-down built-in browsers wouldn’t be able to handle Internet Identity login, so I stuck a link to the app you have hosted on the IC, and to my delight it worked just fine in the players I tested it in. Fantastic!