Comments (10)
Thanks Martin I'll check it when I'm next back at my laptop and let you know.
from seed-quickstart-webpack.
Hi Martin,
I've got it working now using github actions and your main.yaml file.
Many thanks
from seed-quickstart-webpack.
When you were deploying did you ever get this issue?
No.
-
Are there any other errors or warnings before this one in the log? I have often problems with Travis - e.g. there is a problem with internet access and it fails while downloading dependencies, which can cause your issue if
cargo
isn't fully installed. -
There can be some problems with
$PATH
. -
Try to add something like this into your
.travis.yml
:
where cargo
echo $PATH
FYI, I'm migrating all projects to GitHub Action (or Azure Pipelines if there will be some blockers) so I'll probably write a guide for GA to seed-quickstart-webpack
's readme. And I'll encounter the same problem as you if the problem isn't caused by Travis.
from seed-quickstart-webpack.
FYI I've configured Github Actions for Seed's homepage (repository is based on seed-quickstart-webpack
with some changes) - main.yml - you can copy/paste it if you want. It works great and I haven't seen any errors like you described in this issue.
from seed-quickstart-webpack.
I'm still getting the same error message even if I use Seed's homepage's main.yaml. Source code of my site. I have configured GitHub actions as per the README.
from seed-quickstart-webpack.
I ran echo $PATH
and it printed
/opt/buildhome/.wasmer/bin:
/opt/buildhome/.wasmer/globals/wapm_packages/.bin:
/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:
/opt/build/repo/node_modules/.bin:
/opt/build/cache/yarn/bin:
/opt/buildhome/.rvm/gems/ruby-2.6.2/bin:
/opt/buildhome/.rvm/gems/ruby-2.6.2@global/bin:
/opt/buildhome/.rvm/rubies/ruby-2.6.2/bin:
/opt/buildhome/.rvm/bin:
/opt/buildhome/.nvm/versions/node/v10.18.1/bin:
/opt/buildhome/python2.7/bin:
/opt/buildhome/.php:
/opt/buildhome/.binrc/bin:
/usr/local/rvm/bin:
/usr/local/sbin:
/usr/local/bin:
/usr/sbin:
/usr/bin:
/sbin:
/bin:
/opt/buildhome/.cask/bin:
/opt/buildhome/.gimme/bin:
/opt/buildhome/.dotnet/tools:
/opt/buildhome/.dotnet
from seed-quickstart-webpack.
@Charles-Johnson
I'm looking at the actions in your repo:
- Run - there are errors like
error: this method could have a `#[must_use]` attribute
New Rust version (= clippy version) has a new aggressive lint must_use_candidate
which causes such errors. Just add line
#![allow(clippy::must_use_candidate)]
to your lib.rs
.
I didn't have time to fix it in the quickstart. If it helps, please create a PR.
- Run - has the broken
main.yml
file. Reverting changes in this commit should help.
I don't see error like the original one in this issue - could you point me to it, if it exists?
from seed-quickstart-webpack.
@Charles-Johnson Note: Update your local Rust (rustup update
) and run command cargo make verify
in crate
directory in your fork before push to make sure, that everything works and linter is happy.
from seed-quickstart-webpack.
@MartinKavik thank you for the help. I will try those steps.
from seed-quickstart-webpack.
@MartinKavik I was able to install wasm-pack. I should have just setup GitHub Actions first before trying to deploy directly through Netlify.
from seed-quickstart-webpack.
Related Issues (15)
- Importing npm modules HOT 7
- Compiled package cannot be opened normally in Firfox browser HOT 1
- TypeError: Response has unsupported MIME type HOT 1
- Add steps to README for manual build and deploy
- Proposal: Create new projects with a generator HOT 1
- yarn build:release makes TypeErr HOT 1
- Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'
- SCSS HOT 1
- Generated stylesheet is too big HOT 2
- yarn start leads to TypeError HOT 7
- Font files get corrupted when cloning this repository HOT 1
- About page cannot be refreshed in the release version
- Update to seed 0.5 HOT 3
- Minimize WASM size HOT 8
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 seed-quickstart-webpack.