eugeneware / eugeneware/decomponentify

failed to resolve entry point of component?

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
70
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi, I have a browserify project and I'm attempting to pull in some component components for the first time. So, I added a `component.json` file like so,

``` js
{ "name":"my-project"}
```

then i ran `component install component/menu` and that was successful. Next up, I attempted `component build -o dist/component -n index`. Unfortunately, I receive an error:

```
Error: failed to resolve the entry point of component "my-project". please either have .scripts or a single .locals in your main component.
```

At this point, I'm a bit confused. My entry point is already specified via browserify and it's unclear to me what my component entry point would be. Any pointers would be very appreciated. Thanks!

```
$ component --version
1.0.2
$ ./node_modules/.bin/browserify --version
6.3.4
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.