Giter Site home page Giter Site logo

grails3-angular2's People

Contributors

craigburke avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grails3-angular2's Issues

what would be the best approach with npm but without bower?

hi,

just a question - so feel free to close at any time.

when using just npm but not bower what do you think is the best approach handling the node_modules directory? i do not think just putting it in grails-app/assets does the trick because there are many dependencies which are for development only. not to mention the angular2 worker.dev seems to make assetCompile hang completely.

so for now, i ended up putting node_modules into my project root and gitignored it. then after a npm install (following the angular 5min getting started guide), i manually copied

  • node_modules/systemjs
  • node_modules/angular2/bundles (excluding web_worker)

into grails-app/assets.

seems to work happy together with your typescript-asset-pipeline plugin (with is awesome btw.).

do you see anything that is plain wrong here or that could be simplified? maybe sth. with the gradle nodejs plugin that automatically copies the mentioned files into grails-app/assets on npmInstall?

would be great to hear/read your feedback/opinion on this.

thank you! zyro

Getting error in assetCompile

Hi I get the following error:

:assetCompile
Processing File 1 of 103 - angular2-build/angular2.dev.js
:assetCompile FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':assetCompile'.

Cannot cast object '[Digest Input Stream] MD5 Message Digest from SUN,
' with class 'java.security.DigestInputStream' to class 'java.io.ByteArrayInputStream'

I am using Grails 3.2.2, Asset-pipeline 2.11.6. Tried several other pipeline version but all failed.
Seems the is file missing in angular2-build, but i can't really find the problem.

Having Problem while refreshing dependencies

Hi,

I am using a Windows 7 and Grails 3.0.9.

I have cloned your repository via github and am having issues when i try to refresh the dependencies.

whenever i issue the command ./gradlew build --refresh-dependencies --info on the gitbash console.

C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\node_modules\bower\lib\node_modules\q\q.js:155 throw e; ^ Error: ENOENT, no such file or directory 'C:\Apoorv\Grails_Projects\grails3-angular2\C:\Apoorv\Grails_Projects\grails3-angular2\bower_components\es6-module-loader\dist\es6-module-loader.js' at Object.fs.lstatSync (fs.js:671:18) at installFile (C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\lib\installer.js:89:10) at C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\lib\installer.js:189:7 at C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\node_modules\async\dist\async.js:3025:16 at eachOfArrayLike (C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\node_modules\async\dist\async.js:941:9) at eachOf (C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\node_modules\async\dist\async.js:991:5) at Object.eachLimit (C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\node_modules\async\dist\async.js:3089:3) at Object.installDependency (C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\lib\installer.js:182:9) at C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\bower-installer.js:155:25 at C:\Apoorv\Grails_Projects\grails3-angular2\node_modules\bower-installer\node_modules\async\dist\async.js:3025:16 :bowerInstall FAILED :bowerInstall (Thread[main,5,main]) completed. Took 1.821 secs.

I noticed in the above that it is trying to locate a file but is not able to locate it. This is because the directory it is searching for is incorrect shown below.

Error: ENOENT, no such file or directory 'C:\Apoorv\Grails_Projects\grails3-angular2\C:\Apoorv\Grails_Projects\grails3-angular2\bower_components\es6-module-loader\dist\es6-module-loader.js'

The correct directory should be Error: ENOENT, no such file or directory 'C:\Apoorv\Grails_Projects\grails3-angular2\bower_components\es6-module-loader\dist\es6-module-loader.js'

I am not sure if this would solve my problem but atleast it should check in the correct directories .....
Your help is appreciated

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.