jvandemo / generator-angular2-library

Yeoman generator to create an Angular library
MIT License
752 stars 122 forks source link

Error in rollup:fesm #226

Closed ArielGueta closed 7 years ago

ArielGueta commented 7 years ago

Hey, Thanks for the library. I want to use it, but I have a problem. After setting up a new project with jest and running npm run build I get this error:

[18:58:38] Starting 'rollup:fesm'...
(node:28076) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: options.entry must be a string or array of strings!
(node:28076) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process witha non-zero exit code.
(node:28076) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)

events.js:182
      throw er; // Unhandled 'error' event
      ^
Error: options.entry must be a string or array of strings!

I am using node v8 if it helps. Thanks.

ArielGueta commented 7 years ago

With node v6.11.3 it worked fine.

ArielGueta commented 7 years ago

I can confirm it's happening in node v8.

IckleChris commented 7 years ago

Are you testing with a clean installation of the generator, or one you have made changes to?

A clean install selecting Jest builds fine for me on Node v8.8.1

ArielGueta commented 7 years ago

OK, I will close the issue for now.