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

npm run deploy failed #15

Closed
jeehan24 opened this issue Oct 2, 2016 · 6 comments
Closed

npm run deploy failed #15

jeehan24 opened this issue Oct 2, 2016 · 6 comments

Comments

@jeehan24
Copy link

jeehan24 commented Oct 2, 2016

Hi,
This is the first time that I'm creating a setup for an application on this scale and I am confused about some things.
I tried downloading this to make it run but there seems to be an issue. It says "failed at the angular2-express-mongo@1.0.0 deploy script 'concurrent --kill-others "gulp watch" "gulp start".
I updated both npm and node.js to the latest versions.

I would really appreciate any help here. Thanks.

@moizKachwala
Copy link
Owner

can you please use the latest git clone and try installing the same. I think you are using the old name for the project.

Also add the screenshot for the error you are getting.

@jeehan24
Copy link
Author

jeehan24 commented Oct 3, 2016

Hi,

Thanks for responding. I tried copying exactly how you did it on my own
folders. I'm attaching the errors I am getting after running npm install.

I am new at this and would really appreciate your help.

On Sun, Oct 2, 2016 at 9:44 PM, Moiz Kachwala notifications@github.com
wrote:

can you please use the latest git clone and try installing the same. I
think you are using the old name for the project.

Also add the screenshot for the error you are getting.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUQ30uRXF5GObxyB9ln9H6ACWrXqBEa-ks5qv99RgaJpZM4KL_Si
.

@jeehan24
Copy link
Author

jeehan24 commented Oct 3, 2016

Hi again,

I worked on this a little more and this is what I have so far:

When I download and run your folder directly, it gives many semantic
"duplicate identifier" errors but it still builds and deploys without any
problems.
But when I create my own folder trying to use the exact same code as yours,
it gives further errors- I am attaching the screenshot of that. What is
happening is that when I run it using my own folders, the bin file does not
go to dist during building, which means there is a problem in building. The
terminal gave this error:

"gulp-typescript: ts(tsProject) has been deprecated - use
.pipe(tsProject(reporter)) instead"

I don't understand why this issue doesn't exist when I use your setup as it
is.
Been trying to figure this out for a while. Any help will be greatly
appreciated.

On Mon, Oct 3, 2016 at 9:07 PM, Jeehan Malik jeehanmalik24@gmail.com
wrote:

Hi,

Thanks for responding. I tried copying exactly how you did it on my own
folders. I'm attaching the errors I am getting after running npm install.

I am new at this and would really appreciate your help.

On Sun, Oct 2, 2016 at 9:44 PM, Moiz Kachwala notifications@github.com
wrote:

can you please use the latest git clone and try installing the same. I
think you are using the old name for the project.

Also add the screenshot for the error you are getting.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUQ30uRXF5GObxyB9ln9H6ACWrXqBEa-ks5qv99RgaJpZM4KL_Si
.

@thomasmoldovan
Copy link
Contributor

"gulp-typescript: ts(tsProject) has been deprecated - use .pipe(tsProject(reporter)) instead"
Do exactly what it sais: replace "ts(tsProject)" with "tsProject(reporter)" in gulpfile.ts

"duplicate identifier"
You have two variables with the same name, declared probably in 2 different places

My suggestion is to start a new project with this code base, and make sure it works. Then start adding components, modules, models one by one from your main project, making sure everything works after each step. This will give you a deeper understanding of the whole projects structure, it will be easier to debug and will help you a lot in the long run.

@esuarezz
Copy link
Contributor

esuarezz commented Oct 4, 2016

it is for sure double declaration, because i remember i had to delete one
of then, just do it, i dont think , it shall to delete everything and
starting from scratch...

On 4 Oct 2016 03:24, "Thomas Moldovan" notifications@github.com wrote:

"gulp-typescript: ts(tsProject) has been deprecated - use
.pipe(tsProject(reporter)) instead"

Do exactly what it sais: replace "ts(tsProject)" with
"tsProject(reporter)" in gulpfile.ts

"duplicate identifier"
You have two variables with the same name, declared probably in 2
different places

My suggestion is to start a new project with this code base, and make sure
it works. Then start adding components, modules, models one by one from
your main project, making sure everything works after each step. This will
give you a deeper understanding of the whole projects structure, it will be
easier to debug and will help you a lot in the long run.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKU3is71Eub-0G_AdSlH7KKPRiEjXzxTks5qwbjhgaJpZM4KL_Si
.

@moizKachwala
Copy link
Owner

it seems to be the machine/permission specific issue. Please try taking a new clone of repository

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

4 participants