Skip to content
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

Error while building the project #210

Closed
valexiev opened this issue Apr 6, 2017 · 6 comments
Closed

Error while building the project #210

valexiev opened this issue Apr 6, 2017 · 6 comments

Comments

@valexiev
Copy link
Contributor

valexiev commented Apr 6, 2017

When i try to build the project with npm run build, i get an error:

ENOENT: no such file or directory, open '/Users/jckmlkshng/playground/bootstrap-vue/dist/bootstrap-vue.css'

How to build it?

@pi0
Copy link
Member

pi0 commented Apr 6, 2017

@valexiev Please ensure dist directory exists in root of project and create one if not exists

@valexiev
Copy link
Contributor Author

valexiev commented Apr 6, 2017

Thanks!
It would be nice if it is written in the docs : )

@pi0
Copy link
Member

pi0 commented Apr 6, 2017

Yes I'll

@GregPeden
Copy link
Contributor

Probably 'build' should create the folder when it does not exist.

@pi0
Copy link
Member

pi0 commented Apr 7, 2017

@SirLamer Yes, the problem is rollup was doing this with programming usage but it is not doing this with default commands and we need to create that manually...

@pi0 pi0 closed this as completed in f201e29 Apr 7, 2017
@Mark-L6n
Copy link

Mark-L6n commented Apr 30, 2017

I added a dist subdirectory, but now get another error:
npm WARN enoent ENOENT: no such file or directory, open 'path/to/first-test-app/package.json'
Additionally, there is:

npm WARN first-test-app No description
npm WARN first-test-app No repository field.
npm WARN first-test-app No README data
npm WARN first-test-app No license field.

Creating package.json just results in:

npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1

--Edit: found solution--
package.json is missing; this can be created with the npm init command. The next 4 errors were just warnings about empty fields in the package.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants