Coder Social home page Coder Social logo

Comments (6)

matifali avatar matifali commented on July 25, 2024

Hi @jaulz, this module uses coder dotfiles to setup/install the dotfiles, which requires the presence of a script. It looks like there is no script in your dotfiles repo.
Please see this for more details: https://coder.com/docs/v2/latest/dotfiles#setup-script-support

from modules.

jaulz avatar jaulz commented on July 25, 2024

@matifali thanks for the feedback! In fact, I checked the documentation but it sounded to me that the script is optional is and if it doesn't exist the configuration files are copied only.

from modules.

matifali avatar matifali commented on July 25, 2024

@jaulz can you manually run coder dotfiles <your-dotfiles-repo> from within your workspace and see if it works? This will help us identify if the issue is with the module or the coder dotfiles command.

from modules.

jaulz avatar jaulz commented on July 25, 2024

@matifali it's also not really working:
image

Maybe because there is already other stuff in the folder (e.g. code-server from other module)?
image

from modules.

matifali avatar matifali commented on July 25, 2024

The issue is with coder dotfiles and not the module, so I moved it here to this repo.

from modules.

mafredri avatar mafredri commented on July 25, 2024

@matifali to me this looks problematic:

if [ -n "$${DOTFILES_URI// }" ]; then

We should make sure this check is /bin/sh compatible, if we need it at all. That seems to be the source of the bad substitution error.

Perhaps that check is better done in terraform? Or perhaps the trim spaces and then just check for emptyness in the script. Or not create the script if empty.

from modules.

Related Issues (20)

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.