Skip to content

can't run the project #8

Description

@doron-mil

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\core@5.x.x not installed.
@angular\common@5.x.x not installed.
@angular\compiler@5.x.x not installed.
@angular\compiler-cli@5.x.x not installed.
typescript@2.x.x 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 ?

Activity

  1. doron-mil commented on Feb 20, 2018

    @doron-mil
    Author

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

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

  2. hongan126 commented on Feb 21, 2018

    @hongan126

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions