Git Product home page Git Product logo

Comments (4)

OrangeDrangon avatar OrangeDrangon commented on June 28, 2024

It does not assume it is available system wide. yarn looks in node_modules when inside of an npm script. The problem is probably that you are not using a unix compatible shell and the && symbol is not supported. If you have an actual error message I will work with you to resolve the problem.

from android-messages-desktop.

vanowm avatar vanowm commented on June 28, 2024

I'm using PowerShell (CMD has same issue). The && seem to work when I change script to use relative path as above.
No errors shown, it simply opens electron-builder.js in text editor:

> yarn dist
yarn run v1.22.5
$ yarn build && electron-builder --config electron-builder.js
$ webpack --mode=production
(node:1232) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Users\Vano\Downloads\Android_Messages\node_modules\postcss\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1232) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
        Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
        Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
app:
  asset background.js 22.8 KiB [emitted] [minimized] (name: background) 1 related asset
  asset bridge.js 18.7 KiB [emitted] [minimized] (name: bridge) 1 related asset
  asset app.js 6.46 KiB [emitted] [minimized] (name: app) 1 related asset
  asset index.html 260 bytes [emitted]
  orphan modules 54.3 KiB [orphan] 29 modules
  runtime modules 1.92 KiB 9 modules
  built modules 111 KiB [built]
    cacheable modules 13.5 KiB
      modules by path ./node_modules/ 10.4 KiB
        ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js 6.67 KiB [built] [code generated]
        ./node_modules/css-loader/dist/runtime/cssWithMappingToString.js 2.21 KiB [built] [code generated]
        ./node_modules/css-loader/dist/runtime/api.js 1.57 KiB [built] [code generated]
      ./package.json 1.76 KiB [built] [code generated]
      ./node_modules/css-loader/dist/cjs.js!./src/stylesheets/main.css 1.31 KiB [built] [code generated]
    ./src/background.ts + 25 modules 50.5 KiB [not cacheable] [built] [code generated]
    ./src/app.ts + 5 modules 3.44 KiB [not cacheable] [built] [code generated]
    ./src/bridge.ts + 9 modules 43.1 KiB [not cacheable] [built] [code generated]
    external "uuid" 42 bytes [built] [code generated]
  app (webpack 5.17.0) compiled successfully in 4063 ms
Done in 7.07s.```

from android-messages-desktop.

OrangeDrangon avatar OrangeDrangon commented on June 28, 2024

I have diagnosed the issue in a VM and can push a change soon.

from android-messages-desktop.

vanowm avatar vanowm commented on June 28, 2024

This did not make any difference, it still trying execute system wide electron-builder, which doesn't exist on Windows.

from android-messages-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.