-
Notifications
You must be signed in to change notification settings - Fork 827
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
SyntaxError: Invalid regular expression: /\/: \ at end of pattern #523
Comments
@kevlangdo sorry to hear that you're experiencing this issue. I can't currently reproduce the issue on my end, but will look further into the issue. cc: @DrBoolean @aputinski |
+1 |
Trying to install into Windows 10 Home 64bit. To get the install to work I had to change the version number in package.js to 4.7.2 then the install completed. I install the package as a clone so I think that is latest version, and reinstalled node.js to latest version. Thanks for any help C:\design-system>npm run previewer
Start compiling JS library for Previewer... SyntaxError: Invalid regular expression: //: \ at end of pattern npm ERR! A complete log of this run can be found in: |
That was the node-sass package number that was incorrect. |
+1 |
This bug has been resolved with a990048 Thank you again for bringing this to our attention. |
I have node 9.1.0, npm 5.1.1 installed
output from Powershell on Windows 10
SyntaxError: Invalid regular expression: //: \ at end of pattern
at new RegExp ()
at chunked (C:/Users/klanguedoc/nodedev/design-system/scripts/compile/bundle.js:32:42)
at entryMap.map (C:/Users/klanguedoc/nodedev/design-system/scripts/compile/bundle.js:46:35)
at C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:3018:46
at C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:1379:16
at ArrayMapNode.iterate.HashCollisionNode.iterate [as iterate] (C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:1728:11)
at Map.__iterate (C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:1377:32)
at KeyedIterable.mappedSequence.__iterateUncached (C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:3017:23)
at seqIterate (C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:606:16)
at KeyedIterable.Seq.__iterate (C:\Users\klanguedoc\nodedev\design-system\node_modules\immutable\dist\immutable.js:276:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] previewer:
babel-node scripts/previewer
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] previewer script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\klanguedoc\AppData\Roaming\npm-cache_logs\2017-12-14T14_39_20_960Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:
npm run build && npm run previewer
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\klanguedoc\AppData\Roaming\npm-cache_logs\2017-12-14T14_39_21_012Z-debug.log
SLDS Error Log 2017-11-16T19_07_07_616Z-debug.log
The text was updated successfully, but these errors were encountered: