Coder Social home page Coder Social logo

vendure-favorites-plugin's People

Contributors

dependabot[bot] avatar draykee avatar drewterry avatar jonyw4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vendure-favorites-plugin's Issues

Admin UI, Angular compilation error with Vendure 1.1.3

Type 'FavoritesListComponent' is missing the following properties from type 'CustomFieldControl': readonly, config

If I add the following properties on FavoritesListComponent, it compiles

readonly = false;
config: CustomFieldConfigType;

admin ui compillation error The given rootPath undefined is not a file of the program

hi,

i tried to add your plugin to my project, but the admin ui part throws error:

AdminUiPlugin.init({
    route: process.env.ADMINURI || 'admin',
    port: 3002,
    app: compileUiExtensions({
        outputPath: './dist/admin',
        devMode: !process.env.NODE_ENV || process.env.NODE_ENV !== 'production',
        extensions: [
            FavoritesPlugin.uiExtensions,
        ]
    }),
}),

Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling ngx-translate-messageformat-compiler : es2015 as esm2015
Error: Error on worker #2: Error: The given rootPath undefined is not a file of the program.
    at getRootFileOrFail (/home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/host/esm2015_host.js:2372:19)
    at Esm2015ReflectionHost.computePublicDtsDeclarationMap (/home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/host/esm2015_host.js:1690:27)
    at Esm2015ReflectionHost.getDtsDeclaration (/home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/host/esm2015_host.js:441:53)
    at DelegatingReflectionHost.getDtsDeclaration (/home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/host/delegating_host.js:62:34)
    at Object.wrapTypeReference (/home/james/www/commercevend/node_modules/@angular/compiler-cli/src/ngtsc/annotations/src/util.js:522:34)
    at extractInjectableMetadata (/home/james/www/commercevend/node_modules/@angular/compiler-cli/src/ngtsc/annotations/src/injectable.js:128:27)
    at InjectableDecoratorHandler.analyze (/home/james/www/commercevend/node_modules/@angular/compiler-cli/src/ngtsc/annotations/src/injectable.js:67:24)
    at NgccTraitCompiler.TraitCompiler.analyzeTrait (/home/james/www/commercevend/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:361:40)
    at analyze (/home/james/www/commercevend/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:312:58)
    at _loop_1 (/home/james/www/commercevend/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:334:21)
    at ClusterMaster.onWorkerMessage (/home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:195:27)
    at /home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:55:95
    at ClusterMaster.<anonymous> (/home/james/www/commercevend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:293:57)
    at step (/home/james/www/commercevend/node_modules/tslib/tslib.js:143:27)
    at Object.next (/home/james/www/commercevend/node_modules/tslib/tslib.js:124:57)
    at /home/james/www/commercevend/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)

what did i missed?

Bug

hi, the problem i am facing
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.