Coder Social home page Coder Social logo

`npm run dev` fails on Windows about marzipano HOT 6 CLOSED

google avatar google commented on May 18, 2024
`npm run dev` fails on Windows

from marzipano.

Comments (6)

tjgq avatar tjgq commented on May 18, 2024 1

Are you able to run ./scripts/dev directly from the shell? The dev script is written in Bash, so on Windows you need to have Cygwin (or some equivalent) installed.

from marzipano.

SkylarKitchen avatar SkylarKitchen commented on May 18, 2024

Tiago,

I am able to run ./scripts/dev but I am not able to run "npm run dev"

I am using git bash.

Thank you for your help!

On Tue, Mar 29, 2016 at 1:04 PM, Tiago Quelhas [email protected]
wrote:

Are you able to run ./scripts/dev directly from the shell? The dev script
is written in Bash, so on Windows you need to have Cygwin (or some
equivalent) installed.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#3 (comment)

from marzipano.

tjgq avatar tjgq commented on May 18, 2024

Unfortunately, it seems you're a victim of this npm issue: npm/npm#9420. Running the script directly may be the only option on Windows at the moment.

If you happen to find a workaround, be sure to let us know.

from marzipano.

SkylarKitchen avatar SkylarKitchen commented on May 18, 2024

Will do, thanks again for your help.

On Tue, Mar 29, 2016 at 10:49 PM, Tiago Quelhas [email protected]
wrote:

Unfortunately, it seems you're a victim of this npm issue: npm/npm#9420
npm/npm#9420. Running the script directly may
be the only option on Windows at the moment.

If you happen to find a workaround, be sure to let us know.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#3 (comment)

from marzipano.

ansarikhurshid786 avatar ansarikhurshid786 commented on May 18, 2024

I have same problem as below :

$ npm run dev

[email protected] dev D:\marzipano
scripts/dev

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

from marzipano.

wwallace avatar wwallace commented on May 18, 2024

@ansarikhurshid786 and anyone else having this issue in Windows. Prepend sh to scripts/dev in your packages.json ("dev": "sh scripts/dev",) . Also, as mentioned above, you need to be able to execute bash scripts.

from marzipano.

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.