-
Notifications
You must be signed in to change notification settings - Fork 129
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
Sveltekit build fails when running 'npm run build' but works on 'npm run dev' #151
Comments
same issue on Ubuntu: Run npm run preview to preview your production build locally. 1: 0xcc050e node::OnFatalError(char const*, char const*) [node] |
Hi,
Currently using it in SvelteKit, runs nicely in dev but as soon as I run 'npm run build' then the following error is thrown.
Any help would be greatly appreciated.
Thanks,
Ambrose
Run npm run preview to preview your production build locally.
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
1: 0x102d92b15 node::Abort() [/usr/local/bin/node]
2: 0x102d92c01 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x102f45e71 v8::Utils::ReportApiFailure(char const*, char const*) [/usr/local/bin/node]
4: 0x1030ccc82 v8::internal::HandleScope::Extend(v8::internal::Isolate*) [/usr/local/bin/node]
5: 0x1033c249a v8::internal::JSReceiver::GetCreationContext() [/usr/local/bin/node]
6: 0x102f5f7b8 v8::Object::GetCreationContext() [/usr/local/bin/node]
7: 0x102cac252 node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context) [/usr/local/bin/node]
8: 0x13554b2c8 Nan::Callback::Call_(v8::Isolate, v8::Localv8::Object, int, v8::Localv8::Value, Nan::AsyncResource) const [/Users/ac/Projects/zh/node_modules/@pokusew/pcsclite/build/Release/pcsclite.node]
9: 0x13554ab72 PCSCLite::HandleReaderStatusChange(uv_async_s*) [/Users/ac/Projects/zh/node_modules/@pokusew/pcsclite/build/Release/pcsclite.node]
10: 0x1038ac8f1 uv__async_io [/usr/local/bin/node]
11: 0x1038c028c uv__io_poll [/usr/local/bin/node]
12: 0x1038acef6 uv_run [/usr/local/bin/node]
13: 0x102cac700 node::SpinEventLoopInternal(node::Environment*) [/usr/local/bin/node]
14: 0x102ddd7fb node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/usr/local/bin/node]
15: 0x102ddd56c node::NodeMainInstance::Run() [/usr/local/bin/node]
16: 0x102d585a3 node::Start(int, char**) [/usr/local/bin/node]
17: 0x208da43a6
The text was updated successfully, but these errors were encountered: