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

Error messages when compiling TypeScript in public folder. #2

Open
hoxmark opened this issue Jan 26, 2016 · 1 comment
Open

Error messages when compiling TypeScript in public folder. #2

hoxmark opened this issue Jan 26, 2016 · 1 comment

Comments

@hoxmark
Copy link
Member

hoxmark commented Jan 26, 2016

Step 5 from README.MD:
When compiling typescript in the public folder we receive the following errors:
controllers/editor.ts(1,61): error TS2307: Cannot find module 'angular2/core'.
controllers/editor.ts(2,55): error TS2307: Cannot find module 'angular2/http'.
controllers/editor.ts(3,48): error TS2307: Cannot find module 'angular2/common'.
controllers/editor.ts(4,32): error TS2307: Cannot find module 'angular2/core'.
controllers/index.ts(1,25): error TS2307: Cannot find module 'angular2/platform/browser'.
controllers/index.ts(3,48): error TS2307: Cannot find module 'angular2/common'.
controllers/index.ts(4,29): error TS2307: Cannot find module 'angular2/http'.

But it is still possible to run the skeleton successfully. We are investigating this issue.

@Wimsen
Copy link
Member

Wimsen commented Jan 26, 2016

Having a separate package.json for both the client and server side of the application removes these errors. This will result in having a node_modules both in the root and in the public directory after running npm install in both directories, this is something we might want to do in the future.

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