You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
✘ [ERROR] Could not resolve "tslib"
node_modules/react-locomotive-scroll/module/LocomotiveScroll.context.js:4:24:
4 │ const tslib_1 = require("tslib");
╵ ~~~~~~~
You can mark the path "tslib" as external to exclude it from the bundle, which will remove this
error. You can also surround this "require" call with a try/catch block to handle this failure at
run-time instead of bundle-time.
node_modules/esbuild/lib/main.js:1649
let error = new Error(`${text}${summary}`);
Error: Build failed with 1 error:
node_modules/react-locomotive-scroll/module/LocomotiveScroll.context.js:4:24: ERROR: Could not resolve "tslib"
errors: [
{
detail: undefined,
id: '',
location: {
column: 24,
file: 'node_modules/react-locomotive-scroll/module/LocomotiveScroll.context.js',
length: 7,
line: 4,
lineText: 'const tslib_1 = require("tslib");',
namespace: '',
suggestion: ''
},
notes: [
{
location: null,
text: 'You can mark the path "tslib" as external to exclude it from the bundle, which will remove this error. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.'
}
],
pluginName: '',
text: 'Could not resolve "tslib"'
}
],
warnings: []
}
The text was updated successfully, but these errors were encountered:
shelcia
changed the title
✘ [ERROR] Could not resolve "tslib"
Displaying this error when Provider is included -- ✘ [ERROR] Could not resolve "tslib"
Nov 9, 2023
The text was updated successfully, but these errors were encountered: