question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module 'core-js/modules/es6.regexp.to-string'

See original GitHub issue

I ran this example on my computer and I got this error:

ERROR in ./src/App.js Module build failed (from ./node_modules/linaria/loader.js): Error: Cannot find module 'core-js/modules/es6.regexp.to-string' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:613:15) at Function.Module._load (internal/modules/cjs/loader.js:539:25) at Module.require (internal/modules/cjs/loader.js:667:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/Users/egortrubnikov-panov/Downloads/linaria-demo 2/node_modules/linaria/lib/loader.js:3:1) at Module._compile (internal/modules/cjs/loader.js:738:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10) at Module.load (internal/modules/cjs/loader.js:630:32) at tryModuleLoad (internal/modules/cjs/loader.js:570:12) at Function.Module._load (internal/modules/cjs/loader.js:562:3)

how can I fix this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:18
  • Comments:22 (7 by maintainers)

github_iconTop GitHub Comments

9reactions
lu-zencommented, Sep 15, 2019

Core-js 2 is deprecated. There are projects that could depend on core-js latest version features. Any plans to drop v2 on linaria?

7reactions
Hotellcommented, Nov 14, 2019

@hemlok

@Hotell did you find a solution for this on the alpha?

nope. we had to ditch linaria completely. there is no/lack of activity from maintainers (I don’t blame them, it’s OSS) and relying on unfinished software for business critical features is a no go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RegExp.prototype.toString() - JavaScript - MDN Web Docs
A string representing the given object. Description. The RegExp object overrides the toString() method of the Object object; it does not ...
Read more >
Node.js Why does RegExp() throw error with \? [duplicate]
I am using Node.js with mongoose for my backend. For a couple end points, I need to find items with matching item_categories and...
Read more >
re — Regular expression operations — Python 3.11.1 ...
This module provides regular expression matching operations similar to those found in Perl. Both patterns and strings to be searched can be Unicode...
Read more >
path-to-regexp - npm
It accepts the following arguments: path A string, array of strings, or a regular expression. keys (optional) An array to populate with keys ......
Read more >
regexp - Go Packages
For 'String' versions an empty string means either no match or an empty match. ... func Compile(expr string) (*Regexp, error); func CompilePOSIX(expr ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found