Questions tagged [macos]

The desktop operating system from Apple, known as macOS (previously referred to as OS X or Mac OS X), is exclusively designed for Macintosh computers. In case you need assistance with utilizing macOS APIs or require understandings on macOS-specific behavior, feel free to use this tag. Please note that questions about using or troubleshooting macOS are not suitable here and should be directed to the Ask Different community instead.

Update in Jenkins: Alterations to Slave User Access

My Jenkins master is connected to a MAC slave through Java WebStart since SSH is not working. An administrator user named 'qalab' is logged into the machine, which never sleeps. The system information of the node is displayed in the image provided. I am ...

Node version conflicts on macOS

Recently, I decided to switch over to Angular6 for my projects, but encountered an error message stating that my node version was outdated (lower than 8.9). After attempting to resolve this issue, it appears that my system is running two different versions ...

How to resolve the issue of "dyld: Library not loaded:" while installing PHP on macOS?

I'm currently facing an issue while installing the most recent version of PHP on my Mac. I attempted the following: brew install php72 --force Afterward, when I wanted to verify the installed version, I encountered this error: localhost:regagents davea$ ...

Having trouble upgrading NPM version, stuck on 5.6.0 even after reinstalling without any luck

Hey there, I'm dealing with an issue on my Mac where I can't seem to update npm past version 5.6.0. I attempted sudo npm i -g npm, but unfortunately encountered an error: npm WARN npm npm does not support Node.js v16.10.0 npm WARN npm You shou ...

Developing a TIFFDictionary specific to an image document

My goal is to incorporate a TIFF Dictionary into an image file on my Mac. According to Apple's documentation, the kCGImagePropertyTIFFDictionary defines a dictionary with keys like kCGImagePropertyTIFFXResolution inside it. However, I am struggling t ...

What steps can be taken to ensure MacOS can detect installed packages after the deletion of `/usr/local/lib` and `/usr/local/include` directories?

While feeling very tired, I attempted to uninstall my node.js due to some issues and ended up accidentally deleting two important folders, /usr/local/lib and /usr/local/include, on my Mac Mojave! After reinstalling the OS, much to my surprise, all my pers ...

Struggle encountered while incorporating "shape_predictor_68_face_landmarks.dat" file into the conversion process with pyinstaller on MacOS

Working on a code that utilizes the dlib module in Python, there are two crucial lines within the script predictor_path = "./shape_predictor_68_face_landmarks.dat" predictor = dlib.shape_predictor(predictor_path) The code functions smoothly when executed ...

Having trouble with installing Typescript on a MacBook?

I have been attempting to follow the instructions provided on TypeScriptLang.org but for some reason, I am unable to successfully download typescript. This is what I have tried so far: mkotsollariss-MacBook-Pro:/ mkotsollaris$ which node /usr/local/bin/n ...

Global installation of NPM packages with CLI may result in encountering the error message "command not found"

This has happened to me twice in the past. The first time, I thought it was an issue with NPM, so I removed Node & NPM and stopped using the problematic package. I did a fresh installation and started working on another project. I installed the package (in ...

What could be causing the issue with running "npm install -g grunt-cli" successfully?

I've encountered a problem while attempting to use grunt in my projects. I'm currently setting up a macOS computer with version 11.0.1. The project files (local) are correct in principle, as they work fine on another computer. I have been struggling to re ...

How can I assign the user "macuser" to the "_www" group using a command?

How can I add the user "macuser" to the "_www" group on my MacBookAir? I am currently working on a PHP project that creates files and folders with the _www:_www ownership, causing macuser to have limited access. Adding macuser to the _www group should hel ...

Mac OS reports an Illegal instruction: 4 error when running NodeJS

Each time I try to execute my program, it gives me an Illegal instruction: 4 error without any clue as to why. The code snippet in question: glob('/path/music/*.mp3', function(error, files) { for(var i = 0; i < files.length; i++) { songs.push(file ...

Encountered an issue while running the npm start command in AngularJS

As a beginner in angular js, I recently started learning through this tutorial. However, when I attempt to run the development web server using npm start, I encounter the following error: > <a href="/cdn-cgi/l/email-protection" class="__cf_email__" ...

The Mac OS is notifying that the command "phonegap" cannot be found: -bash: phone

After successfully installing phonegap and cordova on my Macbook (Mac OS X Mountain Lion) using the following npm commands: sudo npm install -g cordova sudo npm install -g phonegap It appeared that both Phonegap and Cordova were installed without any iss ...

Error encountered: org.openqa.selenium.WebDriverException - Method not implemented for executing a task on an iOS native element

An error occurs when trying to perform an action (click, clear, send key, etc) on an iOS native element due to the method not being implemented yet. However, the findElement function works correctly. This issue only affects iOS and works fine on Android d ...

Alignment problem with email signatures on MAC devices

Recently, I designed a straightforward email signature and successfully copied and pasted it into the appropriate section. However, while it works perfectly in Outlook, there is an issue with MAC Mail (Version 7.3) where the image extends beyond the table. ...

Running a basic Selenium automation test using FireFox on Mac OS and Eclipse: A step-by-step guide

I'm currently facing an issue while trying to run automation tests using Selenium in Firefox by adding the Geckodriver to my Java project. Despite downloading and adding various jar files, I keep encountering the same error message in the Eclipse console. ...

encountered a server deployment issue with meteor accounts-password

I encountered an issue while deploying my Meteor app to the meteor.com server after adding the accounts-password package. Strangely, deployment on localhost was successful without any errors or warnings. Here is a detailed breakdown of the steps I took an ...

Error: props.addPost does not exist as a function

Help Needed with React Error: props.addPost is not a function. I am trying to add a new post in my app. Please assist me. import React from "react"; import classes from "./MyPosts.module.css"; import { Post } from "./Post/Post.jsx& ...

None of the NPM commands are working due to an error stating: "TypeError: Class extends value undefined is not a constructor

For years, I've had no issues using n to install node. Recently, on my Big Sur mac, I decided to update from v14.17.6 to v16 without any problems. Now when I check the version with node -v, it shows "16.13.1." However, after the update, every npm com ...

Running Python on a Mac-based web server

I've got PHP and Perl up and running smoothly on my machine at the moment. Now, I'm looking to develop Python websites as well. While I have Python installed, I've run into some hurdles trying to get a simple "Hello World" message to display ...

Difficulties encountered during the installation process of node.js and npm

Before installing node and npm, I researched the best methods for installation. Here is what I discovered: First, install nvm Next, use nvm to install node Set the default alias for node using nvm When you install node, npm will also be installed automat ...

What causes the discrepancy in height options for tkinter buttons between OSX and Windows operating systems?

I'm encountering an issue with my code that involves the following line: self.button = Button(frame, text="CALCOLA", width=28, height=2, command=callback) When running the code on OSX, the button appears as a single line separated above and below from ot ...

I encountered an unexpected syntax error while using the npm command on my Mac: an unexpected token was found

Lately, I encountered this message while attempting to utilize npm Update available 5.3.0 → 7.11.1 │ │ Run npm i -g npm to update Consequently, I proceeded with the update, but since then, I have been facing an error whenever I try to exe ...

I seem to be having trouble specifying the Python version while trying to use NPM install

Encountering a new challenge while attempting to install a custom NPM package with npm install -g <package-name>. This particular package involves a "postinstall" step, which triggers a pip install command. Despite the requirement for Python 3 packag ...

Resolve an npm installation issue caused by error code EINTEGRITY

After reviewing numerous similar posts on this platform, I have yet to find a solution. Many suggest using npm cache verify or npm cache clear, but these haven't worked for me. I even took the extreme step of completely removing npm and node through vario ...

What Mac OSX command can you use in Typescript to input the quote character for multiline text?

Just starting out with Angular 2 and working through the official tutorial at https://angular.io/docs/ts/latest/tutorial/toh-pt1.html. I've realized that to use multi-line template strings (string interpolation), I have to use the ` mark. Any tips for eas ...

Ways to Identify Mistakes in a `.plist` Document

I'm puzzled by the error message from launchctl stating that my .plist file is invalid. The goal is to schedule a Python script to run daily at 8AM. The first argument of the program is the path to the pyenv virtualenv binary, and the second argument ...

include the npm directory in your PATH variable

Attempting to install Cordova is underway. Progress seems promising so far. The command used in the terminal was sudo npm install -g cordova. This was the resulting output: /usr/local/bin/cordova -> /usr/local/lib/node_modules/cordova/bin/cordova < ...

Error message: "Error on MacOS - Symbol not found: ____chkstk_darwin when executing node or npm commands"

Whenever I try to run node or npm commands on the terminal (like node -v, npm -v, or just node or npm), I encounter the following error message: dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /Users/alvarez/.nvm/ve ...

What method works best for setting up Node and npm on a Mac computer?

Just got my hands on a brand new Mac and I'm eager to set up Node and npm on it. Wanting to have full control over the versions I install and remove, can anyone suggest the best method to achieve this? ...

What could be causing my Chrome extension to function on Mac but not on a PC?

I created a basic Chrome extension that includes a background page with the following code: <script type="text/javascript> chrome.tabs.onDetached.addListener(function(tabId, info){ var id = tabId; chrome.tabs.get(id, function(tab) { ...

Melodic alerts from Node-webkit

I have developed a function in my node-webkit application to display OS X notifications. While it works flawlessly, I'm curious if there is a way to customize the sound instead of the default iPhone ding? I referred to the official notification API d ...

Chrome on OSX Mavericks threw a RangeError because the maximum call stack size was exceeded

While attempting to run an Angular app using linemanjs in Chrome on a Mac, I encountered the following error: Uncaught RangeError: Maximum call stack size exceeded An interesting observation is that the site functions properly on Chrome on a Windows mach ...

Instantly share your videos on YouTube straight from your Mac computer

I am currently working on an OS X application using XCode and I would like to enable my users to upload videos directly to YouTube from their Mac. Similar to how iMovie functions. Currently, I am uploading the videos to a server and then manually to my ow ...

Is there a bug in Safari 8.0 related to jQuery and backslashes?

I am using Mac OS 10.10 Yosemite and Safari 8.0. Attempting to read an XML (RSS) file: <content:encoded>bla bla bla</content:encoded> The Javascript Ajax method I am using is: description:$(valeur).find('content\\:encoded&apo ...

Deploying a Node.js app on Heroku using a Mac has hit a roadblock - encountering the error message "sh: 1: nodemon: not found" along with "npm ERR! `nodemon fileName.js

Guide to Deploying on Heroku with Node.js using Mac Encountered Problem: Error message: State changed from starting to crashed && sh: 1: nodemon: not found && Failed at...start script && status 1...code=H10 After developing my ...

Issues with Pygame on MacOS X

Setting up Pygame on my MAC has been a challenge for me. My specifications include OS X El Capitan 10.11.4. Whenever I try to run a file with import pygame, I encounter the following error in terminal: ImportError: No module named 'pygame' Following the ...

The installation of webpack on macOS is failing because of a missing dependency

Is anyone else experiencing this issue? node-pre-gyp info it worked if it ends with ok node-pre-gyp info using <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3d53525958104d4f58e8838485">[email protected]</a> node ...

The unexpected issue concerning frameworks within PIL

While attempting to install PIL on my Mac OSX, I run sudo python setup.py install and everything seems to be going smoothly until I receive the following output. Has anyone else encountered this issue before? running build_ext --- using frameworks at /S ...

Could not locate the command "express" - perhaps it is not installed

I've tried multiple times to install Express, but all I get is the error mentioned in the title. Any assistance would be greatly appreciated. Here are the commands I have attempted. While my current directory is where I want the application to be located, ...

In order to successfully build and run this project on Visual Studio 2022 for Mac, Node.js is an essential requirement

I encountered the following error while building a client cs-project: Error: Node.js is required to build and run this project. I have installed node using nvm on my Mac which node The above command returns /Users/***/.nvm/versions/node/v18.15.0/bin/nod ...

The Python tkmacosx is throwing an error related to the "systemWindowBackgroundColor" property

Currently, I am facing a challenge with changing the foreground color of a button on my Mac running Big Sur. I have attempted to resolve this by installing tkmacosx, but it seems there may be an issue with the package. Whenever I run the code below or att ...

Is Python 2.7 still on my Mac? How can I check if Python 3.3 installation removes the older version?

Is it possible that there are concealed files lingering around? And is a re-installation of Python 2.7 necessary in order to use it? Appreciate your help! ...

What might be causing the sluggish performance of AzureDevOps private NPM repository with node versions 14 and 16?

After upgrading NodeJs to version 14 (and also tried with version 16) on my MacOs using NVM, I deleted the package-lock.json and node_modules directory. When running npm i -verbose, I noticed that the installation process became extremely slow. For each pa ...

Tips for managing global npm packages following regular brew upgrades

Whenever I update node on OS X with Homebrew, it seems to remove all of my global packages installed with npm -g. For instance, after the update, my Vim's Syntastic tool fails to run jshint on javascript files. It just stops working without any warni ...

Unable to access webpage using Firefox browser on my MacBook

I am encountering an error when attempting to open the Google homepage on my MacBook. package practice; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Test { public static void main(String[] ar ...

Suggestions for content in Jenkins Execute shell script for running automated tests

I'm a beginner with Jenkins and I'm unsure about what to enter in the Build - Execute shell script section. I want to run my automation scripts using Jenkins. I write my scripts in Selenium WebDriver and use macOS. Can someone provide me with a detailed ...

Why does Assert not work when Test always succeeds?

Currently, I am delving into learning Selenium with C# and have encountered an issue with my assert function. Below is the code snippet in question: // Compare Expected Price with Actual Price string Price = "£29"; IWebElement ProductPrice = driver.FindE ...

After restarting the system, the npm command was nowhere to be found

Every time I restart my computer, the npm command stops working: -bash: npm: command not found Oddly enough, the node command still works perfectly fine. However, to fix the issue with npm, I have to reinstall Node.js from their official website. I've m ...

Oops! We encountered an internal error: EACCES - permission denied when trying to create a symlink for '../lib/node_modules/corepack/dist/pnpm.js' to '/usr/local/bin/pnpm'

Having an issue while trying to enable 'corepack' by executing the command: corepack enable You can find the instructions on how to do this here: However, I am encountering the following error: Internal Error: EACCES: permission denied, symlink ...

When trying to import `scipy.integrate` on MacOS, an error occurs stating `Library not loaded: libgfortran.5.dylib`

echo $PATH displays: /usr/local/texlive/2021/bin/universal-darwin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin Upon updating to MacOS Monterey, running import scipy.integrate in Python results in th ...

Accessing GitHub via SSH from within a GitHub Action runner on macOS

Currently, I am facing an issue with building an auto-deploy workflow on GitHub Action. The problem arises because one of my packages relies on a private repository owned by me. Every time I execute the command npm i, I encounter the following error: npm E ...

Tips for integrating the Brave browser with Selenium on Catalina

I came across this example for using the brave browser on Windows. I'm wondering if it would also work on Catalina just by updating the driver_path and brave_path? Additionally, as Chromedriver is specifically for Chrome, how can one determine the appropr ...

"Cordova has been successfully installed, but it is currently experiencing difficulties initializing

After successfully installing node.js 8.9.3, I received the following message: This package has installed: • Node.js v8.9.3 to /usr/local/bin/node • npm v5.5.1 to /usr/local/bin/npm Make sure that /usr/local/bin is in your $PATH. Att ...

React Native encountered a fatal error and had to terminate due to an uncaught NSException

This is my first attempt at creating an iOS app using React Native. I am currently following the instructions provided in the Facebook React Native Docs to kickstart my project. However, I've encountered a problem while trying to run my initial app wi ...

Issues with launching NPM Start (Having trouble with Node on Mac OS X Yosemite)

As a Rails developer, I decided to expand my skills by learning Angular JS. I came across this tutorial that seemed interesting, but I'm stuck at trying to get a node server to run. Here is the content of the npm-debug.log file: 0 info it worked if it en ...

How can I save files to the ~/Documents directory using Node.js on my Mac computer?

Trying to work with the user's Documents folder in Node.js on macOS: var logger = fs.createWriteStream('~/Documents/somefolderwhichexists/'+title+'.txt'); Encountering an error without clear cause. Error message received: Unca ...

Issue encountered while trying to download Jade through npm (npm install -g jade)

I am having trouble downloading jade via npm on my Mac (Yosemite). After downloading node and updating npm, I tried to install jade but encountered a series of errors that I cannot resolve. Even attempting to use sudo did not help, as it only displayed s ...

Locate PHP, MySQL, and Apache using the terminal/command line interface

When using my Mac terminal for web hosting purposes, I need to determine the PHP version, MySQL version, and Apache version for each website without using phpinfo() in a PHP file. Here is what phpinfo shows: php : PHP Version 5.6.40 mysql : mysqlnd 5.0.1 ...

Installation with "npm install" encounters issues with git package dependencies on macOS Catalina

While attempting to run "npm install" on a Node.js project with a Git dependency, it encounters failure specifically on macOS Catalina. npm ERR! code EPERM npm ERR! syscall spawn npm ERR! errno EPERM npm ERR! Error: spawn EPERM npm ERR! at ChildProc ...

A guide to pasting copied text from the clipboard using Selenium and Java on a Mac operating system

Having trouble pasting text into a textbox on MACOS? Trying to use the code snippet below, but Control + v and Command + v shortcuts are not working. It seems like this is a known issue, but unsure if it has been resolved yet. https://github.com/seleniumhq ...

"503 Error: None of the backends are operational or in good

I encountered an error while trying to deploy updates to the node.js code for Google Cloud. 503 All backends failed or unhealthy: @google-cloud/pubsub@https://registry.npmjs.org/@google-cloud/pubsub/-/pubsub-0.13.0.tgz Here are the logs: 4421 http fetch ...

Unable to successfully install cordova using npm on Mac OSX

Hey there, I'm currently attempting to set up cordova using npm by running the command: sudo npm install -g cordova However, I encountered an error: npm ERR! Error: EACCES, symlink '../lib/node_modules/cordova/bin/cordova' npm ERR! { [Error: EACCES, sy ...

npm is failing to function properly with the error message "Module 'isarray' cannot be found."

Every time I attempt to use any npm command, a recurring error keeps popping up: module.js:472 throw err; ^ Error: Cannot find module 'isarray' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:4 ...

A service is currently operational on the specified port

As a budding developer, I've encountered an issue with ports while working with the MERN stack. Despite setting the port to various numbers in my JSON file, it appears that something is already running on all of them. Interestingly, I recently switched f ...

Issue with npm not detecting .npmrc configuration file

Struggling with the installation of a library from a private repository using npm? The setup I have is as follows: OSX Mavericks 10.9.3 Node v0.10.28 npm 1.4.10 (switched from 1.4.13 but still facing issues) I'm executing this from my home directory ...

Exploring the Power of Selenium and Python on Snow Leopard

Having recently switched to using the stock Python (2.6.1) on Snow Leopard with Selenium, I find myself encountering some issues. As a novice in the realm of Python, I am struggling to pinpoint where exactly I have gone wrong, especially since this same pr ...

Having trouble running Underscore-cli on Mac using NVM? Encounter the error message: "Cannot find module"?

After installing underscore-cli on my Mac running OS X Mavericks, I noticed that special commands such as map and filter are throwing errors to stderr. It seems like there may have been an issue during the installation process with NVM/Node/NPM/underscore- ...

When the system is rebooted, the terminal fails to acknowledge npm and node commands

After installing node and npm using nvm, a message appeared at the end of the installation process: Close and reopen your terminal to start using nvm or run the following to use it now: export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . " ...

Installing Vue CLI on Mac OS may not function correctly

I recently installed vue-cli by executing the following command: npm install -g @vue/cli /Users/me/npm/bin/vue -> /Users/me/npm/lib/node_modules/@vue/cli/bin/vue.js /Users/me/npm/lib └── @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_ ...

Installing the Alternative PHP Cache (APC) module in the XAM

I was searching on Google for instructions on how to install "APC" but couldn't find a clear solution. Does anyone know the proper steps? Oh, and just fyi, I'm using a Mac ...

Is there any way to extract the source files from a compiled Electron application?

Is there a way to extract the contents of a .app Application developed using Electron for Mac OS? I'm eager to explore the underlying source files, but I'm not familiar with the procedure to access them. Any assistance would be greatly appreciated. ...

What steps should be taken to enable Python.app to firewall on Mac OS X?

Whenever I try to run a Python application on my Mac, it keeps prompting me with dialogs asking if "Python.app" can accept incoming network connections. Even after allowing it multiple times, the same dialog pops up repeatedly. Is there a way to allow th ...

Managing access permissions for the node_modules directory on macOS, Linux, and Windows operating systems

I've been working on nodeJS applications on my Mac, and to test them I'm using Parallels to run a virtual Windows machine with Windows 10. However, when I run npm install on my Mac, I encounter an "access denied" error for the node_modules folder ...