K
K
Konstantin2019-11-09 14:03:07
Vue.js
Konstantin, 2019-11-09 14:03:07

How to run a project from gitub?

How to start a project from github?
1) I downloaded the project for vue js
2) I created a clean project (using vue cli I installed a clean assembly of vue js)
3) I uploaded the downloaded files from github with a replacement
4) I tried to run the project with the npm run serve command, but an error occurs
5) Then I looked in package.json commands to run:

"dev": "cross-env NODE_ENV=development webpack-dev-server --open --inline --hot",
    "build": "cross-env NODE_ENV=production webpack --progress --hide-modules"

But I didn’t understand how to start the project anyway . By the
way, I made an error, I managed to translate, but my understanding didn’t increase:
No configuration file found and no entry configured via CLI option.
When using the CLI you need to provide at least two arguments: entry and output.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-11-09
@deepblack

spoiler
Создал чистый проект (при помощи vue cli установил чистую сборку vue js)
3) Залил с заменой скаченные файлы с гитхаба

Зачем?!

npm run build

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question