Comments (6)
Uh oh - hmm - are you starting the server using start.sh
?
thread 'main' panicked at 'File not found: Os { code: 2, kind: NotFound, message: "No such file or directory" }'
Seems like the bundle.js isn't being found here
percy/examples/isomorphic/server/src/server.rs
Lines 81 to 84 in 44d974d
Does ./examples/isomorphic/client/bundle.js
exist in your file system?
from percy.
@hmobrienv
Does this problem only occur in chrome? (try to open http://127.0.0.1:7878
in firefox)
if so, add favicon.ico at ./examples/isomorphic/client/favicon.ico
and start it.
FILENAME: ./examples/isomorphic/client/favicon.ico
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidData, error: StringError("stream did not contain valid UTF-8") }', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
from percy.
@eswr
Occurs in both firefox and chrome.
@chinedufn
There is no bundle.js file in ./examples/isomorphic/client/bundle.js
.
from percy.
Hmm, mind pasting the output from when you run start.sh ? I’m thinking there might’ve been a webpack build error or something.
from percy.
Sure thing,
warning: unused manifest key: package.private
warning: unused manifest key: package.private
Finished dev [unoptimized + debuginfo] target(s) in 0.07s
./examples/isomorphic/client/build-wasm.sh: line 6: wasm-bindgen: command not found
warning: unused manifest key: package.private
warning: unused manifest key: package.private
Finished dev [unoptimized + debuginfo] target(s) in 0.07s
Runningtarget/debug/isomorphic-server
Listening on port 7878
from percy.
wasm-bindgen: command not found
It looks like you're missing one of the dependencies. Sorry! The instructions should have done a better job of explaining how to get yourself set up :(
I've updated the instructions to include the fact that you need to have nightly Rust and wasm-bindgen installed!
https://github.com/chinedufn/percy/tree/master/examples/isomorphic#running-locally
If those steps don't work for you let me know!
from percy.
Related Issues (20)
- How alive is this project? HOT 3
- Use request_animation_frame from rust instead of Global Js call for update view HOT 3
- Free hosting? HOT 5
- Sub-routes not working? HOT 1
- Bash files in examples to rust-script? HOT 5
- Curly braces for value interpolation HOT 1
- Implement Performance Metrics HOT 2
- Implement a Formatting Tool HOT 2
- Consider Pure JS Transpilation HOT 2
- FYI: branding/naming clash HOT 1
- Crate renames HOT 1
- Docs: Broken CSS HOT 1
- Broken tests in html-macro 0.7.0 and 0.7.1 HOT 4
- Building nojs-first applications (and some thoughts about an isomorphic data layer) HOT 1
- Free Hosting for Demos HOT 1
- Allow Support for multiple parameters in `JSX` syntax HOT 4
- Spaces removed when isomorphic app is hydrated HOT 3
- File referred to in documentation doesn't exist
- Fix parenthesized blocks in html macro
- Panic happened in /allocator/free_list.rs that `new_page == 0` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from percy.