Giter Site home page Giter Site logo

Comments (6)

jlubawy avatar jlubawy commented on June 12, 2024

I am having the same issue on Windows 8 (although I suspect it is broken in all versions of Windows).

Warning: F:\rendr-app-template\node_modules\grunt-rendr-stitch\tmp\bundle\app\app.js isn't in the require path. Use --force to continue.

This warning is caused by an issue with the stitch node module used in the grunt-rendr-stitch task.

Currently stitch does not have support for Windows file path separators (\\ rather than /) but there are multiple pull requests and open issues asking for that support.

None of these requests have been addressed in over a year so in the meantime this commit should fix the problem and allow you to run grunt server (it did for me). Once you have run this CTRL+C out and run node index.js to start the server on port 3030 (I don't know if it works this way on Unix machines but the README shows that grunt server starts the server as well).

>> '.' is not recognized as an internal or external command, operable program or batch file.

I pretty sure I narrowed this issue down to the same stitch.js file but I can't seem to pin it down completely. Good news is that if you use the fix for the warning above this error doesn't seem to have any negative affects and you can still run the app on Windows.

Since this is only an app example I would recommend not using stitch on Windows (or using Unix) for the time being. That said I'll try to keep investigating this last issue and get back to you if I find anything interesting.

from rendr-app-template.

HarveyKandola avatar HarveyKandola commented on June 12, 2024

Thanks so much for taking the time to respond with a solution.

Just hope 'stitch' can be updated with your patch.

from rendr-app-template.

spikebrehm avatar spikebrehm commented on June 12, 2024

Alright, I updated grunt-rendr-stitch to point to the forked version of Stitch with the Windows fix, and I updated this repo to point to it. I haven't tested it on Windows yet; can you give a whirl?

from rendr-app-template.

jlubawy avatar jlubawy commented on June 12, 2024

Just tested it and it works perfect on Windows now (minus the annoying second error but at least it is usable now).

Thanks @spikebrehm!

from rendr-app-template.

spikebrehm avatar spikebrehm commented on June 12, 2024

@jlubawy just merged in a PR that should fix that second warning - want to give it a try?

from rendr-app-template.

jlubawy avatar jlubawy commented on June 12, 2024

Thank you that fixed the error.

Just FYI, I did run across another issue when I tried installing rendr on a Windows machine (see rendrjs/rendr#34).

from rendr-app-template.

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.