Fresh project with blank HTML5 boilerplate index file will not build.
No configuration.
It should build and show the preview in the browser.
lawrence@LIGHTNING:/mnt/c/Users/Lawrence/Documents/dev/sandbox/instagram-api$ parcel index.html
Server running at http://localhost:1234
馃毃  /mnt/c/Users/Lawrence/Documents/dev/sandbox/instagram-api/index.html: Path must be a string. Received null
    at assertPath (path.js:28:11)
    at Object.join (path.js:1236:7)
    at module.exports (/usr/lib/node_modules/parcel-bundler/src/utils/urlJoin.js:11:29)
    at HTMLAsset.processSingleDependency (/usr/lib/node_modules/parcel-bundler/src/assets/HTMLAsset.js:91:19)
    at ast.walk.node (/usr/lib/node_modules/parcel-bundler/src/assets/HTMLAsset.js:138:43)
    at traverse (/usr/lib/node_modules/parcel-bundler/node_modules/posthtml/lib/api.js:105:26)
    at traverse (/usr/lib/node_modules/parcel-bundler/node_modules/posthtml/lib/api.js:111:5)
    at traverse (/usr/lib/node_modules/parcel-bundler/node_modules/posthtml/lib/api.js:105:17)
    at traverse (/usr/lib/node_modules/parcel-bundler/node_modules/posthtml/lib/api.js:111:5)
    at traverse (/usr/lib/node_modules/parcel-bundler/node_modules/posthtml/lib/api.js:105:17)
This is the first time using parcel. There is no context. It should work.
| Software         | Version(s) |
| ---------------- | ---------- |
| Parcel           | Latest
| Node             | 8.11.1
| npm/Yarn         | 5.6.0
| Operating System | Ubuntu / WSL
In your html you have an empty link tag that should probably be requiring your css?
<link rel="stylesheet" href="">
But you're definitely right that we need to work on creating more detailed and explanatory error messages.
Theres also this line:
<!--[if gt IE 8]><!-->
@DeMoorJasper Your commentary was helpful, I generated my index.html file with boilerplate, then I had this: <link rel="stylesheet" href="">! I removed it then so it works fine. Thanks
Parcel doesn't seem to crash anymore with the provided html file.
Placing a <img src=""> returns the same error (took me 20 min to figure out that)
Most helpful comment
In your html you have an empty
linktag that should probably be requiring your css?<link rel="stylesheet" href="">But you're definitely right that we need to work on creating more detailed and explanatory error messages.