Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building a sample project created with generator-assemble hangs #52

Closed
evil-shrike opened this issue Aug 11, 2014 · 2 comments
Closed
Labels

Comments

@evil-shrike
Copy link

  • install generator-assemble globally: 'npm install generator-assemble -g'
  • run the generator to create a sample project: 'yo generator-assemble'
  • choose all available plugins in generator's prompt
  • after generator finishes run build: 'grunt'
  • build hangs

Actually build hangs on 'assemble-contrib-anchors' plugin. If we remove it then build succeded.

node 0.10.26
Windows 7 x64

@doowb
Copy link
Member

doowb commented Aug 11, 2014

Sounds like this is an issue from when we were trying to upgrade plugins/middleware to a newer version of assemble that wasn't released yet.

Try changing the version in the package.json from assemble-contrib-anchors: '*' to assemble-contrib-anchors: '~0.1.0' and re-run npm i. You might have to clear your cache npm cache clear first.

@IanMercer
Copy link

Removing all the contrib versions and replacing them with the middleware versions appears to work:

    "assemble-middleware-anchors": "^0.2.4",
    "assemble-middleware-permalinks": "^0.5.2",
    "assemble-middleware-sitemap": "^0.2.5",
    "assemble-middleware-toc": "^0.2.3",

hariadi added a commit that referenced this issue Oct 29, 2014
Change assemble modules from contrib to middleware (Assemble 0.5.x). Fixes #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants