-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Webassembly Error When Building #14891
Comments
Possibly related to #13641 but slightly different error generated in wasm.js |
The WebAssembly support is added in NodeJs 8.0.0. Update your NodeJS to make it work. |
I don't think that's the source of the problem I'm encountering:
$ node -v
v10.15.1
…On Thu, Jun 27, 2019 at 11:30 AM Aswin C P ***@***.***> wrote:
The WebAssembly support is added in NodeJs 8.0.0. Update your NodeJS to
make it work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14891?email_source=notifications&email_token=AAMMRQ6OEKIXWEXK6YSQALTP4TMITA5CNFSM4HZEY2NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXPSZQ#issuecomment-506394982>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMMRQ77DYSJN5XVOZTG3CDP4TMITANCNFSM4HZEY2NA>
.
|
I've resolved it. Thanks. |
@Talii123 How'd you solve it? I'm also using Node v10.x but see the WebAssembly error. Thanks! |
@elimisteve if I remember correctly, I actually had 2 different installations of node on my Windows machine. Not versions, I had installed it in two different places. So node -v told me about the 10.x installation but gatsby was picking up an 8.x version from a different path. I believe I upgraded the version that gatsby was calling and uninstalled the other one. |
@Talii123 Thanks! |
Did you get it working?
…On Tue, Apr 21, 2020 at 10:47 PM Steve Phillips ***@***.***> wrote:
@Talii123 <https://github.com/Talii123> Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14891 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMMRQ6633QQ2ZFR7HGITNDRNZLCTANCNFSM4HZEY2NA>
.
|
Description
When I run
gatsby develop
the server fails to start due to an error with WebAssembly.Interestingly,
npm run develop
works as expected.Steps to reproduce
Just follow the steps from the Quick Start Tutorial.
Expected result
The development server should start (as it does when you run
npm run develop
).Actual result
$ gatsby develop
success open and validate gatsby-configs — 0.010
success load plugins — 1.665
success onPreInit — 0.007
success initialize cache — 0.012
success copy gatsby files — 0.134
success onPreBootstrap — 0.028
success source and transform nodes — 0.275
success building schema — 0.741
success createPages — 0.002
success createPagesStatefully — 0.105
success onPreExtractQueries — 0.012
success update schema — 0.066
success extract queries from components — 0.302
success write out requires — 0.010
success write out redirect data — 0.010
success Build manifest and related icons — 0.194
success onPostBootstrap — 0.198
info bootstrap finished - 14.380 s
success run static queries — 0.328 — 3/3 9.20 queries/second
success run page queries — 0.019 — 5/5 271.42 queries/second
error UNHANDLED REJECTION
ReferenceError: WebAssembly is not defined
[gatsby-site]/[react-hot-loader]/[source-map]/lib/wasm.js:26:14
Environment
$ gatsby info --clipboard
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Binaries:
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
Languages:
Python: 2.7.15 - /c/Users/[myUserDir]/.windows-build-tools/python27/python
Browsers:
Edge: 44.17763.1.0
npmPackages:
gatsby: ^2.9.6 => 2.9.6
gatsby-image: ^2.1.4 => 2.1.4
gatsby-plugin-manifest: ^2.1.1 => 2.1.1
gatsby-plugin-offline: ^2.1.3 => 2.1.3
gatsby-plugin-react-helmet: ^3.0.12 => 3.0.12
gatsby-plugin-sharp: ^2.1.6 => 2.1.6
gatsby-source-filesystem: ^2.0.40 => 2.0.40
gatsby-transformer-sharp: ^2.1.21 => 2.1.21
The text was updated successfully, but these errors were encountered: