Installation problem

hello i’m not to framework but i have issues installing my framework7 i got stuck at stage 5 in the kitchen sink… please i need help

Paste your error log here from the command console

when i try doing this

               $ npm run core:prod

i get this from my cmd


We are ready to launch Core Kitchen Sink, just execute in terminal:


Your environment has been set up for using Node.js 10.7.0 (x64) and npm. C:\Users\funto>npm run core:prod npm ERR! path C:\Users\funto\package.json npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open ‘C:\Users\funto\package.json’ npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\funto\AppData\Roaming\npm-cache_logs\2019-01-13T19_41_19_339Z-debug.log

               $ npm run core:prod

Before running the command npm run core:prod, you should be in the project folder.

cd 'project folder patch'
npm run core:prod

i did so "

C:\xampp\htdocs> npm run core:prod npm ERR! path C:\xampp\htdocs\package.json npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open ‘C:\xampp\htdocs\package.json’ npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\funto\AppData\Roaming\npm-cache_logs\2019-01-13T19_55_03_885Z-debug.log

"

Does package.json file in your project folder?

yes it is “package-lock.json”

package-lock.json and package.json it a difrent file.

download this and extract ALL files

and dont use beta version

do you have Email please i would like to keep touch with you just in case i have more problems

will i have to rename the extracted folder?

I do not communicate by Email, write on this forum, not only can I help here

and you do not need xampp server to run

You can rename as you like, dont forgeret run first cd 'framework7 project folder patch'

new problem

[email protected] core:prod C:\xampp\htdocs\firstmob > cross-env-shell NODE_ENV=production “gulp ks-core && gulp server-core” ‘cross-env-shell’ is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] core:prod: cross-env-shell NODE_ENV=production "gulp ks-core && gulp server-core" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] core:prod script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\funto\AppData\Roaming\npm-cache_logs\2019-01-13T20_27_00_855Z-debug.log

cd 'framework7 project folder patch'
npm install
npm run core:prod

doing that already thanks

whats next now?

C:\xampp\htdocs\firstmob>npm run core:prod

[email protected] core:prod C:\xampp\htdocs\firstmob
cross-env-shell NODE_ENV=production “gulp ks-core && gulp server-core”

its working now… it showed me kitchen sink already. is there anything ill need to know ? will i still have to install anything again? ?

Read docs, tutorials and wath youtube lesons :wink:

I recommend running in developer mode npm run core:dev when you write the code, with the final publication npm run core:prod

No need to install anymore

Thanks so much… youve helped me so much.

is there a way i can stop it when i’m not using it?.. or there isnt a off button?..

On command line press ctrl + C

1 Like