Closed atylee29 closed 2 years ago
Dealing with the same issue right now. :(
branch v3.0.0
seems to work.
same issue. node v16 seems to work.
Same issue here. Here's how to downgrade to node v16 if you're using homebrew:
brew install node@16
brew unlink node
brew link --overwrite node@16
node --version # should be v16.13.1
(source)
After that, running yarn install
in substrate-front-end-template/
should work.
can verify that this doesn't work on older macbooks as well
this comment shows a workaround
running
yarn set version latest
yarn install
gives you a working install
not sure which branch to commit to to make the changes visible to the latest tag, but i'm sure someone can push that up quickly if that's an acceptable workaround
This doesn't work on WSL2 either when i had latest Node.js LTS version 17.+ But it works on version lts/gallium
On M1, was able to solve the problem by checking out latest
(aa7c4de
at the moment).
node
version: v16.13.2
git clean -fdx
yarn install
yarn start
on mac m1 i get same errors when I follow docs and do `cd substrate-front-end-template
latest
tag throughout all of this tutorialgit checkout latest` -- this line causes error
I suspect the latest
branch is missing package.json
file
on mac m1 i get same errors when I follow docs and do
cd substrate-front-end-template git checkout latest
-- this line causes error
I suspect the latest
branch is missing package.json
file
Encountered the issue but using node version 16 didn't resolve it
Posted here - on stackoverflow
The frontend template is tested on node v16 (the current lts version) and not tested on v17 (as shown in the .circleci/config.yml
file.
If node v17 is already installed, you could use nvm to install and manage multiple node versions in your machine.
Setting YARN_CHECKSUM_BEHAVIOR=update
in the environment is the only thing that worked for me.
That is, either doing export YARN_CHECKSUM_BEHAVIOR=update
or else running YARN_CHECKSUM_BEHAVIOR=update yarn
as the command, instead of just yarn
.
(from https://stackoverflow.com/a/71276936/441757, as linked to in https://github.com/substrate-developer-hub/substrate-front-end-template/issues/213#issuecomment-1051812768 above)
Environment:
/opt/homebrew/bin/yarn
node, v17.0.1, is in/opt/homebrew/bin/yarn
Steps to reproduce:
Result: I get errors for many dependencies, in this form:
I suspect it is not related to my terminal/node/yarn because said applications work fine for my other work in react-native. Errors are not limited to babel dependencies, but also most others, including @ledgerhq, @jest, @hapi...
yarn install --verbose
returnsUnknown Syntax Error: Unsupported option name ("--verbose").
although it does not do this with my React Native app. And there are no error logs in my project root directory.Wondering if anyone has encountered this and have suggestions for a fix? For now,
npm install
andnpm start
work without issue.