Netbeans error "not all the modules can be enabled" - netbeans-7

I am having problem in running a file in netbeans. I have been using netbeans 7.3 to run PHP code till today and so far it used to work perfectly. Suddenly, today when I first time tried to open a php file it simply did not open anything, neither showed any error. I tried reinstalling, but again no change. I noticed that if I try to create a new project then it shows me this message This feature is not yet enabled. Press Next to activate it. And I clicked next and it shows Not all requested modules can be enabled...and a very long message.
I again uninstalled. removed caches and library for netbeans. Installed again and on first opening it showed me this warning
Warning - could not install some modules: org.apache.commons.logging - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-logging.jar: Not found bundle:org.apache.commons.logging org.apache.ws.commons.util - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-ws-commons-util.jar: Not found bundle:org.apache.ws.commons.util org.apache.commons.io - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-io.jar: Not found bundle:org.apache.commons.io org.apache.commons.codec - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-codec.jar: Not found bundle:org.apache.commons.codec org.apache.commons.httpclient - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-httpclient.jar: Not found bundle:org.apache.commons.httpclient org.apache.xmlrpc - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-xmlrpc.jar: Not found bundle:org.apache.xmlrpc org.eclipse.equinox.common - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-common.jar: Not found bundle:org.eclipse.equinox.common org.eclipse.core.jobs - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-jobs.jar: Not found bundle:org.eclipse.core.jobs org.eclipse.equinox.registry - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-registry.jar: Not found bundle:org.eclipse.equinox.registry org.eclipse.equinox.app - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-app.jar: Not found bundle:org.eclipse.equinox.app org.eclipse.equinox.preferences - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-preferences.jar: Not found bundle:org.eclipse.equinox.preferences org.eclipse.core.contenttype - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-contenttype.jar: Not found bundle:org.eclipse.core.contenttype org.eclipse.core.runtime.compatibility.auth - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-runtime-compatibility-auth.jar: Not found bundle:org.eclipse.core.runtime.compatibility.auth org.eclipse.core.runtime - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-runtime.jar: Not found bundle:org.eclipse.core.runtime org.eclipse.equinox.security - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-security.jar: Not found bundle:org.eclipse.equinox.security org.eclipse.core.net - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-net.jar: Not found bundle:org.eclipse.core.net org.eclipse.mylyn.commons.core - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-core.jar: Not found bundle:org.eclipse.mylyn.commons.core org.eclipse.mylyn.commons.repositories.core - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-repositories-core.jar: Not found bundle:org.eclipse.mylyn.commons.repositories.core org.apache.commons.lang - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-lang.jar: Not found bundle:org.apache.commons.lang org.eclipse.mylyn.commons.net - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-net.jar: Not found bundle:org.eclipse.mylyn.commons.net org.eclipse.mylyn.commons.xmlrpc - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-xmlrpc.jar: Not found bundle:org.eclipse.mylyn.commons.xmlrpc org.eclipse.mylyn.tasks.core - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-tasks-core.jar: Not found bundle:org.eclipse.mylyn.tasks.core org.eclipse.mylyn.bugzilla.core - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-bugzilla-core.jar: Not found bundle:org.eclipse.mylyn.bugzilla.core com.jcraft.jzlib - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/com-jcraft-jzlib.jar: Not found bundle:com.jcraft.jzlib com.jcraft.jsch - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/com-jcraft-jsch.jar: Not found bundle:com.jcraft.jsch org.eclipse.jgit - org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-jgit.jar: Not found bundle:org.eclipse.jgit.
I spent almost a day on this. I am using netbeans 7.3. Thank you in advance.

Open the netbeans.conf file and comment out the netbeans_jdkhome="/usr" line.
It worked on my Linux system.

I had this problem today. Solution is very simply: reinstall NetBeans and when installation manager will ask JDK path, set path to one of your JDK (use selector in menu). Default path "/usr/" or other which IDE set automatically is not actual and after installation you'll cann't change default path!

Related

npm ERR! 404 Not Found - GET https://registry.npmjs.org/babel-messages.js - Not found

i have got this error while excuting and npm install registry Error
any one have a solution for it please ?
i find out also that the registry page returning 404 for babel-messages :
registry.npmjs.org/babel-messages.js
thank you in advance.

webpack-cli : Error: spawn Unknown system error -86 / Symfony

I have just acquired a new mac with M1 chip and I wonder if the error is related to this, because on my old one I have no problem.
[webpack-cli] Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:412:11)
at spawn (node:child_process:698:9)
at Object.execFile (node:child_process:325:17)
at Object.module.exports.fileCommandJson (/Users/mlc/Sites/ImapImport/node_modules/node-notifier/lib/utils.js:88:13)
at NotificationCenter.notifyRaw (/Users/mlc/Sites/ImapImport/node_modules/node-notifier/notifiers/notificationcenter.js:81:11)
at WebpackNotifierPlugin.compilationDone (/Users/mlc/Sites/ImapImport/node_modules/webpack-notifier/index.js:129:14)
at Hook.eval [as callAsync] (eval at create (/Users/mlc/Sites/ImapImport/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:18:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/mlc/Sites/ImapImport/node_modules/tapable/lib/Hook.js:18:14)
at /Users/mlc/Sites/ImapImport/node_modules/webpack/lib/Compiler.js:498:23
at Compiler.emitRecords (/Users/mlc/Sites/ImapImport/node_modules/webpack/lib/Compiler.js:906:5) {
errno: -86,
code: 'Unknown system error -86',
syscall: 'spawn'
}
It occurs when the command is launched:
npm run dev
or
yarn encore dev
I have already tried deleting the node_modules file as well as the package-lock.json, and clearing the npm cache then re-running npm install but nothing worked.
Suggestions ?
Today I got my new M1 Pro as well and I had the same issue. The interesting thing is that the npm run prod created all files correctly.
First I checked if xcode-select --install is installed - it was.
Next I checked the installed git version git --version -> git version 2.32.0 (Apple Git-132), standard Apple git. I installed a fresh git via homebrew brew install git and restarted my Mac. After that the error was gone.
If this does not fix your error, maybe it is an weird npm package.
Problem solved, thanks to #andreasm for pointing me in the right direction.
I explain myself after checking on xcode was installed with the command :
xcode-select -p
it was, so I did not carry more attention than that, today just out of curiosity by executing :
xcode-select --install
the error has disappeared, morality: Do not trust the first command.

React Native Application error at installing npx bugsnag

Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:464:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Hello,
Anas Ahmed here, I was installing bugsnag-expo-cli-init in my react native app at first it asked me 3 ques and then at the time of installing it gave me this error can anyone help me in this. Installing in npm
Are you attempting to run the bugsnag-expo-cli on Windows? Bugsnag's Expo CLI currently only supports Linux and Mac:
https://docs.bugsnag.com/platforms/react-native/expo/#installation-and-configuration
As an alternative to the CLI, you could follow the manual integration guide:
https://docs.bugsnag.com/platforms/react-native/expo/manual-setup/

ern create-miniapp fails on Windows machine

Hi everyone,
I am new to mini apps but I followed the documentation of [Electrode native]
(https://native.electrode.io/v/v0.31/quick-start/getting-started) and [this]
(https://github.com/electrode-io/electrode-native).I am facing same issue again and again. My
installation versions are -
electrode-native: 1.0.17
ern platform: 0.40.0
node version - 9.1.0
react-native-cli: 2.0.1
I am trying to create a new project using ern create-miniapp MovieListMiniApp but getting
this error. The yarn file is already at this location .ern\versions \0.40.0\node_modules\ern-
core\node_modules\.bin\yarn but its continuously telling me
'Error: spawn .ern\versions\0.40.0\node_modules\ern-core\node_modules.bin\yarn ENOENT
events.js:196
throw er; // Unhandled 'error' event
^
Error: spawn C:\Users.ern\versions\0.40.0\node_modules.bin\yarn ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:266:19)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn C:\Users.ern\versions\0.40.0\node_modules.bin\yarn',
path: 'C:\Users.ern\versions\0.40.0\node_modules.bin\yarn',
spawnargs: [ 'info', 'test-miniapp', 'versions', '--json' ]
}'
Please help me. Thanks in advance.
I tried a lot and researched much but found no luck. So ultimately I find out that the problem was with Window machine . When I tried on mac machine worked fine and the root cause was that Electrode Native is still not very mature and its not compatible with Windows architecture. So better use mac or in generic Linux based machine until the mini app team fix it.

Cannot find module 'npmlog'

Hello I receive the following message when trying to install npm. I downloaded the most recent node.js but it doesn't seem to download npm. I keep getting the belowenter code here error message after deleting node.js and reinstalling it.
When I try installing node.js I don't see the following being created:
C:\Users\Efren Barragan\AppData\Roaming\npm
This is the first time installing node.js. I just installed it on my old computer and it worked out fine. I am new to this so so your patience is much appreciated! Thanks!
C:\Users\Efren Barragan> npm install npm -g
module.js:327
throw err;
^
Error: Cannot find module 'npmlog'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at C:\Users\Efren Barragan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js:19:13
at Object.<anonymous> (C:\Users\Efren Barragan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js:75:3)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
Due to the bug in versions this is what i did -
I have faced the same issue in my Windows 10 PC. After looking into solutions, since i couldn't find the exact solution for the issue i was facing
Cannot find module 'npmlog'
I just uninstalled the node js and then, deleted both 'npm' and 'npm-cache' in
"C:\Users\YourPCName\AppData\Roaming"
Then, i downloaded the latest version of node from Node JS Website
And, installed node js
After that i checked with the path in environment variables.
Finally run the command prompt 'run as administrator' and npm install npm -g
Checking your version will show the latest version. 'npm -v'
I got the latest version - v3.10.9
Try this. this should work.
Install a newer version, it's been a bug in previous version.