Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building the latest version of BoostNote.next #711

Closed
NomadArchitect opened this issue Dec 4, 2020 · 5 comments
Closed

Error while building the latest version of BoostNote.next #711

NomadArchitect opened this issue Dec 4, 2020 · 5 comments
Labels
question ❓ Issue concerns a question.

Comments

@NomadArchitect
Copy link

Hi,

I'm trying to compile the latest version of BoostNote but I got the error below.

Source :
image

Compiled :
image

My steps :

# Created the .env file 

# Install dependencies
npm i

# Run webpack       (I got the error with this command)
npm run dev:webpack      

Same error on Windows 10 & Ubuntu 20.04

Did I miss something ?

Thanks for your help

@coderkk
Copy link
Contributor

coderkk commented Dec 4, 2020

I am also facing same problem

@Komediruzecki
Copy link
Contributor

Yes, the web app version will probably no longer be supported. So the build only on webpack and running in browser won't work.
Run electron afterwards and it will run desktop app.
npm run dev:electron

@coderkk
Copy link
Contributor

coderkk commented Dec 4, 2020

I have tried npm run dev:electron, but I received the blow message

>> Electron stdout(pid:11152)

<< Electron stdout(pid:11152)
>> Electron stdout(pid:11152)
23:26:15.485 > Checking for update
<< Electron stdout(pid:11152)
>> Electron stdout(pid:11152)
23:26:15.581 > Error: Error: ENOENT: no such file or directory, open 'D:\developments\boostnote\Boostnote.next\electron\dev-app-update.yml'
<< Electron stdout(pid:11152)
>> Electron stdout(pid:11152)
Error: ENOENT: no such file or directory, open 'D:\developments\boostnote\Boostnote.next\electron\dev-app-update.yml'
<< Electron stdout(pid:11152)
>> Electron stdout(pid:11152)
(node:11680) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'D:\developments\boostnote\Boostnote.next\electron\dev-app-update.yml'
(node:11680) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
<< Electron stdout(pid:11152)
>> Electron stdout(pid:11152)
(node:11680) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
<< Electron stdout(pid:11152)

@coderkk
Copy link
Contributor

coderkk commented Dec 4, 2020

Just read back the Readme. Need run npm run dev:webpack and open another terminal to run npm run dev:electron.

# Run webpack
npm run dev:webpack

# Run electron (You have to open another terminal to run this)
npm run dev:electron

@NomadArchitect
Copy link
Author

Great !!! Thanks !!

@Flexo013 Flexo013 added the question ❓ Issue concerns a question. label Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Issue concerns a question.
Projects
None yet
Development

No branches or pull requests

4 participants