-
Notifications
You must be signed in to change notification settings - Fork 5
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
new Error("Automatic publicPath is not supported in this browser", "<stdin>", 2) #9
Comments
C@E engineer has reviewed this. The error looks like it’s being caused possibly by one of the modules that are being used in their nextjs project. Not all nextjs programs will work, for example if the program in question uses modules that are not compatible with compute@edge. Can you try building the app without minification so that we can get more insight into what lines of code are causing the errors.
The logs may help us a bit more. |
As mentioned above, I changed |
Hi, can I have you examine the log output near
If you run this with the |
Sorry, I didn't notice these line numbers changed.
Thank you for checking. |
The message "Automatic publicPath is not supported in this browser" indicates that your code, or a library you are including, triggers the Automatic Public Path feature of Webpack. This may be something you can work around by settings public path manually (see linked article), using a polyfill, by removing that dependency, or using an alternative. |
Hi! I found a case where this occurs and it can be fixed with a webpack configuration. Can I have you try scaffolding your app again using the newest version of this tool (0.7.1)? |
The error message has changed, but the build fails.
|
hmm. that looks like maybe your project isn't set up correctly, as it can't find the file in your project folder (the folder that contains next.config.js):
After this, check to make sure Then:
|
The text was updated successfully, but these errors were encountered: