GithubHelp home page GithubHelp logo

script-element's Introduction

Steps to repro

  • polymer init
  • choose element
  • project name doesn't matter
  • polymer build: works
  • bower install --save srijken/script-element
  • import script-element from main app element
  • polymer build results in:
    info:    Preparing build...
    info:    Building application...
    info:    Generating build/unbundled...
    info:    Generating build/bundled...
    error:   Promise rejection: Error: file path is not in root: C:\Sources\Projects\bower_components\script-element\hello-world.js (C:\Sources\Projects\tmp2)
    error:   Error: file path is not in root: C:\Sources\Projects\bower_components\script-element\hello-world.js (C:\Sources\Projects\tmp2)
        at Object.urlFromPath (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\polymer-build\lib\path-transformers.js:41:15)
        at StreamAnalyzer.getFile (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\polymer-build\lib\analyzer.js:107:39)
        at StreamResolver.accept (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\polymer-build\lib\analyzer.js:210:34)
        at FileLoader.request (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\hydrolysis\lib\loader\file-loader.js:64:27)
        at Object.<anonymous> (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\vulcanize\lib\vulcan.js:318:26)
        at Array.map (native)
        at Object.inlineScripts (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\vulcanize\lib\vulcan.js:311:34)
        at Object.<anonymous> (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\vulcanize\lib\vulcan.js:458:21)
        at run (C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\core-js\modules\es6.promise.js:87:22)
        at C:\Users\s.rijken\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\core-js\modules\es6.promise.js:100:28
        
        ```

script-element's People

Contributors

srijken avatar

Watchers

James Cloos avatar  avatar

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.