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

The directory ...contents/contents doesn't exist #5

Open
asmod3us opened this issue Aug 16, 2014 · 2 comments
Open

The directory ...contents/contents doesn't exist #5

asmod3us opened this issue Aug 16, 2014 · 2 comments

Comments

@asmod3us
Copy link

Getting this error when attempting to run the example with wintersmith-nap as a package.json dependency:

wintersmith preview  --port 9080
error Error loading plugin 'wintersmith-nap': The directory /LOCATION/example/contents/contents doesn't exist

My config looks like this:

{
  "plugins": [
      "wintersmith-nap"
  ],
  "nap": {
    "assets": {
      "css": {
        "main": ["/css/*"]
      },
      "js": {
        "main": ["/js/*"]
      }
    }
  }
}
@asmod3us
Copy link
Author

Seems the confusion is in the path handling with nap. My fix, tested in preview and production.

@lmmarsano
Copy link

👍
I ran into the same issue.
This fixes most of it.

dumbmatter added a commit to dumbmatter/wintersmith-nap that referenced this issue Sep 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants