Coder Social home page Coder Social logo

Error on npm run dev about jet HOT 5 CLOSED

marcamos avatar marcamos commented on June 14, 2024
Error on npm run dev

from jet.

Comments (5)

ryanccn avatar ryanccn commented on June 14, 2024 3

migrated to rimraf at dfda8e9 šŸ˜„

from jet.

l8te avatar l8te commented on June 14, 2024 2

Works perfectly-- thank you all!

from jet.

marcamos avatar marcamos commented on June 14, 2024 1

Ah! Sorry everybody! As a macOS-only user, it never dawned on me that rm would be an issue.

Iā€™m a bad steward of OSS šŸ„“

Thank you for bringing this to our attention, and thank you, @ryanccn, for making it better.

from jet.

donspaulding avatar donspaulding commented on June 14, 2024

I'm not affiliated with this project at all, just checking it out like you are. But it seems like your issue is that the clean script inside of package.json is using the rm command, which isn't available on Windows (it's a Unix/Linux command).

Can you try editing the package.json and replace the rm-rf public src/css/styles.css with rd /s /q .\public; del /f /q .\src\css\styles.css? I've not tested it (I'm not using Windows) and I don't know what other windows-specific problems you're likely to run into, but that might get you one step further down the path.

from jet.

ryanccn avatar ryanccn commented on June 14, 2024

This is an issue with Windows not having the rm command that UNIX & Linux do have.

You can try using rimraf instead of the original command:

$ npm i rimraf

and then just change the clean command from rm -rf to rimraf.

rimraf works cross-platform, and we'll think of using rimraf in the template itself in order to ensure compatibility.

Thanks for trying out jet!

from jet.

Related Issues (16)

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.