Chris2011 / nuxt-asciidoc

Transformer for using asciidoc in nuxt
MIT License
3 stars 2 forks source link

It fails on project start #5

Open ninedev-i opened 2 weeks ago

ninedev-i commented 2 weeks ago

ERROR [worker reload] [worker init] Cannot find module 'C:\nuxt-asciidoc@1.0.0\node_modules\nuxt-asciidoc\dist\runtime\plugin.ts'

System: windows

package.json:

{
  "dependencies": {
    "@nuxt/content": "2.12.1",
    "nuxt": "3.11.2",
    "vue": "3.4.27",
    "vue-router": "4.3.3"
  },
  "devDependencies": {
    "nuxt-asciidoc": "1.0.1"
  }
}

nuxt.config.ts

export default defineNuxtConfig({
  devtools: { enabled: false },
  modules: [
    'nuxt-asciidoc',
    '@nuxt/content'
  ]
})
Chris2011 commented 1 week ago

The path seems weird to me: 'C:\nuxt-asciidoc@1.0.0\node_modules' or is 'C:\nuxt-asciidoc' just your project folder? Can you please add an sample archived project to this ticket here? Also please try to add 1.0.0 to devDependencies instead of 1.0.1.

ninedev-i commented 1 week ago

No, project folder is another: C\web\asciidoc. And yes, I was trying to downgrade to 1.0.0 version, it wasn't successful. Here is an sample project https://github.com/ninedev-i/nuxt-asciidoc-sample