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

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 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

2 participants