Git Product home page Git Product logo

electron-angular2-boilerplate's People

Contributors

yuki-takei avatar

Stargazers

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

Watchers

 avatar  avatar

electron-angular2-boilerplate's Issues

Loading native modules

Hello,

I know it's not really related to your boilerplate, but, after some hours of searching, I can't find a way to import native NodeJs modules properly. For example, in app.ts, after adding node typings, I'm doing a

import fs = require('fs');

TS compiles well, but when loading the app in Electron, I have an error saying it can load module "fs" because the path seems to point to a wrong location.

Do you have any clue? Help would be appreciated.

regads,

fix gulp clean

[02:59:58] Using gulpfile ~/Projects/Calc/calc/gulpfile.js
[02:59:58] Starting 'clean'...
[02:59:58] 'clean' errored after 1.11 ms
[02:59:58] TypeError: Cannot read property '0' of undefined
    at /home/vagrant/Projects/Calc/deps/node_modules/del/node_modules/globby/index.js:18:27
    at Array.forEach (native)
    at sortPatterns (/home/vagrant/Projects/Calc/deps/node_modules/del/node_modules/globby/index.js:17:11)
    at module.exports (/home/vagrant/Projects/Calc/deps/node_modules/del/node_modules/globby/index.js:45:23)
    at module.exports (/home/vagrant/Projects/Calc/deps/node_modules/del/index.js:34:2)
    at Gulp.<anonymous> (/home/vagrant/Projects/Calc/calc/gulp/build.js:127:3)
    at module.exports (/home/vagrant/Projects/Calc/deps/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/home/vagrant/Projects/Calc/deps/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/vagrant/Projects/Calc/deps/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/home/vagrant/Projects/Calc/deps/node_modules/gulp/node_modules/orchestrator/index.js:134:8)

add feature: styling

  • LESS
    • dev -> less.js
    • prod -> compile to css
  • (SCSS, Stylus)
    • complex..?
    • prod -> compile to css

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.