piotrek-k / generator-dotnetcore-angular2-starterkit

Yeoman generator for ASP.net Core Angular 2 TypeScript applications
Other
5 stars 3 forks source link

Doesn't work... #2

Closed rthiney closed 7 years ago

rthiney commented 8 years ago

Can't find module ../../funcions.js

piotrek-k commented 8 years ago

Can you provide more details? When does it happen? In which configuration?

rthiney commented 8 years ago

[image: pasted1]

On Tue, Sep 13, 2016 at 1:48 PM Piotrek notifications@github.com wrote:

Can you provide more details? When does it happen? In which configuration?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-246764647, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkG-sNE3TVXo9eJCUztcHBwBM97FZ3Pks5qpuH2gaJpZM4J7KA9 .

Raphaël Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

nigel-dewar commented 8 years ago

I tried installing the yoman package. Run and got this error message. Is this repo still currently being maintained?

C:_learning>yo dotnetcore-angular2-starterkit module.js:341 throw err; ^

Error: Cannot find module 'gulp-replace-name' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object. (C:\Users\s2980077\AppData\Roaming\npm\node_modules\ge nerator-dotnetcore-angular2-starterkit\generators\app\index.js:6:19) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)

rthiney commented 8 years ago

Had same issue, I installed the missing package, but then another came up..I think piotrek is working to resolve. The package seems like a great starting point!

nigel-dewar commented 8 years ago

Cool thanks for heads up.

Man its hard work trying to find a decent angular 2 asp.net core repo at the moment eh.

Ive spent several hours trying to get setup, following tutorials, trying iut tonnes of repos and only with about 10% success. Its crazy.

This repo does look good. Has everything i want anyway

Sent from Samsung Mobile

-------- Original message -------- From: Raphael Thiney Date:15/09/2016 22:11 (GMT+10:00) To: piotrek-k/generator-dotnetcore-angular2-starterkit Cc: nigel-dewar , Comment Subject: Re: [piotrek-k/generator-dotnetcore-angular2-starterkit] Doesn't work... (#2)

Had same issue, I installed the missing package, but then another came up..I think piotrek is working to resolve. The package seems like a great starting point!

On Thu, Sep 15, 2016 at 8:05 AM nigel-dewar notifications@github.com wrote:

I tried installing the yoman package. Run and got this error message. Is this repo still currently being maintained?

C:_learning>yo dotnetcore-angular2-starterkit module.js:341 throw err; ^

Error: Cannot find module 'gulp-replace-name' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object. (C:\Users\s2980077\AppData\Roaming\npm\node_modules\ge nerator-dotnetcore-angular2-starterkit\generators\app\index.js:6:19) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247309853, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkG-qWzvw0oIax2hUx-VdtJR4Bq609Bks5qqTR9gaJpZM4J7KA9 .

Rapha?l Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247310909, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI94WLK8mh38dttlrIQeyZBii5JLwRiRks5qqTXcgaJpZM4J7KA9.

nigel-dewar commented 8 years ago

I found this one

https://github.com/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/tree/master/src/ASPNETCoreAngular2Demo

[https://avatars1.githubusercontent.com/u/11268349?v=3&s=400]https://github.com/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/tree/master/src/ASPNETCoreAngular2Demo

FabianGosebrink/ASPNET-Core-Angular2-StarterTemplatehttps://github.com/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/tree/master/src/ASPNETCoreAngular2Demo github.com ASPNET-Core-Angular2-StarterTemplate - An Angular2 / ASP.NET Core Starter Template with small Gulp-Tasks

And it works really well. It is really up to date, using Angular RC7, has good structure, Gulp file with watch and compile configs. Give it a shot

Cheers


From: Raphael Thiney notifications@github.com Sent: Friday, 16 September 2016 12:11 a.m. To: piotrek-k/generator-dotnetcore-angular2-starterkit Cc: nigel-dewar; Comment Subject: Re: [piotrek-k/generator-dotnetcore-angular2-starterkit] Doesn't work... (#2)

Had same issue, I installed the missing package, but then another came up..I think piotrek is working to resolve. The package seems like a great starting point!

On Thu, Sep 15, 2016 at 8:05 AM nigel-dewar notifications@github.com wrote:

I tried installing the yoman package. Run and got this error message. Is this repo still currently being maintained?

C:_learning>yo dotnetcore-angular2-starterkit module.js:341 throw err; ^

Error: Cannot find module 'gulp-replace-name' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object. (C:\Users\s2980077\AppData\Roaming\npm\node_modules\ge nerator-dotnetcore-angular2-starterkit\generators\app\index.js:6:19) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247309853, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkG-qWzvw0oIax2hUx-VdtJR4Bq609Bks5qqTR9gaJpZM4J7KA9 .

Raphaël Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247310909, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI94WLK8mh38dttlrIQeyZBii5JLwRiRks5qqTXcgaJpZM4J7KA9.

rthiney commented 8 years ago

https://github.com/chsakell

done.

On Thu, Sep 15, 2016 at 8:17 AM nigel-dewar notifications@github.com wrote:

Cool thanks for heads up.

Man its hard work trying to find a decent angular 2 asp.net core repo at the moment eh.

Ive spent several hours trying to get setup, following tutorials, trying iut tonnes of repos and only with about 10% success. Its crazy.

This repo does look good. Has everything i want anyway

Sent from Samsung Mobile

-------- Original message -------- From: Raphael Thiney Date:15/09/2016 22:11 (GMT+10:00) To: piotrek-k/generator-dotnetcore-angular2-starterkit Cc: nigel-dewar , Comment Subject: Re: [piotrek-k/generator-dotnetcore-angular2-starterkit] Doesn't work... (#2)

Had same issue, I installed the missing package, but then another came up..I think piotrek is working to resolve. The package seems like a great starting point!

On Thu, Sep 15, 2016 at 8:05 AM nigel-dewar notifications@github.com wrote:

I tried installing the yoman package. Run and got this error message. Is this repo still currently being maintained?

C:_learning>yo dotnetcore-angular2-starterkit module.js:341 throw err; ^

Error: Cannot find module 'gulp-replace-name' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object. (C:\Users\s2980077\AppData\Roaming\npm\node_modules\ge nerator-dotnetcore-angular2-starterkit\generators\app\index.js:6:19) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247309853 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ACkG-qWzvw0oIax2hUx-VdtJR4Bq609Bks5qqTR9gaJpZM4J7KA9

.

Rapha?l Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247310909>, or mute the thread< https://github.com/notifications/unsubscribe-auth/AI94WLK8mh38dttlrIQeyZBii5JLwRiRks5qqTXcgaJpZM4J7KA9

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247312067, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkG-ilDAFY0S7i9IYaJRBKxDbrwZLRPks5qqTc8gaJpZM4J7KA9 .

Raphaël Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

nigel-dewar commented 8 years ago

Thank you very much for sharing this with me. :-)

