Parcel: 馃悰 Cannot resolve dependency when I use <a> tag with virtual path

Created on 11 Dec 2017  路  6Comments  路  Source: parcel-bundler/parcel


馃悰 bug report

馃帥 Configuration (.babelrc, package.json, cli command)

package.json

{
  "name": "parcel-test",
  "version": "0.1.0",
  "devDependencies": {
    "parcel-bundler": "git://github.com/parcel-bundler/parcel.git"
  }
}

index.html

<html>
  <body>
    <a href="/b">CLICK ME</a>
  </body>
</html>

And run command:

parcel build src/index.html

馃 Expected Behavior



No error

馃槸 Current Behavior




Thrown an error with message Cannot resolve dependency './..\..\..\..\b'

馃實 Your Environment

| Software | Version(s)
| ---------------- | ----------
| Parcel | master branch
| Node | 8.9.3
| npm/Yarn | Yarn 1.2.1
| Operating System | Windows 10 x64

Bug Confirmed Bug

Most helpful comment

<a href="/b">CLICK ME</a>

馃槨

<a href="./b">CLICK ME</a>

馃槞

All 6 comments

Will look into this

I have a bug as same as u. waiting for the resolved.

Is this similar to #191?

No #191 had to do with something else, i'm not sure why it accured and guess it got fixed through a PR somewhere along the way

<a href="/b">CLICK ME</a>

馃槨

<a href="./b">CLICK ME</a>

馃槞

@nakoo I tried but still error.

Was this page helpful?
0 / 5 - 0 ratings