-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
I want to point out a small fix which windows users must apply in order to run the program. Some of you might already know this but it made me stumble for quite a while.
The original demos/package.json is written for MAC so trying to run it produces the following error:
'NODE_ENV' is not recognized as an internal or external command, operable program or batch file.
In order to fix it, replace the "scripts" block inside demos/package.json with the following:
"scripts": {
"watch": "SET NODE_ENV=development & parcel --no-hmr --open index.html ",
"build": "SET NODE_ENV=production & parcel build index.html --no-minify --public-url ./",
"build-camera": "SET NODE_ENV=production & parcel build camera.html --no-minify --public-url ./",
"lint": "eslint ."
},
Metadata
Metadata
Assignees
Labels
No labels