-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Once i try to run the project after cloning it i get this error message, can anyone help? #98
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. |
Are you intending to help develop nuxt/content, or are you trying to build a project in nuxt that uses nuxt/content? If it's the former, the devs are the ones who would be able to help you. If it's the latter, you're going about this the wrong way. Apologies if you're not new to this and I'm misreading your issue. To start a nuxt project with all the correct default folders, use the |
my issue is that i wante dto clone this project : https://github.com/nuxt/content and run it, after i installed evrything with npm i ran : "npm run dev" and that error popped up,th eproject that already exists and that i cloned doesn't come with a nuxt.config file and this error keeps popping up :
FATAL Both nuxt and nuxt-edge dependencies are installed! This is unsupported, please choose one and remove the other one from dependencies. 15:53:49 at Object.run (node_modules@nuxt\cli-edge\dist\cli-index.js:3025:11) npm ERR! code ELIFECYCLE |
@aws95 The project you cloned is the source code of the content module, you won't be able to use it this way. As mentioned @thely, you should try to create a Nuxt.js project and install the module following the documentation. Regarding the error you got, the content module uses |
yes i did, i installed everything using npm |
@aws95 If you installed |
Co-authored-by: Renovate Bot <bot@renovateapp.com>
FATAL 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. (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.
The text was updated successfully, but these errors were encountered: