Giter VIP home page Giter VIP logo

ebikes-manufacturing's People

Contributors

dependabot[bot] avatar nikhil317rao avatar pozil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ebikes-manufacturing's Issues

Getting error 'rm' is not recognized as an internal or external command, operable program or batch file. when running the node server

Summary

I am following the steps explained, but getting a error as 'rm' is not recognized as an internal or external command,
operable program or batch file. when running server with npm start. I have the dependency installed, not sure whats causing the issue.

Did some search where some blogs mention that it might be because of bash scripts. I am using a windows laptop
Capture

Steps To Reproduce

Followed the steps exactly mentioned

  • Create a .env file at the root of the ebikes-manufacturing project
  • Updated the property values by referring to the configuration reference section
  • Install the project with npm install
  • Run the project with npm start

Current Behavior

Error generated and node server not starting
Capture

Expected Behavior

No response

Relevant Log Output

PS C:\Users\anils1\Documents\code\ebikes-manufacturing> npm install
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb

> [email protected] preinstall
> rm -fr src/client/assets/dependencies

'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code 1
npm ERR! path C:\Users\anils1\Documents\code\ebikes-manufacturing
npm ERR! command C:\windows\system32\cmd.exe /d /s /c rm -fr src/client/assets/dependencies

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\anils1\AppData\Local\npm-cache\_logs\2023-10-17T18_33_07_155Z-debug-0.log
PS C:\Users\anils1\Documents\code\ebikes-manufacturing> ^C
PS C:\Users\anils1\Documents\code\ebikes-manufacturing> ^C
PS C:\Users\anils1\Documents\code\ebikes-manufacturing> npm start

> [email protected] start
> MODE=prod node src/server/server.js

Invalid parameter - =prod

Code of Conduct

  • I agree to follow this project's Code of Conduct

Error "Invalid parameter = prod"

Summary

I am getting the error "Invalid parameter = prod error," when running the node server on a windows machine

Steps To Reproduce

Followed the steps exactly mentioned

  • Create a .env file at the root of the ebikes-manufacturing project
  • Updated the property values by referring to the configuration reference section
  • Install the project with npm install
  • Run the project with npm start

Current Behavior

image

Expected Behavior

No response

Relevant Log Output

PS C:\Users\anils1\Documents\code\ebikes-manufacturing> npm start

> [email protected] start  
> MODE=prod node src/server/server.js

Invalid parameter - =prod
PS C:\Users\anils1\Documents\code\ebikes-manufacturing>

Code of Conduct

  • I agree to follow this project's Code of Conduct

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.