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

Can't find variable: path #465

Closed
pixelmachine opened this issue Oct 30, 2019 · 0 comments
Closed

Can't find variable: path #465

pixelmachine opened this issue Oct 30, 2019 · 0 comments

Comments

@pixelmachine
Copy link

pixelmachine commented Oct 30, 2019

The problem

After updating from 2.6 to 2.7.1 I get the error:
Can't find variable: path

Details

Error appears on load and causes Barba to fail

Code To Reproduce Issue

Just a basic setup

import barba from '@barba/core';
barba.init({
[...]
})

Steps to reproduce issue

Load the page.

Issue can be fixed by modifying core/dist/barba.umd.js with:
From require("path") to require("path-to-regexp")

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

No branches or pull requests

1 participant