create-nos-dapp
create-nos-dapp copied to clipboard
Failed to create new dapp with node version 10
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
This issue will be addressed in the next release as there's an update to a peer dependency which caused this error. reference.
On a side note** As long as Parcel is not compatible with Babel 7 inside the react starter kit, we cannot resolve this issue :/
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 😞
Is there a way to make Parcel's HMR work without websocket?
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 :(
i can add vuejs or maybe react webpack versions of templates.
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 :(
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)