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

Deploying #2

Closed
pkkr opened this issue May 5, 2017 · 3 comments
Closed

Deploying #2

pkkr opened this issue May 5, 2017 · 3 comments

Comments

@pkkr
Copy link

pkkr commented May 5, 2017

Hey there, thanks for your blog posts. I wanted to try out your project but havin some trouble to set it up.
I keep getting errors that node --debug is deprecated and your Dockerfile ist missing the project.json file.. apparently this file is depereacted too...
Can you please tell what to do with the current .net Core and Node Version ?

@Maarten88
Copy link
Owner

I think the dockerfile came with an early version of the JavascriptServices template project; I did not use and maintain it; sorry. I deploy using Yams myself and know very little about docker.

In general, project.json was replaced by respective .csproj files in each project. The node --debug is started that way by aspnet javascriptservices, if you'd change https://github.com/Maarten88/rrod/blob/master/src/Webapp/Program.cs#L253-L254 then the warning would probably go away (but you'd also be unable to debug serverside javascript).

The Javascript services templates have removed the dockerfile, but there is an discussion about it here.
There is another discussion about using docker with orleans here, maybe those can help you.

@pkkr
Copy link
Author

pkkr commented Jun 17, 2017

Sorry for my late reply and thaks for your response.
I still cant get your example to run. Which Version of .NET Core did u use ?

These are the errors i get:
fehler1

and in the Browser
fehler2

any idea ?

@Maarten88
Copy link
Owner

Disable nodejs debugging and try again. This JavascriptServices feature is broken with new nodejs versions and it seems this won't be fixed for dotnet core 1.x (aspnet/JavaScriptServices#995)

There are also 3 typescript compiler errors. To see them, run 'webpack' in the Webapp folder. Maybe those are fixed in this update from today.

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