edbrereton / electron-ts-boilerplate Goto Github PK
View Code? Open in Web Editor NEWA repo containing boilerplate for a typescript electron app
A repo containing boilerplate for a typescript electron app
Currently requires some documentation and testing across platforms
Running npm run compile
bombs out on Windows 10 from a clean pull. npm-debug.log included below
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'compile' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info lifecycle [email protected]~precompile: [email protected]
6 silly lifecycle [email protected]~precompile: no script for precompile, continuing
7 info lifecycle [email protected]~compile: [email protected]
8 verbose lifecycle [email protected]~compile: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~compile: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\demil\electron-test\node_modules\.bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\Anaconda3;C:\Program Files\Anaconda3\Scripts;C:\Program Files\Anaconda3\Library\bin;C:\Users\ejbrer\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\ejbrer\AppData\Local\Programs\Python\Python36-32\;C:\Users\ejbrer\AppData\Local\Programs\Python\Launcher\;C:\Users\ejbrer\AppData\Local\Microsoft\WindowsApps;C:\Users\ejbrer\AppData\Roaming\npm;C:\Users\ejbrer\AppData\Local\Apps;C:\Program Files\Neovim\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Oni;C:\Users\ejbrer\AppData\Local\Keybase\
10 verbose lifecycle [email protected]~compile: CWD: C:\demil\electron-test
11 silly lifecycle [email protected]~compile: Args: [ '/d /s /c',
11 silly lifecycle 'npm run tsc; npm run views; cp package.json js/;' ]
12 silly lifecycle [email protected]~compile: Returned: code: 1 signal: null
13 info lifecycle [email protected]~compile: Failed to exec compile script
14 verbose stack Error: [email protected] compile: `npm run tsc; npm run views; cp package.json js/;`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:886:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd C:\demil\electron-test
17 error Windows_NT 10.0.14393
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "compile"
19 error node v6.10.3
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error [email protected] compile: `npm run tsc; npm run views; cp package.json js/;`
22 error Exit status 1
23 error Failed at the [email protected] compile script 'npm run tsc; npm run views; cp package.json js/;'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the electron-ts package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm run tsc; npm run views; cp package.json js/;
23 error You can get information on how to open an issue for this project with:
23 error npm bugs electron-ts
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls electron-ts
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.