[GH-ISSUE #679] local dev toolchain broken #356

Closed
opened 2026-03-03 00:20:31 +03:00 by kerem · 1 comment
Owner

Originally created by @100ideas on GitHub (Nov 11, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/679

Current behavior

package.json scripts 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 in window.__ELECTRON_ONLY in src/lib/electronOnly.ts; instead the latter code provides an empty object, which the code in App.tsx chokes on.

rolling back to commit 691a7bf fixes this problem. This was the earliest commit I saw before the failing code block was added to App.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):
boostnote next at master commit 374afb3

last working commit (at 691a7bf):
boostnote next at master commit 691a7bf - works

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

  1. in vanilla environment, follow the current readme.md instructions and try to start local development server
  2. fail
  3. $ git checkout 691a7bf
  4. unfail

Environment

Desktop/Web

  • Boost Note.next version: failing: 0.10.2; working: 0.9.1
  • OS version and name: MacOS 10.15.7 node 14 chrome 86
Originally created by @100ideas on GitHub (Nov 11, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/679 # Current behavior `package.json` scripts for starting development build in browser lead to exception that crashes app. [App.tsx#L140](https://github.com/BoostIO/BoostNote.next/blob/373f642d55cc6938705f70730af45a8887a01b6b/src/components/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 in `window.__ELECTRON_ONLY` in `src/lib/electronOnly.ts`; instead the latter code provides an empty object, which the code in App.tsx chokes on. rolling back to commit 691a7bf fixes this problem. This was the earliest commit I saw before the failing code block was added to `App.tsx`: https://github.com/BoostIO/BoostNote.next/compare/691a7bf..374afb3c#diff-86963609bec6fda3d34233676d5ae33f6aa4b9bbe2758a10cd4863b704b37093 Please include some **screenshots** with the **developer tools** open (console tab) when you report a bug. current master (at 374afb3): ![boostnote next at master commit 374afb3](https://user-images.githubusercontent.com/57006/98877285-f9a26180-2434-11eb-95be-ea433a23d602.png) last working commit (at 691a7bf): ![boostnote next at master commit 691a7bf - works](https://user-images.githubusercontent.com/57006/98877291-fdce7f00-2434-11eb-89cd-e7b655ba2b9f.png) # 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 1. in vanilla environment, follow the current readme.md instructions and try to start local development server 2. fail 3. `$ git checkout 691a7bf` 4. unfail # Environment ## Desktop/**Web** - Boost Note.next version: failing: 0.10.2; working: 0.9.1 - OS version and name: MacOS 10.15.7 node 14 chrome 86
kerem closed this issue 2026-03-03 00:20:32 +03:00
Author
Owner

@Rokt33r commented on GitHub (Nov 21, 2020):

We're going to deprecate the browser version for now. So please try with npm run dev:electron and npm run dev:webpack. I'll update readme soon.

<!-- gh-comment-id:731556397 --> @Rokt33r commented on GitHub (Nov 21, 2020): We're going to deprecate the browser version for now. So please try with `npm run dev:electron` and `npm run dev:webpack`. I'll update readme soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#356
No description provided.