Giter Club home page Giter Club logo

gremlins-puppet's People

Contributors

jmlweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zixingkong

gremlins-puppet's Issues

getting error after yarn start --url

yarn run v1.9.2
$ npm run build && node dist/index.js --url http://example.com or npm run start --urlhttp://localhost:8888/home

[email protected] build /home/eaachmh/gremlins-puppet
rimraf dist/ && babel ./ --out-dir dist/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files

config.default/browser.js -> dist/config.default/browser.js
config.default/gremlins.js -> dist/config.default/gremlins.js
config.default/index.js -> dist/config.default/index.js
config.default/page.js -> dist/config.default/page.js
index.js -> dist/index.js
lib/getConfig.js -> dist/lib/getConfig.js
lib/gremlinsClient.js -> dist/lib/gremlinsClient.js
lib/gremlinsPuppet/buildEnvironment.js -> dist/lib/gremlinsPuppet/buildEnvironment.js
lib/gremlinsPuppet/createUrlChangeHandler.js -> dist/lib/gremlinsPuppet/createUrlChangeHandler.js
lib/gremlinsPuppet/index.js -> dist/lib/gremlinsPuppet/index.js
(node:24044) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
[24054:24054:0802/104047.898197:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

at onClose (/home/eaachmh/gremlins-puppet/node_modules/puppeteer/lib/Launcher.js:285:14)
at Interface.helper.addEventListener (/home/eaachmh/gremlins-puppet/node_modules/puppeteer/lib/Launcher.js:274:50)
at Interface.emit (events.js:187:15)
at Interface.close (readline.js:379:8)
at Socket.onend (readline.js:157:10)
at Socket.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1090:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

(node:24044) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:24044) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 2.08s.

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.