[x] I’ve searched for any related issues and avoided creating a duplicate issue.
What happened
Running npm run scaffolding on a Windows machine causes the component scaffold build process to fail.
What I expected to happen
A component is created within the packages/ directory and no errors displayed.
Reproducing
OS: Windows 10
Module name: helper.js
Module version: n/a
Pancake version: n/a
Node version: 14.15.4
npm version: 6.14.10
Pancake settings in your package.json:
Steps to reproduce:
npm i
npm run scaffolding
Attachments
Error is due to how Windows directory structure is created, the problem does not exist on Apple/Linux OS. The starting forward slash character / causes the build to fail.
Bug Report
What happened
Running
npm run scaffolding
on a Windows machine causes the component scaffold build process to fail.What I expected to happen
A component is created within the
packages/
directory and no errors displayed.Reproducing
Windows 10
helper.js
14.15.4
6.14.10
package.json
:Steps to reproduce:
npm i
npm run scaffolding
Attachments
Error is due to how Windows directory structure is created, the problem does not exist on Apple/Linux OS. The starting forward slash character
/
causes the build to fail.