Skip to content

Conversation

ElPaisano
Copy link

@ElPaisano ElPaisano commented Aug 30, 2023

This PR adds Helia to the project so that we can create Helia tutorials.

TLDR;

can import helia, local build works, created a lesson using protowizard, but cant figure out how to actually use Helia in the lessons without causing build errors. Also, staging build is failing

Steps:

  1. cd into project
  2. npm install helia -> adds to package.json
  3. open Lesson.vue
  4. Add helia
    • as global (line 205)
    • modules (line 178)
    • eval function (line 172)
  5. npm start -> actually works, wasn't working when I tried to import helia
  6. create helia 101 lesson
  7. Verify helia appears on line 1 of code editor in lesson /* global ipfs, helia, all, toBuffer */
  8. Try to create a node
    • can't `import { createHelia } from "helia"' without error

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

Successfully merging this pull request may close these issues.

1 participant