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

can't run the project #8

Open
doron-mil opened this issue Feb 19, 2018 · 2 comments
Open

can't run the project #8

doron-mil opened this issue Feb 19, 2018 · 2 comments

Comments

@doron-mil
Copy link

doron-mil commented Feb 19, 2018

tried to clone the project, than npm install and then meteor in the api dir.

I'm getting :

WARNING: npm peer requirements (for angular-typescript-compiler) not installed:
@angular\[email protected] not installed.
@angular\[email protected] not installed.
@angular\[email protected] not installed.
@angular\[email protected] not installed.
[email protected] not installed.

and then errors like :

W20180219-17:12:09.856(2)? (STDERR) I:\MeteorProjects\angularcli-meteor-02\api.meteor\local\build\programs\server\boot.js:467
W20180219-17:12:09.861(2)? (STDERR) }).run();
W20180219-17:12:09.861(2)? (STDERR) ^
W20180219-17:12:09.862(2)? (STDERR)
W20180219-17:12:09.862(2)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules
W20180219-17:12:09.863(2)? (STDERR) directory. Please run the following command to install it:
W20180219-17:12:09.863(2)? (STDERR)
W20180219-17:12:09.864(2)? (STDERR) meteor npm install --save babel-runtime

Also :Unable to resolve some modules:

"meteor-rxjs" in /I/MeteorProjects/angularcli-meteor-02/api/server/collections/chats.js (os.windows.x86_64)
"moment" in /I/MeteorProjects/angularcli-meteor-02/api/server/main.js (os.windows.x86_64)

Any suggestions ?

@doron-mil
Copy link
Author

Tried again a lot of combinations.
The only one I managed to work good is:

Urigo/angular-meteor => angular-meteor/examples/MeteorCLI/bare/

@hongan126
Copy link

hongan126 commented Feb 21, 2018

I build this project on local. It worked. But I can't deploy it. 1 server for api, 1 for client (angularcli).

Are you use Windows? Because Window not support Symbolic Link like MacOS or Linux.

'node_modules' folder in './api' is a Symbolic Link.
'./api'(meteor) and angularcli use only one 'node_module' folder. So we need Symbolic Link.

You can download 'Link Shell Extension' to make a Symbolic Link http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html

If you don't want use Symbolic Link, you can run 'npm install' in './api'. Don't forget check package.json.

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