yan-foto / neutron Goto Github PK
View Code? Open in Web Editor NEWNeutron: zero point of Electron apps
Home Page: https://quaintous.com/neutron/
License: MIT License
Neutron: zero point of Electron apps
Home Page: https://quaintous.com/neutron/
License: MIT License
at the time the dist-watcher
has to be initiated with the BrowserWindow
to reload. It might be automated using this event
the statics
is not the right glob!
bower.dev.json
to include files in need of compilation in src
foldersgulp:clean
globs in the configurationSimilar to #5!
$ gulp bootstrap
[03:31:02] Failed to load external module babel-core/register
[03:31:02] Failed to load external module babel/register
/home/vagrant/IronLock/electron-ui/gulpfile.babel.js:1
(function (exports, require, module, __filename, __dirname) { let gulp = require('gulp');
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:413:25)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Liftoff.handleArguments (/home/vagrant/.nvm/versions/node/v4.1.1/lib/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff.<anonymous> (/home/vagrant/.nvm/versions/node/v4.1.1/lib/node_modules/gulp/node_modules/liftoff/index.js:192:16)
at module.exports (/home/vagrant/.nvm/versions/node/v4.1.1/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
Seems a use strict
is lost?
gulp bootstrap
doesn't make sense at all at this moment ๐
[12:10:41] SyntaxError: /usr/share/npm/lib/npm.js: Invalid number (365:26)
363 |
364 | var umask = npm.config.get("umask")
> 365 | npm.modes = { exec: 0777 & (~umask)
| ^
366 | , file: 0666 & (~umask)
367 | , umask: umask }
368 |
I really like this set-up for development but I've found it very confusing trying to get an auto update system working with it. Do you have any plans or suggestions of how to integrate electrons auto updater (or https://github.com/EvolveLabs/electron-updater) with neutron?
Hey, how do I actually get gulpfile.js and the lib folder run through babel so that I can start running gulp talks? Sorry if I have misunderstood this from the readme.
I have cloned the repository and npm start
fails because there is no gulpfile.js
still only a gulpfile.babel.js
. What is the bootstrap script?
This project looks awesome by the way.
I'm getting many errors on windows 10, first it wanted python 2.7 (why not 3?) then it complains about .net framework 2 even though I have the latest one installed.
What are all the prerequisites for this project to work?
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 1/2/2018 5:13:39 PM.
Project "C:\electron\neutron\node_modules\node-sass\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
Project "C:\electron\neutron\node_modules\node-sass\build\binding.sln" (1) is building "C:\electron\neutron\node_module
s\node-sass\build\binding.vcxproj.metaproj" (2) on node 1 (default targets).
Project "C:\electron\neutron\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) is building "C:\electron\neutro
n\node_modules\node-sass\build\src\libsass.vcxproj" (3) on node 1 (default targets).
C:\electron\neutron\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: The imported project "C:\Mic
rosoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the fil
e exists on disk.
Done Building Project "C:\electron\neutron\node_modules\node-sass\build\src\libsass.vcxproj" (default targets) -- FAILE
D.
Done Building Project "C:\electron\neutron\node_modules\node-sass\build\binding.vcxproj.metaproj" (default targets) --
FAILED.
Done Building Project "C:\electron\neutron\node_modules\node-sass\build\binding.sln" (default targets) -- FAILED.
Build FAILED.
"C:\electron\neutron\node_modules\node-sass\build\binding.sln" (default target) (1) ->
"C:\electron\neutron\node_modules\node-sass\build\binding.vcxproj.metaproj" (default target) (2) ->
"C:\electron\neutron\node_modules\node-sass\build\src\libsass.vcxproj" (default target) (3) ->
C:\electron\neutron\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: The imported project "C:\M
icrosoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the f
ile exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.84
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\electron\neutron\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\electron\\neutron\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\electron\neutron\node_modules\node-sass
gyp ERR! node -v v8.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\SO\AppData\Roaming\npm-cache\_logs\2018-01-02T15_13_43_938Z-debug.log
and at best make it configurable (see #1 )
I am running OSX Yosemite 10.10.4 with the latest prebuilt binaries of Electron.
Hi I noticed you added a bootstrap command. I am having some trouble with it. I checked out a clean version of the repo and ran the following commands. Any idea what's going on?
$ git clone https://github.com/yan-foto/neutron.git
$ npm run bootstrap
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "bootstrap"
npm ERR! node v0.12.2
npm ERR! npm v2.13.5
npm ERR! missing script: bootstrap
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Volumes/hrt/projects/neutron_reports/npm-debug.log
I also tried
$ gulp bootstrap
[14:24:46] Failed to load external module babel-core/register
[14:24:46] Failed to load external module babel/register
[14:24:46] Local gulp not found in /Volumes/hrt/projects/neutron_reports
[14:24:46] Try running: npm install gulp
Gulp is installed both locally and globally.
What if static assets are images?
If the main files has an '.scss' extension include it in sass gulp task.
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.