mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[GH-ISSUE #679] local dev toolchain broken #356
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @100ideas on GitHub (Nov 11, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/679
Current behavior
package.jsonscripts for starting development build in browser lead to exception that crashes app.App.tsx#L140 in current master (
374afb3) is part of the problem - the code tries to initializate an IPC channel using a nonexistant function that would otherwise have been passed in from the electron environment inwindow.__ELECTRON_ONLYinsrc/lib/electronOnly.ts; instead the latter code provides an empty object, which the code in App.tsx chokes on.rolling back to commit
691a7bffixes this problem. This was the earliest commit I saw before the failing code block was added toApp.tsx:github.com/BoostIO/BoostNote.next@691a7bf..374afb3c (diff-86963609bec6fda3d34233676d5ae33f6aa4b9bbe2758a10cd4863b704b37093)Please include some screenshots with the developer tools open (console tab) when you report a bug.
current master (at

374afb3):last working commit (at

691a7bf):Expected behavior
boostnote.next w/ live-reload loads in browser at localhost:3000 after following contribution instructions and running npm dev script to boot local server. related to #400, #397.
Steps to reproduce
$ git checkout 691a7bfEnvironment
Desktop/Web
@Rokt33r commented on GitHub (Nov 21, 2020):
We're going to deprecate the browser version for now. So please try with
npm run dev:electronandnpm run dev:webpack. I'll update readme soon.