Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

reflect-metadata is missing in package #239

Description

@shivakb

When i start build the application the error is throwing

ERROR in ./ClientApp/boot-client.ts
Module not found: Error: Cannot resolve module 'reflect-metadata' in /Users/Andrew/Projects/myYoApp/ClientApp
@ ./ClientApp/boot-client.ts 4:0-27

Activity

  1. MarkPieszak commented on Aug 3, 2016

    @MarkPieszak
    Contributor

    Is reflect-metadata in your node_modules? You might want to try deleting that folder, and reinstalling npm i

  2. ronnyek commented on Aug 8, 2016

    @ronnyek

    I've noticed that this happens.. and it is as easy as manually installing. Even though I added reflect metadata to my package.json, when doing things like building docker containers, it fails to install reflect-metadata correctly for whatever reason. (I'm no NPM guru, just that I've encountered this, and have had problems at least with the angular2 template not successfully AUTOMATICALLY installing reflect-metadata)

  3. nklt commented on Aug 8, 2016

    @nklt

    is there a fix or a work around for this issue?

  4. ronnyek commented on Aug 9, 2016

    @ronnyek

    I think npm i reflect-metadata should be fine, but I don't know how to actually fix it for my problems regarding docker

  5. ronnyek commented on Aug 10, 2016

    @ronnyek

    Any ideas on this one? Its starting to become a problem. I'd like to build a prototype of an idea I've got, but cant seem to get templates generated for angular2 spa to be able to run inside of a container because of runtime javascript problem with the location of reflect-metadata.

  6. ronnyek commented on Aug 11, 2016

    @ronnyek

    FYI I just installed latest node/npm, installed generators and ran generator from scratch for new angular2 spa, and it worked without a hitch, even in building my docker containers... maybe its a npm version >3 thing

  7. SteveSandersonMS commented on Aug 16, 2016

    @SteveSandersonMS
    Member

    Yep, I just remembered we already knew about this (see #82) :)

    Sorry I didn't remember that earlier - could have saved you some trouble...

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions