Comments (11)
Hmm, @G3z can you post your package.json
structure
from forge.
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.
That is quite odd. Does react-photonkit get deleted if you run npm prune --production
in your app directory?
from forge.
yes npm prune --production
removes react-photonkit
from forge.
@G3z What is your npm version?
from forge.
4.1.1 is this an npm bug ?
from forge.
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.
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.
Do you mind filing a bug in in the npm repo and linking it here?
from forge.
I'm digging the changelogs to be sure it's a bug, than I will update you.
from forge.
This seems to be it: npm/npm#9889
from forge.
Related Issues (20)
- The installation process is stuck and the loading image is displayed. The application cannot be started.
- [PnP] Cannot find the package "electron" HOT 5
- Electron forge is showing a new Error where it cannot copy my app to /volumes dir HOT 7
- The packaged OSX or Ubuntu app doesn't work correctly if it was started from another app
- Shipping broken. EJSONPARSE error HOT 1
- Vite extension hangs on building main code
- Update Docs for cloud-based EV code signing HOT 4
- Electron-Forge - Webpack - Start - ENOSPC
- electron-forge publish hangs on "Preparing native dependencies" HOT 1
- image cannot be resolved when application is packed HOT 4
- Update to latest maintained Node.js engines
- local modules added with npm can break vite-based build HOT 1
- Win32 make from macOs
- Remove hardcoded `node_modules` HOT 1
- Vite plugin seems to preserve symlinks during packageAfterCopy hook
- Is Electron Forge too opinionated?
- "npm run start" startup exception
- npm run make error: DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
- how to place mac app into Appliactions/{folder}/appName.app rather on /Applications after install via dmg HOT 2
- Allow passing "copyright" config to DEB and RPM makers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forge.