Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

Failed to create new dapp with node version 10 #23

Open
jaszhou opened this issue Jun 14, 2018 · 8 comments
Open

Failed to create new dapp with node version 10 #23

jaszhou opened this issue Jun 14, 2018 · 8 comments
Labels
blocked A blocked issue/PR bug Something isn't working

Comments

@jaszhou
Copy link

jaszhou commented Jun 14, 2018

Error:

node:59289) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
✖ Something went wrong while copying the template or installing the dependencies
Please check the console output and report it at 'https://github.com/nos/create-nos-dapp/issues'

Expected Behavior

It should also work with higher version of node.

Current Behavior

Failed with error message

Possible Solution

code update

Steps to Reproduce (for bugs)

Just try to run the command with node version 10.4.1

Context

Not able to ceate a new template

Your Environment

  • Version used: 0.2.2
  • Environment name and version (e.g. node.js 10.4.1, yarn 1.7.0, npm 6.1.0):
  • Operating System and version (desktop or mobile): MacOS High Sierra
@DalderupMaurice
Copy link
Member

This issue will be addressed in the next release as there's an update to a peer dependency which caused this error. reference.

@DalderupMaurice
Copy link
Member

On a side note**
As long as Parcel is not compatible with Babel 7 inside the react starter kit, we cannot resolve this issue :/

@DalderupMaurice DalderupMaurice added bug Something isn't working blocked A blocked issue/PR labels Jun 28, 2018
@jeroenptrs
Copy link
Contributor

As long as Parcel is not compatible with Babel 7 inside the react starter kit, we cannot resolve this issue maybe it's time to move to Webpack 😞

@mhuggins
Copy link
Contributor

Is there a way to make Parcel's HMR work without websocket?

@DalderupMaurice
Copy link
Member

Don't think so
And yes webpack seems better...
Version 1.8.x and 1.9.x of Parcel have some serious issues as we both discovered :(

@puncleV
Copy link

puncleV commented Aug 8, 2018

i can add vuejs or maybe react webpack versions of templates.

@DalderupMaurice
Copy link
Member

DalderupMaurice commented Aug 8, 2018

It's eventually not an issue within parcel :) @Punkkk
it was something else, requiring upath (forgot which package it was, thought It was something in the dependencies of our CLI tool itself)
Also, we've tried webpack projects and the issue with HMR/websockets is on electron's side. Switching from parcel to Webpack won't make a difference unfortunately :(

@jeroenptrs
Copy link
Contributor

Upath is fixed for node 10 resolution. The CLI has been updated, once the React package has been updated I'll push a new version. There's some changes coming soon that I'm gonna push with it (Parcel built-in renderer)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked A blocked issue/PR bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants