There's an error when deploying a Parcel-based "vanilla" site to Zeit. Here's the offending line from the Zeit logs:
/bin/sh: lscpu: not found
Full logs can be found here: https://zeit.co/rupert/csb-218093wwl0/sgslqzeiyb
I'm trying to deploy a site and, well, my site isn't there.
| Software | Name/Version|
| ---------------- | ---------- |
| Сodesandbox |
| Chrome |
| macOS |
Hey !
That part is only a warning. The problem is the now is trying to access the file system on start and that's not allowed on a deployment.
Their examples has a version for parcel here: https://github.com/zeit/now-examples/tree/master/static-parcel
So you need a custom now.json to deploy with docker and we literally started supporting them yesterday.
Here is an example of it working: https://codesandbox.io/s/x22nm5zjz4
Ah thanks – great to hear that's fixable.
It would be great if Code Sandbox could automatically do these steps, or at least prompt with a link to that Now documentation when you try to upload a Parcel project.
It just seems strange to press the "Deploy" button and get an error.
I'll add a disclaimer if it's a parcel thing, you are right. It's the first time I tried to deploy some parcel so I actually didn't know this :/
Closed because it was a solved now issue :D
Most helpful comment
Hey !
That part is only a warning. The problem is the now is trying to access the file system on start and that's not allowed on a deployment.
Their examples has a version for parcel here: https://github.com/zeit/now-examples/tree/master/static-parcel
So you need a custom now.json to deploy with docker and we literally started supporting them yesterday.
Here is an example of it working: https://codesandbox.io/s/x22nm5zjz4