Git Product home page Git Product logo

Comments (10)

rebo avatar rebo commented on May 23, 2024 1

Thanks Martin I'll check it when I'm next back at my laptop and let you know.

from seed-quickstart-webpack.

rebo avatar rebo commented on May 23, 2024 1

Hi Martin,

I've got it working now using github actions and your main.yaml file.

Many thanks

from seed-quickstart-webpack.

MartinKavik avatar MartinKavik commented on May 23, 2024

When you were deploying did you ever get this issue?

No.

  1. 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.

  2. There can be some problems with $PATH.

  3. 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.

MartinKavik avatar MartinKavik commented on May 23, 2024

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.

Charles-Johnson avatar Charles-Johnson commented on May 23, 2024

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.

Charles-Johnson avatar Charles-Johnson commented on May 23, 2024

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.

MartinKavik avatar MartinKavik commented on May 23, 2024

@Charles-Johnson
I'm looking at the actions in your repo:


  1. 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.


  1. 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.

MartinKavik avatar MartinKavik commented on May 23, 2024

@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.

Charles-Johnson avatar Charles-Johnson commented on May 23, 2024

@MartinKavik thank you for the help. I will try those steps.

from seed-quickstart-webpack.

Charles-Johnson avatar Charles-Johnson commented on May 23, 2024

@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)

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.