napajs icon indicating copy to clipboard operation
napajs copied to clipboard

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

Open moonofmars opened this issue 7 years ago • 2 comments

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 ?

moonofmars avatar Jul 20 '18 06:07 moonofmars

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?

fs-eire avatar Jul 23 '18 06:07 fs-eire

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

moonofmars avatar Jul 23 '18 07:07 moonofmars