GithubHelp home page GithubHelp logo

Comments (11)

MarshallOfSound avatar MarshallOfSound commented on July 24, 2024

Hmm, @G3z can you post your package.json structure

from forge.

G3z avatar G3z commented on July 24, 2024

Sure!

{
  "name": "revenue-gui",
  "version": "1.0.0",
  "productName": "Revenue",
  "description": "",
  "main": "server/main.js",
  "scripts": {
    "start": "electron-forge start",
    "package": "electron-forge package",
    "make": "electron-forge make"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "debug": "^2.6.0",
    "electron-compile": "^5.1.2",
    "flux": "^3.1.2",
    "lodash": "^4.17.4",
    "numeral": "^2.0.4",
    "react": "^15.4.2",
    "react-d3": "^0.4.0",
    "react-dom": "^15.4.2",
    "react-photonkit": "https://github.com/react-photonkit/react-photonkit#master",
    "react-router": "^3.0.2",
    "recharts": "^0.20.5",
    "revenue-core": "^1.0.4"
  },
  "devDependencies": {
    "babel-preset-latest": "^6.16.0",
    "babel-preset-react": "^6.5.0",
    "del": "^2.2.2",
    "electron-prebuilt-compile": "1.4.14",
    "merge2": "^1.0.3",
    "optimist": "^0.6.1",
    "vinyl-buffer": "^1.0.0",
    "vinyl-source-stream": "^1.1.0"
  },
  "config": {
    "forge": {
      "make_targets": {
        "win32": [
          "squirrel"
        ],
        "darwin": [
          "zip"
        ],
        "linux": [
          "deb",
          "rpm"
        ]
      },
      "electronPackagerConfig": {},
      "electronWinstallerConfig": {
        "name": ""
      },
      "electronInstallerDebian": {},
      "electronInstallerRedhat": {},
      "github_repository": {
        "owner": ""
      },
      "windowsStoreConfig": {
        "packageName": ""
      }
    }
  }
}

from forge.

malept avatar malept commented on July 24, 2024

That is quite odd. Does react-photonkit get deleted if you run npm prune --production in your app directory?

from forge.

G3z avatar G3z commented on July 24, 2024

yes npm prune --production removes react-photonkit

from forge.

MarshallOfSound avatar MarshallOfSound commented on July 24, 2024

@G3z What is your npm version?

from forge.

G3z avatar G3z commented on July 24, 2024

4.1.1 is this an npm bug ?

from forge.

MarshallOfSound avatar MarshallOfSound commented on July 24, 2024

From the sounds of it yes, npm prune --production shouldn't remove a production dependency. Can you revert to node v6 and npm v3 and see if it fixes the "issue" 😄

from forge.

G3z avatar G3z commented on July 24, 2024

I reverted to [email protected] removed node_modules and npm installed.
now electron-forge make produced a working build!
so it's an npm bug (or changed behavior)
TY

from forge.

malept avatar malept commented on July 24, 2024

Do you mind filing a bug in in the npm repo and linking it here?

from forge.

G3z avatar G3z commented on July 24, 2024

I'm digging the changelogs to be sure it's a bug, than I will update you.

from forge.

malept avatar malept commented on July 24, 2024

This seems to be it: npm/npm#9889

from forge.

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.