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
gatsby develop runs okay but I am getting this error when I try to do gatsby build. I tried other similar examples like removing cache and public with gatsby clean and removing node_modules and npm install again. but still having this issue.
Steps to reproduce
I do not know the cause of this issue, it was working before. I think my installed new libraries are causing this (not sure). Today I installed pdfmake.
> gatsby build
success open and validate gatsby-configs - 0.064s
success load plugins - 0.235s
success onPreInit - 0.010s
success delete html and css files from previous builds - 0.031s
success initialize cache - 0.018s
success copy gatsby files - 0.521s
success onPreBootstrap - 0.097s
success createSchemaCustomization - 0.028s
success source and transform nodes - 0.094s
success building schema - 0.515s
success createPages - 0.003s
success createPagesStatefully - 0.276s
success onPreExtractQueries - 0.005s
success update schema - 0.061s
success extract queries from components - 0.279s
success write out requires - 0.019s
success write out redirect data - 0.005s
success onPostBootstrap - 0.007s
⠀
info bootstrap finished - 11.580s
⠀
success Building production JavaScript and CSS bundles - 124.524s
success Rewriting compilation hashes - 0.012s
success run queries - 125.576s - 9/9 0.07/s
failed Building static HTML for pages - 16.586s
ERROR #95313
Building static HTML failed
See our docs page for more info on this error: https://gatsby.dev/debug-html
WebpackError: ENOENT: no such file or directory, open '//data.trie'
- build-html.js:110 doBuildPages
[sharan-client]/[gatsby]/dist/commands/build-html.js:110:24
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `gatsby build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dhali\AppData\Roaming\npm-cache\_logs\2020-07-27T02_49_53_250Z-debug.log
Environment
Run gatsby info --clipboard in your project directory and paste the output here.
Ah, thanks for sharing. So this is not a gatsby issue and looks to be solely related to using that library. I'm sorry but I don't think there is any way for us to advise you on this.
I'm going to close the issue as it isn't reporting a bug with Gatsby. Feel free to keep discussing here however if there is anything we can do to help!
Description
gatsby develop
runs okay but I am getting this error when I try to do gatsby build. I tried other similar examples like removing cache and public withgatsby clean
and removing node_modules andnpm install
again. but still having this issue.Steps to reproduce
I do not know the cause of this issue, it was working before. I think my installed new libraries are causing this (not sure). Today I installed pdfmake.
package.json
Expected result
It should build properly.
Actual result
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.The text was updated successfully, but these errors were encountered: