Local install Error on first run
iLord-DEV opened this issue ยท 2 comments
iLord-DEV commented
Hi there, I just got following Error after npm install
on my local machine (OSX12.01):
This dependency was not found:
* @/config/app.config in ./src/router.js, ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TheFooter.vue?vue&type=script&lang=js& and 4 others
To install it, you can run: npm install --save @/config/app.config
Tried on node 10 & 14. When I run the suggested command to install the missing dependency, I got this message:
error code ENOLOCAL
error Could not install from "@/config/app.config" as it does not contain a package.json file.
Do you have any suggestions?
Thank you! Chris
KarelVendla commented
Did you clone & then tried to npm install
?
Can you upload a screenshot of your config folder?
E:
In your config folder you should have app.config.example.js file.
Rename it to app.config.js and it should do the trick.
iLord-DEV commented
My Bad! I didn't edit the example-files ๐
However, perhaps a good thing to mention it in the readme?
Thank you!!!!