-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Creating project error (node-tar) #452
Comments
sounds like an issue with your node installation, are you using |
@VinSpee No, I don't use nvm, and I had no issues with other libraries (even the ones that need compiled modules, like node-sass for example). |
I have the same issue. I get this when I try to run the command: ❯ preact create default web-workflows
ℹ INFO Assuming you meant preactjs-templates/default...
⠋ Creating projectWARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.
Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is compatible with Node.js 9 and above.
/usr/local/bin/node[59315]: ../src/node_zlib.cc:437:static void node::(anonymous namespace)::ZCtx::Init(const FunctionCallbackInfo<v8::Value> &): Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionary)"' failed.
1: node::Abort() [/usr/local/bin/node]
2: node::(anonymous namespace)::DomainEnter(node::Environment*, v8::Local<v8::Object>) [/usr/local/bin/node]
3: node::(anonymous namespace)::ZCtx::Init(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [/usr/local/bin/node]
5: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/bin/node]
6: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
7: 0x23ec666842fd
zsh: abort preact create default web-workflows |
hmm - this is an issue with Node 9.x and |
@developit I believe me an OP have the latest versions of node.js. Also I looked into node-tar but you can't install it anywhere. What can we do to fix this? Thank you. |
@nikitavoloboev node-tar is being used by |
Do you want to request a feature or report a bug?
A bug.
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
preact create default preact-example
What is the expected behavior?
Project creates without any problem
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information.
v9.2.1
5.6.0
The text was updated successfully, but these errors were encountered: