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

Windows test compile resolution errors #55

Closed
wallw-teal opened this issue Jan 27, 2020 · 1 comment · Fixed by #60
Closed

Windows test compile resolution errors #55

wallw-teal opened this issue Jan 27, 2020 · 1 comment · Fixed by #60
Assignees
Labels

Comments

@wallw-teal
Copy link
Contributor

wallw-teal commented Jan 27, 2020

> [email protected] compile:resolve C:\...\opensphere-yarn-workspace\workspace\opensphere
> os-resolve --outputDir .build --defineRoots $(cat .build/version) "--exclude" "resources" "scss"
C:\...\opensphere-yarn-workspace\node_modules\opensphere-build-resolver\plugins.js:22
    return new RegExp(pattern);
           ^
SyntaxError: Invalid regular expression: /\(plugins\|opensphere-build-resolver-)resources\/: Unmatched ')'
    at new RegExp (<anonymous>)
    at pluginToRegex (C:\...\opensphere-yarn-workspace\node_modules\opensphere-build-resolver\plugins.js:22:12)
    at Array.map (<anonymous>)
    at Object.load (C:\...\opensphere-yarn-workspace\node_modules\opensphere-build-resolver\plugins.js:26:34)
    at Object.<anonymous> (C:\...\opensphere-yarn-workspace\node_modules\opensphere-build-resolver\resolve.js:32:27)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
    at internal/main/run_main_module.js:17:11

From running yarn test in opensphere.

Node: 12.13.0, npm: 6.12.0, yarn: 1.19.1

@wallw-teal wallw-teal self-assigned this Feb 11, 2020
wallw-teal added a commit to wallw-teal/opensphere-build-resolver that referenced this issue Feb 12, 2020
path.sep is not a valid regex when on win32 (single "\")

resolves ngageoint#55
wallw-teal pushed a commit that referenced this issue Feb 13, 2020
## [7.0.3](v7.0.2...v7.0.3) (2020-02-13)

### Bug Fixes

* **plugins:** use character class for path separators ([87eaab6](87eaab6)), closes [#55](#55)
@wallw-teal
Copy link
Contributor Author

🎉 This issue has been resolved in version 7.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant