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

Deal with scoped packages for themes #514

Closed
chrisopedia opened this Issue Oct 6, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@chrisopedia

chrisopedia commented Oct 6, 2017

It seems that when you create a theme that is scoped (ie @chrisopedia/sassdoc-theme-blah), sassdoc doesn't seem to find it. Is there a work around?

@pascalduez

This comment has been minimized.

Member

pascalduez commented Oct 7, 2017

Hi @chrisopedia,

if your's willing to test the branch from #515, would be interesting.

@chrisopedia

This comment has been minimized.

chrisopedia commented Oct 13, 2017

@pascalduez I tried this in my source files package, ran it and I get the following error:

module.js:472
    throw err;
    ^

Error: Cannot find module './dist/sassdoc'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/project/styles/node_modules/sassdoc/index.js:3:15)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
@pascalduez

This comment has been minimized.

Member

pascalduez commented Oct 22, 2017

sassdoc@2.4.0

@pascalduez pascalduez closed this Oct 22, 2017

@chrisopedia

This comment has been minimized.

chrisopedia commented Oct 23, 2017

Thanks @pascalduez. Is there any new setup? It still doesn't seem to find my theme.

@chrisopedia

This comment has been minimized.

chrisopedia commented Oct 23, 2017

I think I figured it out. It needs to be set with the scope in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment