I am trying to install @pattern-lab/[email protected] (I think) on Windows, with Node v9.9.0
Expected Behavior
npm init -y && npx @pattern-lab/cli -c patternlab init installs correctly for a user on Windows with a username with a space in it.
Actual Behavior
npm init -y && npx @pattern-lab/cli -c patternlab init creates:
Wrote to C:\websites\fail\package.json:
{
"name": "fail",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Lastname\AppData\Roaming\npm-cache\_npx\10852" as it does not contain a package.json file.
I'm going to assume it should try to write a path to
C:\Users\Firstname Lastname\AppData\Roaming\npm-cache\_npx\10852
Steps to Reproduce
Be on Windows (10)
Make sure your folder within users has a space, like "Firstname Lastname"
Navigate to a blank folder and run npm init -y && npx @pattern-lab/cli -c patternlab init