Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

There's no ./lib/index.js. #253

Open
moonofmars opened this issue Jul 20, 2018 · 2 comments
Open

There's no ./lib/index.js. #253

moonofmars opened this issue Jul 20, 2018 · 2 comments

Comments

@moonofmars
Copy link

I downloaded all repo and rebuilt.

When I plan to require('napajs'), I found there's no index.js in root folder or lib folder.

How can I user 'napajs' in local ?

@fs-eire
Copy link
Contributor

fs-eire commented Jul 23, 2018

by default npm install calls tsc to compile .ts files into .js file. npm run rebuild also does the same thing.

If you run the command and file lib/index.js still didn't present, there should be error occurred. If it is this case, could you please paste the error message?

@moonofmars
Copy link
Author

@fs-eire
Great thanks.
It worked by following your instruction.

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

No branches or pull requests

2 participants