mini-diary icon indicating copy to clipboard operation
mini-diary copied to clipboard

yarn build not creating dist folder

Open manjujidagi opened this issue 4 years ago • 4 comments

$ yarn build

Not creating app or creating any dist folder

manjujidagi avatar Sep 08 '20 07:09 manjujidagi

Are you getting any particular error or does it say it builds successfully, it just doesn't create the expected folders. This application uses webpack and the folder created during building is the 'bundle' folder. Do you see that folder?

This is what should be generated when you run the build command: image

Owen-Krueger avatar Oct 04 '20 18:10 Owen-Krueger

I can repro this issue on Ubuntu 20.04 The dist is not being created, but the build was a success. The bundle folder does exist however

antonywu avatar Nov 03 '20 07:11 antonywu

same here on mac.

kungfucop avatar Nov 25 '20 08:11 kungfucop

I added following 2 things to package.json's scripts and used them.

"pack": "electron-builder --dir", 
"dist": "electron-builder",

used yarn dist to build.

cipherdragon avatar Feb 03 '21 09:02 cipherdragon