-
Notifications
You must be signed in to change notification settings - Fork 195
Description
Summary
npm start
fails when creating a new app inside a path with spaces. See "Additional information" section
Steps To Reproduce
Expected result
npm start
succeeds when installed on a path containing empty spaces.
Actual result
npm start
fails when installed on a path containing empty spaces.
System Information (as applicable)
Browser: N/A
Node version: 20.19.2
pwa-kit version: 3.10
Desktop OS: Win11
Mobile Device Info:
Additional information
$ npx '@salesforce/pwa-kit-create-app@latest' --preset retail-react-app-demo
Need to install the following packages:
@salesforce/pwa-kit-create-app@3.10.0
Ok to proceed? (y) y
Using preset "Retail React App Demo"
Installing dependencies... This may take a few minutes.
Successfully generated a project
....
$ npm start
demo-storefront@0.0.1 start
cross-env NODE_ICU_DATA=node_modules/full-icu pwa-kit-dev start
'C:\Users\hidden\OneDrive' is not recognized as an internal or external command,
operable program or batch file.
error: Command failed: C:\Users\hidden\OneDrive - hidden\Documents\repo\retail-react-app-demo\node_modules.bin\babel-node --extensions ".js,.jsx,.ts,.tsx" C:\Users\hidden\OneDrive - hidden\Documents\repo\retail-react-app-demo\overrides\app\ssr.js