Coder Social home page Coder Social logo

neutron's People

Contributors

yan-foto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

neutron's Issues

Make neutron configurable

  • Determine which platforms to create a package for
  • Add dependencies as a module lists which are installed as desired (some wanna use Babel, some TypeScript)
  • define include folders for SASS
  • add bower.dev.json to include files in need of compilation in src folders
  • add ignored gulp:clean globs in the configuration

Setting up

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.

Add docs

  • how to use bower main files with custom git repositories

Gulp bootstrap fails on npm install

[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 |

gulp bootstrap fails on Ubuntu Trusty

$ 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?

bootstrap gulp task Issue

My Configuration

I am running OSX Yosemite 10.10.4 with the latest prebuilt binaries of Electron.

Issue

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.

Errors on windows with npm install and yo

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

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.