Giter Site home page Giter Site logo

deprecated-electrode-archetype-react-app's Introduction

Archetype: Electrode React Isomorphic Universal App

NPM version Build Status Dependency Status

Deprecated

This repo has been moved here

A Walmart Labs flavored React Universal App archetype.

tl;dr

What is this for?

This "app archetype" provides for common patterns across all app projects so that each app project can standardize on common development behavior and patterns. Its essentially pre-made patterns for build scripts.

How do I start developing in my application project after installing?

# This runs both the node server and webpack (in hot mode)
$ gulp hot

# Also try `dev` mode when running off battery power and you wish to maximize battery life.
$ gulp dev

What is hot mode?

Hot mode enables Hot module reloading(HMR), it is where webpack transpiles your javascript and css code and continues to watch for any changes, and, builds and loads only the code that has changed on disk. It allows you to develop without re-loading your browser page as the changes will be automagically piped in.

How do I run my application tests?

# This will run test eslint and your spec tests
$ gulp check

How do I run my application tests without going through eslint (i.e., while I'm developing)?

# This will run only your spec tests
$ gulp test-dev

Why can't my test and code changes get automatically run with the tests? Why do the tests take so long to start?

# This will start a webpack-dev-server to hot watch your code and also start a karma test browser that auto-reruns when specs or client code changes.
$ gulp test-watch-all

How do I use and/or view the final build files without minifying/uglifying but also with sourcemaps?

# This will build your code and save to disk, and then start a node server (without using webpack-dev-server).
$ gulp dev-static

Is there anything else that might be nice for my development?

# This will start the node server in debug mode so that you can place breakpoints, "debugger" statements, or use `node-inspector`.
$ gulp debug

How do I view my test result in the browser?

Run either of the below commands before opening the link.

gulp server-test
gulp dev # (OR) (which includes `server-test`)
gulp hot # (OR) (which includes `server-test`)

This will serve the static assets for test.html

open test.html to view test result.

How do I generate a manifest.json and a service-worker file?

First we need to add a sw-config.js file under the app's config folder.

This file contains two sections:

1. Manifest
manifest: {
logo: "./images/icon.png",
title: "Electrode Progressive App",
short_name: "EPA",
start_url: "/"
}

Manifest gives you control over how your web app is installed on user's home screen with short_name, title and logo properties. You can also specify a starting path to launch your app with start_url property. Manifest defines how your app appears to the user and more importantly how they can launch it.

2. Cache
cache: {
  runtimeCaching: [{
    handler: "fastest",
    urlPattern: /\/home$/
  }, {
    handler: "networkFirst",
    urlPattern: /getBeer/
  }],
  staticFileGlobs: ['dist/**/*']
}

Seamlessly cache your static assets or run time routes or cache them together! Precache your static assets generated by webpack using the staticFileGlobs property. Or use the runtimeCaching property to cache specific react routes in from your routes.jsx.

Once this file is added, running

gulp build

will generate a manifest.json file inside of dist/js/icons-[hash] and a service worker file dist/sw.js.

Service Worker file is generated during the build step and it will precache all the static resources as per the configuration in sw-config.js. Using AboveTheFoldOnlyServerRender you can avoid caching of certain components inside the crucial pages of your app to make your App shell even lighter.

<AboveTheFoldOnlyServerRender skip={true}>
  <div>
    this will not be a part of your app shell
  </div>
</AboveTheFoldOnlyServerRender>

AboveTheFoldOnlyServerRender example Sample config.js More on PWA

Installation

We use [gulp] as a task invoker. You should install it globally.

$ sudo npm install -g gulp
run the following in your project
$ npm install --save-dev gulp electrode-archetype-react-app electrode-archetype-react-app-dev
Add a gulpfile.js

The gulpfile.js should contain the following and be located in the root of your project

require("electrode-archetype-react-app")();
Add a .babelrc to your project

The .babelrc needs to extend the archetype's babel configuration in order to apply the presents (ES2015, React) and the plugins like i18n. If your project needs additional Babel settings (like using stage 0 features) you can add them to this file. See the Babel docs for more information.

{
  "extends": "./node_modules/electrode-archetype-react-app/config/babel/.babelrc"
}
Use babel-core/register in your server entry point

If you don't have a build step for your server code, then you must transpile on the fly using babel-register. For performance reasons, we recommend whitelisting the react module to be transpiled as well, so that the transform-node-env-inline plugin gets applied to the React codebase:

require("babel-core/register")({
  ignore: /node_modules\/(?!react\/)/
});
Use the cssModuleHook in your server entry point for isomorphic CSS modules

If you want to enable isomorphic css modules, the server needs to know how to import css files and generate unique class names. The archetype can handle this for you using the supports module. In your server entry point:

var supports = require("electrode-archetype-react-app/supports");

supports.cssModuleHook();
Define client entry points

By default, the archetype uses client/app.js or client/app.jsx as a client entry point. Alternatively, you can define multiple entry points for your application, so the Webpack will create bundles for each app entry point. To do that, place entry.config.js module into your app's client directory:

Here is an example of entry.config.js:

module.exports = {
  "web": "./app-web.js",
  "ios": "./app-ios.js",
  "android": "./app-android.js"
};

Tasks

Run gulp to see list of tasks.

Built with ❤️ by Team Electrode @WalmartLabs.

deprecated-electrode-archetype-react-app's People

Contributors

ameyakoshti avatar ananavati avatar animesh10 avatar aweary avatar baer avatar caoyangs avatar citelao avatar dr-nafanya avatar dstevensio avatar exogen avatar izaakschroeder avatar jchip avatar jeffrifwald avatar jmcriffey avatar markbrouch avatar peob avatar robr24 avatar ryan-roemer avatar tiffine-koch avatar wmertens avatar wyaeld 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  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  avatar

deprecated-electrode-archetype-react-app's Issues

How do I enable Sass

Hello, I would like to use Sass in my electrode app.

You usually do this by configuring a Sass loader for Webpack.

How do I do this? Thanks!

karma issue on gulp check

This keeps happening. Have installed from scratch twice. App works, but test runner fails

Installed as per getting started instructions here
http://www.electrode.io/docs/get_started.html

~/node_projects/e2 [master|…22] 
13:09 $ gulp check
[13:09:54] Using gulpfile ~/node_projects/e2/gulpfile.js
[13:09:54] Starting 'check'...
[13:09:54] Starting 'lint'...
[13:09:54] Starting 'lint-client'...
[13:09:54] Starting 'lint-client-test'...
[13:09:54] Starting 'lint-server'...
[13:09:54] Starting 'lint-server-test'...
[13:09:55] Finished 'lint-server-test' after 413 ms
[13:09:55] Finished 'lint-server' after 546 ms
[13:09:55] Finished 'lint-client-test' after 690 ms
[13:09:55] Finished 'lint-client' after 734 ms
[13:09:55] Finished 'lint' after 734 ms
[13:09:55] Starting 'test-cov'...
[13:09:55] Starting 'test-frontend-cov'...
Entry point configuration is not found, using default entry point...

ERROR in ./~/electrode-archetype-react-app/config/karma/entry.js
Module not found: Error: Cannot resolve module 'client' in /home/brad/node_projects/e2/node_modules/electrode-archetype-react-app/config/karma
 @ ./~/electrode-archetype-react-app/config/karma/entry.js 43:13-67

ERROR in ./~/electrode-archetype-react-app/config/karma/entry.js
Module not found: Error: Cannot resolve module 'test/client' in /home/brad/node_projects/e2/node_modules/electrode-archetype-react-app/config/karma
 @ ./~/electrode-archetype-react-app/config/karma/entry.js 47:15-67
05 10 2016 13:09:58.536:INFO [karma]: Karma v0.13.22 server started at http://localhost:8080/
05 10 2016 13:09:58.540:INFO [launcher]: Starting browser PhantomJS
05 10 2016 13:09:59.033:INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket /#NfKCuJ1Hl0KzIrloAAAA with id 8092595
PhantomJS 1.9.8 (Linux 0.0.0) ERROR
  Error: Cannot find module "client"
  at /home/brad/node_projects/e2/node_modules/electrode-archetype-react-app/config/karma/entry.js:89 <- webpack:///home/brad/node_projects/e2/~/electrode-archetype-react-app/config/karma/entry.js:43:0

PhantomJS 1.9.8 (Linux 0.0.0): Executed 0 of 0 ERROR (0.191 secs / 0 secs)

complete log available at https://gist.github.com/wyaeld/e59857e57797a7194984f3059596a6ab

.eslintrc and eslint version issues

Not sure what the right way of doing this is. My issue is that I have an .eslintrc file in the root of my project with some rules,

{
    "parser": "babel-eslint",
    "ecmaFeatures": {
      "jsx": true
    },
    "env": {
        "es6": true,
        "browser": true
    },
    "plugins": [ "filenames" ],
    "extends": "walmart/configurations/es6-react-test",
    "rules": {
        "indent": [2, 2],
        "quotes": [2, "single"],
        "object-curly-spacing": [2, "always"],
        "comma-dangle": [2, "always-multiline"]
    }
}

and when I run gulp check and I get an error

Error: walmart/rules/eslint/best-practices/on:
	Configuration for rule "no-labels" is invalid:
	Value "2,[object Object]" has more items than allowed.

I'm thinking this is because I'm using a different eslint version then the archetype, which seems to be version 1.10.3 wheras I'm using 2.10.2 which is what eslint-config-walmart tracks against. I'm a bit of a beginner in configuring eslint so let me know if I'm missing something very basic here.

It would be nice to continue to use the gulp check task so I'm wondering what I can do to make my eslint play nicely with the archetype.

Error: Cannot find module 'es2015'

I'm following the quickstart guide, with node 4.6.0 and when I run gulp dev I get the following error:

$ npm install
npm WARN package.json [email protected] homepage field must start with a protocol.
npm WARN unmet dependency /Users/martinrichards/code/play/electrode/node_modules/electrode-server/node_modules/hapi/node_modules/subtext/node_modules/pez requires boom@'3.x.x' but will load
npm WARN unmet dependency /Users/martinrichards/code/play/electrode/node_modules/electrode-server/node_modules/hapi/node_modules/boom,
npm WARN unmet dependency which is version 4.0.0
$ gulp dev
[14:30:44] Using gulpfile ~/code/play/electrode/gulpfile.js
[14:30:44] Starting 'dev'...
[14:30:44] Starting '.webpack-dev'...
[14:30:44] Finished '.webpack-dev' after 144 μs
[14:30:44] Starting 'server-dev'...
[14:30:44] Starting 'server-watch-$deps$'...
[14:30:44] Starting '.init-bundle.valid.log'...
[14:30:44] Finished '.init-bundle.valid.log' after 1.28 ms
[14:30:44] Finished 'server-watch-$deps$' after 3.36 ms
[14:30:44] Starting 'server-watch'...
[14:30:44] Starting 'generate-service-worker'...
[14:30:44] Finished 'generate-service-worker' after 591 μs
[nodemon] 1.11.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: .etmp/bundle.valid.log /Users/martinrichards/code/play/electrode/server/**/* /Users/martinrichards/code/play/electrode/config/**/*
Entry point configuration is not found, using default entry point...
isomorphic-loader webpack plugin: removed existing config file
  0% compile http://localhost:2992/webpack-dev-server/
webpack result is served from http://localhost:2992/js/
content is served from /Users/martinrichards/code/play/electrode
 10% 0/1 build modules{ [Error: Cannot find module 'babel-preset-es2015'] code: 'MODULE_NOT_FOUND' }
webpack bundle is now VALID but has ERRORS
webpack report is served from http://localhost:2992/reporter

And the report:

Hash: fc7ac480532aa0a11bb3
Version: webpack 1.13.2
Time: 5227ms

ERROR in ./client/app.jsx
Module build failed: Error: Cannot find module 'es2015' (While processing preset: "/Users/martinrichards/code/play/electrode/node_modules/electrode-archetype-react-app/node_modules/babel-preset-es2015-loose/index.js")
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at module.exports (/Users/martinrichards/code/play/electrode/node_modules/electrode-archetype-react-app/node_modules/babel-preset-es2015-loose/node_modules/modify-babel-preset/index.js:35:23)
    at Object. (/Users/martinrichards/code/play/electrode/node_modules/electrode-archetype-react-app/node_modules/babel-preset-es2015-loose/index.js:5:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /Users/martinrichards/code/play/electrode/node_modules/electrode-archetype-react-app-dev/node_modules/babel-core/lib/transformation/file/options/option-manager.js:301:17
    at Array.map (native)
    at OptionManager.resolvePresets (/Users/martinrichards/code/play/electrode/node_modules/electrode-archetype-react-app-dev/node_modules/babel-core/lib/transformation/file/options/option-manager.js:269:20)
    at OptionManager.mergePresets (/Users/martinrichards/code/play/electrode/node_modules/electrode-archetype-react-app-dev/node_modules/babel-core/lib/transformation/file/options/option-manager.js:258:10)

How to load the css inside the node_module for the 3rd party react component

For some 3rd react components (for example: https://github.com/pqx/react-ui-tree/tree/master/dist ), the css file is not included into the component itself, thus we have to include it manually into our Layout.jsx

import 'node_modules/react-ui-tree/dist/react-ui-tree.css

However, when using this way, the css file is bundled and mapped to the different class names, thus making the component does not render correctly. How can we include 3rd css file so the file become global scope and the 3rd party component can be effected ?

Our current workaround is host those css files remotely or make a plugin in order to return the correct file on the hapi server and import it back to the base.css

@import url(//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css)

so the file is not bundled anymore, but I don't think it is a good idea

Upgrade to [email protected]

I can't use "off", "warn" or "error" for lint rules because eslint gives me errors. The error message is Value "off" is the wrong type.

I think this is because eslint version for the archetype is 1.+. Do you guys have a plan to upgrade eslint to 3.+?

Thanks.

Images in ./dist/js

Hello,

Thanks for your work and sharing.
After gulp build, I don't understand why generate images in ./dist/js instead of ./dist/images ?

enable global scope in css modules

Hi, I am not sure if this is the appropriate place to ask the question... When I use create-react-app, which also uses css-modules, the global scope of css is enabled by default. With electrode, as far as I can see, the local scope is enable by default. Is there a configuration file where I can change this configuration?

Why Gulp?

Incredibly impressed by your project, I'll make sure to try it out the next chance I get.

However, why are you relying on Gulp? I've only just skimmed the code, but it looks like There isn't a whole lot you couldn't accomplish with straight node scripts or even bash.

If there's interest, I'd be more than happy to supply a pull request with the changes needed one of the following days.

CSS files not being watches properly

When a css file that is imported into another css file changes, no updates happen. The file change is not being monitored. But if the same css file is incuded as a dummy css file, the file is watched properly.

// components/special.jsx
import styles from "./special.css";
import {} from "./theme.css"; // to ignore, just to force the monitoring of the file

// special.css
@import "./theme.css"; /* this is not enough for the watcher to watch the theme.css file for changes */

Is this even an issue for electrode-archetype-react-app or some underneath component?

In conclusion, chained css files trough import are not watched, although the css-loader https://github.com/webpack/css-loader/tree/v0.23.1 states:

@import and url(...) are interpreted like require() and will be resolved by the css-loader. Good loaders for requiring your assets are the file-loader and the url-loader which you should specify in your config (see below).

Use of stage-1 babel preset

I would recommend against using the babel stage-1 preset or any other dynamic presets. Plugins are going to be moved in and out of the preset potentially breaking electrode-based apps or at least their builds in the future.

I would suggest to either use fixed presets like es2015 or plugins directly.

Update eslint version

Eslint version 1.10.3 is almost a year old at this point, so anything generated by a modern global install (eslint --init) must be changed to older syntax—"warn" and "error" need to become 1 and 2.

Can this be updated?

UglifyJs doesn't work with boom

On electrode app with boom as one of the dependencies, running gulp build returns with the following error: SyntaxError: Unexpected token: name (wwwAuthenticate) [../~/boom/lib/index.js:161,0].

This boom issue suggesting that we use babel-minify or babili. How to get around this?

screenshot from 2016-11-03 09-05-26

Slowness every time triggering a link

We are developing a quite complicated project and everytime I click on a link during the development (gulp dev), I have to wait a lot of time for the bundle files downloaded back to the client

developer_tools_-_http___222_clearbridgegroup_com_au_4000_admin_home_and_clearbridge_admin_management

This happens nearly all the times and reduces the productivity a lot. Is there any way to improve this situation ?

lint-server throwing errors `7:2 error Parsing error: Unexpected token const`

608 ananava:test-app $ gulp check
[12:31:36] Using gulpfile ~/walmart-oss/test-generator-electrode-app/test-app/gulpfile.js
[12:31:36] Starting 'check'...
[12:31:36] Starting 'lint'...
[12:31:36] Starting 'lint-client'...
[12:31:36] Starting 'lint-client-test'...
[12:31:36] Starting 'lint-server'...
[12:31:36] Starting 'lint-server-test'...
[12:31:36] Finished 'lint-server-test' after 422 ms

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/index.js
  7:2  error  Parsing error: Unexpected token const

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/plugins/webapp/index.js
  3:2  error  Parsing error: Unexpected token const

✖ 2 problems (2 errors, 0 warnings)

[12:31:36] 'lint-server' errored after 434 ms
[12:31:36] Error: command exit code 1
    at error (/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:19:29
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/shelljs/src/exec.js:180:7
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
[12:31:36] 'check' errored after 445 ms
[12:31:36] Error in plugin 'run-sequence(lint-server)'
Message:
    command exit code 1
Details:
    stdout:
/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/index.js
  7:2  error  Parsing error: Unexpected token const

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/plugins/webapp/index.js
  3:2  error  Parsing error: Unexpected token const

✖ 2 problems (2 errors, 0 warnings)


    stderr:
Stack:
Error: command exit code 1
    at error (/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:19:29
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/shelljs/src/exec.js:180:7
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
[12:31:36] 'lint' errored after 445 ms
[12:31:36] Error in plugin 'run-sequence(check)'
Message:
    command exit code 1
Details:
    stdout:
/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/index.js
  7:2  error  Parsing error: Unexpected token const

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/plugins/webapp/index.js
  3:2  error  Parsing error: Unexpected token const

✖ 2 problems (2 errors, 0 warnings)


    stderr:
Stack:
Error: command exit code 1
    at error (/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:19:29
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/shelljs/src/exec.js:180:7
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
[12:31:36] 'lint' errored after 446 ms
[12:31:36] Error in plugin 'run-sequence(lint-server)'
Message:
    command exit code 1
Details:
    stdout:
/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/index.js
  7:2  error  Parsing error: Unexpected token const

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/server/plugins/webapp/index.js
  3:2  error  Parsing error: Unexpected token const

✖ 2 problems (2 errors, 0 warnings)


    stderr:
Stack:
Error: command exit code 1
    at error (/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:19:29
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/shelljs/src/exec.js:180:7
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
[12:31:36] Finished 'lint-client-test' after 448 ms

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/client/app.jsx
  11:5  error  "document" is not defined  no-undef

/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/client/routes.jsx
  2:17  error  "IndexRoute" is defined but never used  no-unused-vars

✖ 2 problems (2 errors, 0 warnings)

[12:31:36] 'lint-client' errored after 718 ms
[12:31:36] Error: command exit code 1
    at error (/Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/electrode-gulp-helper/lib/exec.js:19:29
    at /Users/ananava/walmart-oss/test-generator-electrode-app/test-app/node_modules/shelljs/src/exec.js:180:7
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)```

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.