Replies: 1 comment 3 replies
-
Not sure what to tell you, we don't have a package-lock.json in the project. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
I tried to follow the steps in the Contributing.md Document. But on Step 3, while trying to install all the packages through Yarn, i seem to be getting the below error. Not sure if this is version specific issue or I am doing something wrong.
Error Message:
yarn install v1.22.10
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
$ yarn build && node ./scripts/prepare.js
yarn run v1.22.10
$ bic
SyntaxError: Invalid regular expression: /^(?:D:\programming\github\react-spring\demo\node_modules|D:\programming\github\react-spring\demo\.DS_Store|D:\programming\github\react-spring\demo\dist|D:\programming\github\react-spring\demo\dist-ssr|D:\programming\github\react-spring\demo([^/]+).local)$/: Unmatched ')'
at new RegExp ()
at matchAny (D:\programming\github\react-spring\node_modules\build-if-changed\node_modules\recrawl\lib\recrawl.js:87:32)
at Object.createMatcher (D:\programming\github\react-spring\node_modules\build-if-changed\node_modules\recrawl\lib\recrawl.js:129:39)
at GitIgnore.test (D:\programming\github\react-spring\node_modules\build-if-changed\lib\gitignore.js:46:39)
at Object.opts.filter (D:\programming\github\react-spring\node_modules\build-if-changed\lib\cli.js:19:46)
at filter (D:\programming\github\react-spring\node_modules\build-if-changed\lib\index.js:15:25)
at crawl (D:\programming\github\react-spring\node_modules\build-if-changed\node_modules\recrawl\lib\recrawl.js:68:46)
at async crawl (D:\programming\github\react-spring\node_modules\build-if-changed\node_modules\recrawl\lib\recrawl.js:64:25)
at async D:\programming\github\react-spring\node_modules\build-if-changed\node_modules\recrawl\lib\recrawl.js:79:9
at async Object.exports.run (D:\programming\github\react-spring\node_modules\build-if-changed\lib\cli.js:21:26)
Done in 0.21s.
SyntaxError: Invalid regular expression: /^(?:(.+/)?packages([^/]+)\package.json|(.+/)?targets([^/]+)\package.json)$/: Unmatched ')'
at new RegExp ()
at matchAny (D:\programming\github\react-spring\node_modules\recrawl-sync\lib\recrawl.js:87:32)
at createMatcher (D:\programming\github\react-spring\node_modules\recrawl-sync\lib\recrawl.js:128:39)
at recrawl (D:\programming\github\react-spring\node_modules\recrawl-sync\lib\recrawl.js:15:18)
at exports.crawl (D:\programming\github\react-spring\node_modules\recrawl-sync\lib\recrawl.js:12:38)
at readPackages (D:\programming\github\react-spring\scripts\prepare.js:27:3)
at prepare (D:\programming\github\react-spring\scripts\prepare.js:42:20)
Done in 1.58s.
Beta Was this translation helpful? Give feedback.
All reactions