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
Copy file name to clipboardExpand all lines: packages/gatsby/src/utils/adapter/manager.ts
+8-10
Original file line number
Diff line number
Diff line change
@@ -73,9 +73,7 @@ async function setAdapter({
73
73
store.getState().program.prefixPaths&&
74
74
store.getState().config.pathPrefix
75
75
){
76
-
incompatibleFeatures.push(
77
-
`pathPrefix is not supported. Please remove the pathPrefix option from your gatsby-config, don't use "--prefix-paths" CLI toggle or PREFIX_PATHS environment variable.`
78
-
)
76
+
incompatibleFeatures.push(`pathPrefix is not supported.`)
79
77
}
80
78
81
79
// trailingSlash support
@@ -98,13 +96,13 @@ async function setAdapter({
98
96
}
99
97
100
98
if(incompatibleFeatures.length>0){
101
-
reporter.panic({
102
-
id: `12201`,
103
-
context: {
104
-
adapterName: instance.name,
105
-
incompatibleFeatures,
106
-
},
107
-
})
99
+
reporter.warn(
100
+
`Adapter "${
101
+
instance.name
102
+
}" is not compatible with following settings:\n${incompatibleFeatures
0 commit comments