Once i try to run the project after cloning it i get this error message, can anyone help?
See original GitHub issueFATAL Both nuxt and nuxt-edge dependencies are installed! This is unsupported, please choose one and remove the other one from dependencies. 11:43:14
at Object.run (node_modules@nuxt\cli-edge\dist\cli-index.js:3025:11) at Object.<anonymous> (node_modules\nuxt-edge\bin\nuxt.js:4:31) at Module._compile (internal/modules/cjs/loader.js:1138:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1158:10) at Module.load (internal/modules/cjs/loader.js:986:32) at Function.Module._load (internal/modules/cjs/loader.js:879:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @nuxt/content@1.2.0 dev: nuxt example
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @nuxt/content@1.2.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
What’s your nuxt.config.js look like? How are you installing nuxt/content? It’s best to install it via yarn/npm so it’s in your package.json.
@aws95 If you installed
nuxt
locally, you have to deinstall it (npm uninstall nuxt
) cause the library already installednuxt-edge
which is the preview version ofnuxt
.