Git Product home page Git Product logo

contentful-static-react's People

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

Watchers

 avatar  avatar  avatar  avatar

contentful-static-react's Issues

react-snap failing in Travis CI

I've followed the steps from your tutorial and am able to run yarn build successfully on my local. However, when I try to deploy via Travis I get the following when it hits the react-snap step:

0.01s
1.38sadding /home/travis/.cache/yarn to cache
$ node --version
v8.11.2
$ npm --version
5.6.0
$ nvm --version
0.33.11
$ yarn --version
1.3.2
install
29.00s$ yarn install
yarn install v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 28.56s.
37.23s$ yarn build
yarn run v1.3.2
$ react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
  98.89 KB  build/static/js/main.6d89d9d6.js
  425 B     build/static/css/main.6ad777ba.css
The project was built assuming it is hosted at the server root.
You can control this with the homepage field in your package.json.
For example, add this to build it for GitHub Pages:
  "homepage" : "http://myname.github.io/myapp",
The build folder is ready to be deployed.
You may serve it with a static server:
  yarn global add serve
  serve -s build
Find out more about deployment here:
  http://bit.ly/2vY88Kr
$ react-snap
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command "yarn build" exited with 1.
cache.2
store build cache
0.01s
11.94schanges detected, packing new archive
.
uploading archive
Done. Your build exited with 1.

I've tried playing around with node and yarn versions, matching them to my local, but it always seizes up in the same place. I'm thinking that it's due to a missing permission or configuration somewhere related to S3 or Travis. Any thoughts?

CircleCl hang up

Hi

When I deploy locally the static build works great but when deploy in CircleCl it keeps timing out on react snap:

error at / { Error: Protocol error (Page.enable): Target closed.
at Promise (/home/circleci/project/node_modules/puppeteer/lib/Connection.js:186:56)
at new Promise ()
at CDPSession.send (/home/circleci/project/node_modules/puppeteer/lib/Connection.js:185:12)

Any ideas?

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.