Home

Issue: 1065

Pages assets with symlink directory in linux based system

[issue link]

Hi all.

I met a problem with nuxt.js
make a page asset like this. I tried several times with clean installed repository or new version of nuxt.

$ tree pages
pages
├── index.vue
└── web -> ../../../mockup/web

in web folder it used by symbolic link to nuxt pages folder

$ tree web
web
└── index.vue

it makes some errors with nuxt.js base system.

ERROR  Failed to compile with 1 errors                                                                                     10:01:20

This dependency was not found:

* /home/user/Repository/nuxt-symlink/pages/web/index.vue in ./.nuxt/router.js

To install it, you can run: npm install --save /home/user/Repository/nuxt-symlink/pages/web/index.vue

How can I solve this?

Thanks in advance!

This question is available on Nuxt.js community (#c925)