Nige.

Sent from Samsung Mobile

-------- Original message -------- From: Raphael Thiney Date:16/09/2016 00:32 (GMT+10:00) To: piotrek-k/generator-dotnetcore-angular2-starterkit Cc: nigel-dewar , Comment Subject: Re: [piotrek-k/generator-dotnetcore-angular2-starterkit] Doesn't work... (#2)

https://github.com/chsakell

done.

On Thu, Sep 15, 2016 at 8:17 AM nigel-dewar notifications@github.com wrote:

Cool thanks for heads up.

Man its hard work trying to find a decent angular 2 asp.net core repo at the moment eh.

Ive spent several hours trying to get setup, following tutorials, trying iut tonnes of repos and only with about 10% success. Its crazy.

This repo does look good. Has everything i want anyway

Sent from Samsung Mobile

-------- Original message -------- From: Raphael Thiney Date:15/09/2016 22:11 (GMT+10:00) To: piotrek-k/generator-dotnetcore-angular2-starterkit Cc: nigel-dewar , Comment Subject: Re: [piotrek-k/generator-dotnetcore-angular2-starterkit] Doesn't work... (#2)

Had same issue, I installed the missing package, but then another came up..I think piotrek is working to resolve. The package seems like a great starting point!

On Thu, Sep 15, 2016 at 8:05 AM nigel-dewar notifications@github.com wrote:

I tried installing the yoman package. Run and got this error message. Is this repo still currently being maintained?

C:_learning>yo dotnetcore-angular2-starterkit module.js:341 throw err; ^

Error: Cannot find module 'gulp-replace-name' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object. (C:\Users\s2980077\AppData\Roaming\npm\node_modules\ge nerator-dotnetcore-angular2-starterkit\generators\app\index.js:6:19) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247309853 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ACkG-qWzvw0oIax2hUx-VdtJR4Bq609Bks5qqTR9gaJpZM4J7KA9

.

Rapha?l Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247310909>, or mute the thread< https://github.com/notifications/unsubscribe-auth/AI94WLK8mh38dttlrIQeyZBii5JLwRiRks5qqTXcgaJpZM4J7KA9

.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247312067, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkG-ilDAFY0S7i9IYaJRBKxDbrwZLRPks5qqTc8gaJpZM4J7KA9 .

Rapha?l Thiney Senior Consultant Information Technology

Work: (202) 333-1122 Mobile: (646) 512-1378 Email: raphael.thiney@gmail.com https://www.linkedin.com/in/raphaelthiney

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/piotrek-k/generator-dotnetcore-angular2-starterkit/issues/2#issuecomment-247345584, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI94WMM7JqT0xiwxXjvBXCgncHzr2hacks5qqVcEgaJpZM4J7KA9.

piotrek-k commented 7 years ago

@rthiney @nigel-dewar I think issue is fixed. Sorry that it took so long, I've had very busy week. Indeed, for some reason, "functions.js" wasn't copied to npm package and that's why it worked on my computer but not on yours. As I see, it is present now, so try to update my package on your computers to version 1.1.2 or higher and check if it works now. I hope my package will be useful for you ;)

PS: you can close this issue, if my update fixed your problems

piotrek-k commented 7 years ago

BTW, @rthiney @nigel-dewar could you, please, delete those huge quotes from your messages? It's hard find all errors that you've encountered, while there is so much text here :smile: