You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Steps To Reproduce
Followed the steps exactly mentioned
Create a .env file at the root of the ebikes-manufacturing project
PS C:\Users\anils1\Documents\code\ebikes-manufacturing> npm install
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated iltorb@2.4.5: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb
> lwc-oss-manufacturing@1.0.0 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
> lwc-oss-manufacturing@1.0.0 start
> MODE=prod node src/server/server.js
Invalid parameter - =prod
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Ho @anilshivaraj, thanks for reporting this. I fixed the issue which was specific to the Windows OS.
Oull the latest changes from the repo and reinstall the node app. This should fix it.
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
Steps To Reproduce
Followed the steps exactly mentioned
Current Behavior
Error generated and node server not starting
Expected Behavior
No response
Relevant Log Output
Code of Conduct
The text was updated successfully, but these errors were encountered: