-
Notifications
You must be signed in to change notification settings - Fork 20
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
Getting started #412
Getting started #412
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -43,9 +43,6 @@ async function readMosaicConfig(mosaicConfigPath) { | |||
await init({ silent: true }); | |||
} | |||
try { | |||
const nodeModulesPathRegexp = /(.*\/node_modules\/)/; | |||
const nodeModulesPathMatches = __filename.match(nodeModulesPathRegexp); | |||
process.env.NODE_PATH = `${process.env.NODE_PATH}${path.delimiter}${nodeModulesPathMatches[1]}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why we are doing this...can you shed any light?
It breaks the site generator on windows and removing seems to get everything working on mac and windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I quickly tried commenting these line in npx install location, it will not be able to find mosaicConfig
Pull Request Test Coverage Report for Build 5543134504
💛 - Coveralls |
0dcb60b
to
4dca698
Compare
Updates to ensure site generator works and is windows compatible