Giter Site home page Giter Site logo

Comments (7)

vanbasten17 avatar vanbasten17 commented on June 6, 2024

Hi @silviucs , we haven’t tested yet this command with M1’s Apple. We will have to check it. Have you tried with Linux? https://es.wikipedia.org/wiki/GNU/Linux
They have lots of distros to try.

from botonic.

pulse-mind avatar pulse-mind commented on June 6, 2024

Same here, I am not able to use the new command on MAC M1 (silicon - arm).

from botonic.

manuelalferez avatar manuelalferez commented on June 6, 2024

I have tested it on MacOS with M1 and have not had any problems.

Could share more details as:

  • Version of npm and node that you are using: npm -v && node -v
  • Where you have installed npm and node: which npm && which node
  • Where you have installed botonic: which botonic

from botonic.

pulse-mind avatar pulse-mind commented on June 6, 2024

Hello manuel,

Thank you for your answer.
I tried again:
First time I installed botonic using npm install @botonic/cli, second time using npm install -g @botonic/cli and third time using sudo npm i -g @botonic/cli --unsafe-perm=true --allow-root
But each time I got the same result, a long log. I added it in attachment 2023-06-26T12_01_29_409Z-debug-0.log, I do not think there is secrets inside.

To answer to your questions :

$ npm -v && node -v
9.6.7
v20.3.1
$ which npm && which node
/opt/homebrew/bin/npm
/opt/homebrew/bin/node

This is my last attempt using sudo...

which botonic
/opt/homebrew/bin/botonic

from botonic.

manuelalferez avatar manuelalferez commented on June 6, 2024

Hi @pulse-mind,

I can see that the problem may be due to having installed botonic with brew. I would try the following:
Uninstall Botonic and reinstall it globally:

brew uninstall botonic
npm install -g botonic

If the problem persists, it is due to the node versions you have installed, you should downgrade it to v16. You can do it using nvm:

brew install nvm
nvm install 16 && nvm use 16

from botonic.

pulse-mind avatar pulse-mind commented on June 6, 2024

Hi,

Thank you for your reply.

I did not use brew to install botonic, there is no available formula with the name botonic ;).

I tried 3 different ways and each time I used the uninstall method to clean it. I tried:

# 1 - Because I did not want to install it globally the first time
npm install @botonic/cli
# 2- Because I decided to follow the procedure :)
npm install -g @botonic/cli
# 3- Because in the documentation, it was written something about MACOS
sudo npm i -g @botonic/cli --unsafe-perm=true --allow-root

I followed your suggestion to install nvm in order to have multiple node versions and to install v16. So I did :

brew install nvm
nvm install 16 && nvm use 16
npm install -g @botonic/cli
botonic new myBot blank

The creation of the project myBot is done. Thank you!.

When I run botonic serve I got this error :

Error: Cannot find package '@babel/plugin-proposal-object-rest-spread' imported from /Users/pulsemind/Projects/botonic/myBot/babel-virtual-resolve-base.js

So I did :

npm add @babel/plugin-proposal-object-rest-spread
npm install

from botonic.

manuelalferez avatar manuelalferez commented on June 6, 2024

You're correct, Botonic hasn't been included in the brew yet! 😁

As for the previous error you encountered, someone reported this issue some time ago, and the proper solution to resolve it is the one you suggested.

You're welcome! I'm glad you could share potential issues that the community might encounter in the future.

If you need further assistance, feel free to ask!

from botonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.