Closed efremmc closed 6 years ago
By the way, I have other services running on ports 8080, 8081, 8082. 1527, 1521, 3306, 3308 such as Apache, MariaDB, Oracle XE Express, Moodle Test env. What option to change the port from within NB. I did read the section adding a port option from the command line; I am sure there is one.
Efrem
DId you set the executable via options? Otherwise, you will not able to create a project and to complete the wizard, because I check the errors, that can happen like not setting the executable. Will check it later, maybe I uploaded an older version.
Here is the environment information: From the terminal session in NB
efremmc@Vulcan2 /cygdrive/p/testing/netcat9/NetBeans-dev-incubator-netbeans-linux-413-on-20180424-basic/netbeans
$ node -v
v10.0.0
efremmc@Vulcan2 /cygdrive/p/testing/netcat9/NetBeans-dev-incubator-netbeans-linux-413-on-20180424-basic/netbeans $ ng version
/ \ | | / | | | | / △ \ | ' \ / ` | | | | |/ ` | '| | | | | | | / | | | | (| | || | | (| | | | |__| | | | // __| ||_, |_,||_,|| __|__|| |/
Angular CLI: 1.7.4 Node: 10.0.0 OS: win32 x64 Angular: ...
efremmc@Vulcan2 /cygdrive/p/testing/netcat9/NetBeans-dev-incubator-netbeans-linux-413-on-20180424-basic/netbeans $ $ echo $PATH /usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/oraclexe/app/oracle/product/11.2.0/server/bin:/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/bin:/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/libnvvp:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Java/jdk1.8.0_162/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/cygdrive/c/Program Files (x86)/MiKTeX 2.9/miktex/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/cygdrive/c/Users/efremmc/AppData/Local/Programs/Python/Python35/Sc:/cygdrive/c/Program Files (x86)/GtkSharp/2.12/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Wolfram Research/WolframScript:/cygdrive/c/Program Files/nodejs:/cygdrive/c/Users/efremmc/AppData/Local/Programs/Python/Python35/Scripts:/cygdrive/c/Users/efremmc/AppData/Local/Programs/Python/Python35:/cygdrive/p/testing/apache-ant-1.10.2-bin/apache-ant-1.10.2/bin:/cygdrive/c/Users/efremmc/AppData/Roaming/npm:/cygdrive/c/Program Files/nodejs
Tried to create a project and produced:
From the IDE log: INFO [org.netbeans.modules.cordova.CordovaPlatform$Version]: loading cordova version for path cordova INFO [org.netbeans.modules.cordova.CordovaPlatform$Version]: Could not find git on PATH. WARNING [org.openide.filesystems.Ordering]: Not all children in Templates/Project/ marked with the position attribute: [ClientSide], but some are: [Standard, JavaFX, Maven2, APISupport, Import, Samples] WARNING [org.openide.filesystems.Ordering]: Not all children in Templates/Project/ClientSide/ marked with the position attribute: [net-chrizzly-netbeans-plugins-nbangularcli-projectwizard-AngularCliWizardIterator], but some are: [org-netbeans-modules-cordova-wizard-CordovaTemplate-newProjectWithExtender, org-netbeans-modules-cordova-wizard-CordovaTemplate-existingHtml5Project] WARNING [org.openide.filesystems.Ordering]: Not all children in Templates/Project/Samples/ marked with the position attribute: [HTML5], but some are: [Standard, JavaFX] WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.XMLDataObject@79f2271b[MultiFileObject@20d1519b[Actions/Help/master-help.xml]]
This was created from the terminal on a command line:
efremmc@Vulcan2 /cygdrive/p/testing/netcat9/srctest/projects $ ls AnagramGame AngularCliApplicaton6 JavaApplication2 module1 AngularCliApplicaton AngularCliApplicatonA JavaApplication20 MyApp1 AngularCliApplicaton10 AngularCliApplicatonB JavaApplication21 MyApp2 AngularCliApplicaton11 CppApplication_1 JavaApplication22 NewApps1 AngularCliApplicaton2 GUIFormExamples JavaApplication23 PersonBean_NetBeansJavaBeansTutorial.zip AngularCliApplicaton3 JavaApplication17 JavaApplication24 ZendSkeletonApplication-master AngularCliApplicaton4 JavaApplication18 JavaApplication25 ZendSkeletonApplication-master.zip AngularCliApplicaton5 JavaApplication19 JavaLibrary1
efremmc@Vulcan2 /cygdrive/p/testing/netcat9/srctest/projects $ ng new NewAppl2 create NewAppl2/e2e/app.e2e-spec.ts (291 bytes) create NewAppl2/e2e/app.po.ts (208 bytes) create NewAppl2/e2e/tsconfig.e2e.json (235 bytes) create NewAppl2/karma.conf.js (923 bytes) create NewAppl2/package.json (1294 bytes) create NewAppl2/protractor.conf.js (722 bytes) create NewAppl2/README.md (1024 bytes) create NewAppl2/tsconfig.json (363 bytes) create NewAppl2/tslint.json (3012 bytes) create NewAppl2/.angular-cli.json (1244 bytes) create NewAppl2/.editorconfig (245 bytes) create NewAppl2/.gitignore (544 bytes) create NewAppl2/src/assets/.gitkeep (0 bytes) create NewAppl2/src/environments/environment.prod.ts (51 bytes) create NewAppl2/src/environments/environment.ts (387 bytes) create NewAppl2/src/favicon.ico (5430 bytes) create NewAppl2/src/index.html (295 bytes) create NewAppl2/src/main.ts (370 bytes) create NewAppl2/src/polyfills.ts (3114 bytes) create NewAppl2/src/styles.css (80 bytes) create NewAppl2/src/test.ts (642 bytes) create NewAppl2/src/tsconfig.app.json (211 bytes) create NewAppl2/src/tsconfig.spec.json (283 bytes) create NewAppl2/src/typings.d.ts (104 bytes) create NewAppl2/src/app/app.module.ts (316 bytes) create NewAppl2/src/app/app.component.html (1141 bytes) create NewAppl2/src/app/app.component.spec.ts (986 bytes) create NewAppl2/src/app/app.component.ts (207 bytes) create NewAppl2/src/app/app.component.css (0 bytes) npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/ npm WARN deprecated mailcomposer@4.0.1: This project is unmaintained npm WARN deprecated socks@1.1.9: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0 npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated buildmail@4.0.1: This project is unmaintained npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
uws@9.14.0 install P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\uws node-gyp rebuild > build_log.txt 2>&1 || exit 0
node-sass@4.8.3 install P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\node-sass node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.8.3/win32-x64-64_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.8.3/win32-x64-64_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
uglifyjs-webpack-plugin@0.4.6 postinstall P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\webpack\node_modules\uglifyjs-webpack-plugin node lib/post_install.js
node-sass@4.8.3 postinstall P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\node-sass node scripts/build.js
Building: C:\Program Files\nodejs\node.exe P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.6.2
gyp info using node@10.0.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which
failed Error: not found: python2
gyp verb which
failed at getNotFoundError (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:13:12)
gyp verb which
failed at F (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:68:19)
gyp verb which
failed at E (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:80:29)
gyp verb which
failed at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:89:16
gyp verb which
failed at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\isexe\index.js:42:5
gyp verb which
failed at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\isexe\windows.js:36:5
gyp verb which
failed at FSReqWrap.oncomplete (fs.js:149:21)
gyp verb which
failed python2 { Error: not found: python2
gyp verb which
failed at getNotFoundError (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:13:12)
gyp verb which
failed at F (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:68:19)
gyp verb which
failed at E (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:80:29)
gyp verb which
failed at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:89:16
gyp verb which
failed at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\isexe\index.js:42:5
gyp verb which
failed at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\isexe\windows.js:36:5
gyp verb which
failed at FSReqWrap.oncomplete (fs.js:149:21)
gyp verb which
failed stack: 'Error: not found: python2\n at getNotFoundError (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:13:12)\n at F (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:68:19)\n at E (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:80:29)\n at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\which\which.js:89:16\n at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\isexe\index.js:42:5\n at P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:149:21)',
gyp verb which
failed code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which
succeeded python C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE
gyp verb check python version C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE -c "import platform; print(platform.python_version());"
returned: "3.5.3\r\n"
gyp verb could not find "C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE". checking python launcher
gyp verb could not find "C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (P:\testing\netcat9\srctest\projects\NewAppl2\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder.node scripts/build.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
added 1167 packages in 149.946s 'git' is not recognized as an internal or external command, operable program or batch file. Project 'NewAppl2' successfully created.
Additionally, installed the following on NB 8.2
http://expressjs.com/en/starter/generator.html https://angular.io/tutorial/toh-pt0
Created successfully in the terminal the 'angular-tour-of-heroes' example
No luck on using NB 8.2 creating a Angular CLI project.
What is the next step?
First, ng has nothing todo with cordova, thx for the massive information. But the problem seems with the ng executable. Will dive into it later.
Which version of NBAngularCLI did you have installed?
Hi Chris, I used the one you provided as at attached. There seems to be angular-2 and angular-editor are on NB 9.0 beta.
On NB 8.2 we have netbeans-angular2-code-templates, version 1.1, as shown below.
Version: 1.1 Author: ChrisLE Date: 10/27/17 Source: Plugin Portal Homepage: https://github.com/Chris2011/netbeans-angular2-code-templates
Plugin Description, Angular 2 TypeScript Snippets for NetBeans This extension for NetBeans adds snippets for Angular 2 for TypeScript and HTML. It is based on the Visual Studio Code implementation: https://github.com/johnpapa/vscode-angular2-snippets
On Wed, Apr 25, 2018 at 9:46 AM, Chrizzly notifications@github.com wrote:
Which version of NBAngularCLI did you have installed?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chris2011/NBAngularCLI/issues/4#issuecomment-384292248, or mute the thread https://github.com/notifications/unsubscribe-auth/AKLVlBuuslFUz54bpnngxvv9S8BlzRzOks5tsH4kgaJpZM4TiftW .
Hey, please Check the NBAngularCLI Version in the Plugins section. The Other modules/Plugins that you mentioned has nothing To-Do with my Plugin. I only wanted to make Sure, that this ist the latest Version.
Hi Chris, sorry for the confusing but it is your plugin that I am trying to test.
I triple checked to make sure! I download the nbm from your site and I clicked on "Search" and it added the path.
can someone please verify my new plugin NBAngularCLI - http://plugins.netbeans.org/plugin/73937/nbangularcli
In NB 8.2 shows as: Version: 1.0 Source: Plugin Portal, NetBeans Distribution, 1521726897_net-chrizzly- netbeans-plugins-nbangularcli.nbm
Produces: Error: Schematic input does not validate against the Schema: {"directory":".","name":"AngularCliApplicaton","skipGit":false,"style":"css","version":"1.7.4","commit":{"message":"chore: initial commit from @angular/cli\n\n _ _\n / \ | | / | | | |\n / â–³ \ | ' \ / \` | | | | |/ \` | '| | | | | | |\n / \| | | | (| | || | | (| | | | |__| | | |\n// \\| ||\, |\,||\,|| \__|_||\n |/\n","name":"Angular CLI","email":"angular-cli@angular.io "},"path":"app","sourceDir":"src","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","skipTests":false,"skipInstall":false,"linkCli":false,"minimal":false,"serviceWorker":false} Errors: .directory should match format "path" Schematic input does not validate against the Schema: {"directory":".","name":"AngularCliApplicaton","skipGit":false,"style":"css","version":"1.7.4","commit":{"message":"chore: initial commit from @angular/cli\n\n _ _\n / \ | | / | | | |\n / â–³ \ | ' \ / \` | | | | |/ \` | '| | | | | | |\n / \| | | | (| | || | | (| | | | |__| | | |\n// \\| ||\, |\,||\,|| \__|_||\n |/\n","name":"Angular CLI","email":"angular-cli@angular.io "},"path":"app","sourceDir":"src","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","skipTests":false,"skipInstall":false,"linkCli":false,"minimal":false,"serviceWorker":false} Errors: .directory should match format "path"
In NB 9.0 shows as: Version: 1.0 Source: 1521726897_net-chrizzly-netbeans-plugins-nbangularcli.nbm
Plugin Description NBAngularCLI
Create Angular-CLI projects within NetBeans Usage
On Wed, Apr 25, 2018 at 2:14 PM, Chrizzly notifications@github.com wrote:
Hey, please Check the NBAngularCLI Version in the Plugins section. The Other modules/Plugins that you mentioned has nothing To-Do with my Plugin. I only wanted to make Sure, that this ist the latest Version.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chris2011/NBAngularCLI/issues/4#issuecomment-384383415, or mute the thread https://github.com/notifications/unsubscribe-auth/AKLVlIM_34wEOTiIVCbZbzCAACb5oY5zks5tsL0IgaJpZM4TiftW .
I am using a version of 1.0 from the web link provided in the email:
can someone please verify my new plugin NBAngularCLI - http://plugins.netbeans.org/plugin/73937/nbangularcli
Can you please try to do this at the command line: where ng
and ng -v
and make a screenshot so that I can see, what happens.
Hi Chris, sorry for the delay. I had a system crash, M/B died. The replacement arrives today. In DR mode..., I performed a fresh new installation on Windows 10
What I did was the following:
Installed nodejs Installed the tools - see below
Microsoft Windows [Version 10.0.17134.285] (c) 2018 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd %userprofile%
C:\Users\Efrem Mc>npm i -g @angular/cli C:\Program Files\node-v10.11.0-win-x64\ng -> C:\Program Files\node-v10.11.0-win-x64\node_modules\@angular\cli\bin\ng npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\@angular\cli\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
C:\Users\Efrem Mc>where ng C:\Program Files\node-v10.11.0-win-x64\ng C:\Program Files\node-v10.11.0-win-x64\ng.cmd
C:\Users\Efrem Mc>ng -v
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | ' \ / | | | | |/ _
| '| | | | | | |
/ _ | | | | (| | || | | (| | | | || |_ | |
// __| ||_, |_,||_,|| __|__||
|/
Angular CLI: 6.2.3 Node: 10.11.0 OS: win32 x64 Angular: ...
@angular-devkit/architect 0.8.3 @angular-devkit/core 0.8.3 @angular-devkit/schematics 0.8.3 @schematics/angular 0.8.3 @schematics/update 0.8.3 rxjs 6.2.2 typescript 2.9.2
C:\Users\Efrem Mc>
I see the problem with the schematics. That was the problem with --dir=-/
so it should be fixed, because I had the problem too and I fixed it with changing the dir behavior.
Another note, there is no "HTML/JS" under "Options" in NB 9.0, it does exist under NB 8.2.
Under NB9.0, I was able to Create a project, but it did not complete successfully with a project name on the menu.
Here is the output:
CREATE AngularCliApplicaton/angular.json (3674 bytes) CREATE AngularCliApplicaton/package.json (1328 bytes) CREATE AngularCliApplicaton/README.md (1037 bytes) CREATE AngularCliApplicaton/tsconfig.json (408 bytes) CREATE AngularCliApplicaton/tslint.json (2837 bytes) CREATE AngularCliApplicaton/.editorconfig (245 bytes) CREATE AngularCliApplicaton/.gitignore (503 bytes) CREATE AngularCliApplicaton/src/favicon.ico (5430 bytes) CREATE AngularCliApplicaton/src/index.html (307 bytes) CREATE AngularCliApplicaton/src/main.ts (373 bytes) CREATE AngularCliApplicaton/src/polyfills.ts (3194 bytes) CREATE AngularCliApplicaton/src/test.ts (642 bytes) CREATE AngularCliApplicaton/src/styles.css (80 bytes) CREATE AngularCliApplicaton/src/browserslist (388 bytes) CREATE AngularCliApplicaton/src/karma.conf.js (964 bytes) CREATE AngularCliApplicaton/src/tsconfig.app.json (166 bytes) CREATE AngularCliApplicaton/src/tsconfig.spec.json (256 bytes) CREATE AngularCliApplicaton/src/tslint.json (314 bytes) CREATE AngularCliApplicaton/src/assets/.gitkeep (0 bytes) CREATE AngularCliApplicaton/src/environments/environment.prod.ts (51 bytes) CREATE AngularCliApplicaton/src/environments/environment.ts (662 bytes) CREATE AngularCliApplicaton/src/app/app.module.ts (314 bytes) CREATE AngularCliApplicaton/src/app/app.component.html (1141 bytes) CREATE AngularCliApplicaton/src/app/app.component.spec.ts (1037 bytes) CREATE AngularCliApplicaton/src/app/app.component.ts (224 bytes) CREATE AngularCliApplicaton/src/app/app.component.css (0 bytes) CREATE AngularCliApplicaton/e2e/protractor.conf.js (752 bytes) CREATE AngularCliApplicaton/e2e/tsconfig.e2e.json (213 bytes) CREATE AngularCliApplicaton/e2e/src/app.e2e-spec.ts (316 bytes) CREATE AngularCliApplicaton/e2e/src/app.po.ts (208 bytes)
node-sass@4.9.3 install C:\Users\Efrem Mc\Documents\NetBeansProjects\AngularCliApplicaton\AngularCliApplicaton\node_modules\node-sass node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-64_binding.node Download complete Binary saved to C:\Users\Efrem Mc\Documents\NetBeansProjects\AngularCliApplicaton\AngularCliApplicaton\node_modules\node-sass\vendor\win32-x64-64\binding.node Caching binary to C:\Users\Efrem Mc\AppData\Roaming\npm-cache\node-sass\4.9.3\win32-x64-64_binding.node
circular-json@0.5.7 postinstall C:\Users\Efrem Mc\Documents\NetBeansProjects\AngularCliApplicaton\AngularCliApplicaton\node_modules\circular-json echo ''; echo "\x1B[1mCircularJSON\x1B[0m is in \x1B[4mmaintenance only\x1B[0m, \x1B[1mflatted\x1B[0m is its successor."; echo ''
''; echo "\x1B[1mCircularJSON\x1B[0m is in \x1B[4mmaintenance only\x1B[0m, \x1B[1mflatted\x1B[0m is its successor."; echo ''
node-sass@4.9.3 postinstall C:\Users\Efrem Mc\Documents\NetBeansProjects\AngularCliApplicaton\AngularCliApplicaton\node_modules\node-sass node scripts/build.js
Binary found at C:\Users\Efrem Mc\Documents\NetBeansProjects\AngularCliApplicaton\AngularCliApplicaton\node_modules\node-sass\vendor\win32-x64-64\binding.node Testing binary Binary is fine npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1087 packages from 1324 contributors and audited 39031 packages in 53.618s found 0 vulnerabilities
'git' is not recognized as an internal or external command, operable program or batch file.
Efrem
Those are two different problems. First this problem here was solved, so you can create a project within NetBeans.
The other thing with the option is that, you don't have installed the HTML5/JS Module for NB9 which is not a common module in NB9 atm like everything else, which is not Java. Those packages will come later but for now, you have to install it manually. But yes this is a Problem, i have to fix to be a dependency of the HTML module. Thx
What do you mean, you can't see it in the Menu? Which menu? Do you mean in the project window? It will not open? This is an other problem too. I guess it happens because of the missing HTML5/JS Module.
So the Initial problem was solved. Please first install the HTML5/JS module and check whether it will open the project after creating or not.
Sry, I forgot to add the new release: https://github.com/Chris2011/NBAngularCLI/releases/tag/1.0.1. I've tested it with a brand new NetBeans 9.0 w/o having HTML installed. Now my plugin shows you an warning/error, that you can't install it, if you don't have installed HTML5 Kit, which is a required dependency, for this plugin.
As written above, it is a common module right inside the core of NetBeans 8.2 (HTML5 kit - org.netbeans.modules.web.clientproject). Atm, it is not part of NetBeans 9.0 (But it will), which you have to install it manually. You can figure it out here: https://blogs.apache.org/netbeans/entry/what-s-happened-to-my.
Please check it.
Hi Chris, I did get the same app to work. It was the one on port 4200. I modified some HTML code and it showed up.
I installed some code from NB 8.2 Upgrade Center, mainly HTML plugins.
Looks good.
Efrem
See pix attached.
I ended up installing sass, LESS, and cordova. It needed something, but all is working from within NB 9.0 It was able to generate the code and execute.
localhost:4200
Great to hear, now my work is done here :).
Steps: *Windows 8.1 command prompt"
There must be a configuration problem within NB from the create a new Project->
[Manual test] This was created in a Terminal session within NB: efremmc@Vulcan2 /cygdrive/p/testing/netcat9/srctest/projects $ ng new NewApps1
create NewApps1/e2e/app.e2e-spec.ts (291 bytes) create NewApps1/e2e/app.po.ts (208 bytes) create NewApps1/e2e/tsconfig.e2e.json (235 bytes) create NewApps1/karma.conf.js (923 bytes) create NewApps1/package.json (1294 bytes) create NewApps1/protractor.conf.js (722 bytes) create NewApps1/README.md (1024 bytes) create NewApps1/tsconfig.json (363 bytes) create NewApps1/tslint.json (3012 bytes) create NewApps1/.angular-cli.json (1244 bytes) create NewApps1/.editorconfig (245 bytes) create NewApps1/.gitignore (544 bytes) create NewApps1/src/assets/.gitkeep (0 bytes) create NewApps1/src/environments/environment.prod.ts (51 bytes) create NewApps1/src/environments/environment.ts (387 bytes) create NewApps1/src/favicon.ico (5430 bytes) create NewApps1/src/index.html (295 bytes) create NewApps1/src/main.ts (370 bytes) create NewApps1/src/polyfills.ts (3114 bytes) create NewApps1/src/styles.css (80 bytes) create NewApps1/src/test.ts (642 bytes) create NewApps1/src/tsconfig.app.json (211 bytes) create NewApps1/src/tsconfig.spec.json (283 bytes) create NewApps1/src/typings.d.ts (104 bytes) create NewApps1/src/app/app.module.ts (316 bytes) create NewApps1/src/app/app.component.html (1141 bytes) create NewApps1/src/app/app.component.spec.ts (986 bytes) create NewApps1/src/app/app.component.ts (207 bytes) create NewApps1/src/app/app.component.css (0 bytes) npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/ npm WARN deprecated mailcomposer@4.0.1: This project is unmaintained npm WARN deprecated socks@1.1.9: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0 npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated buildmail@4.0.1: This project is unmaintained npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.8.3/win32-x64-64_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.8.3/win32-x64-64_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.
or configure npm proxy via
Building: C:\Program Files\nodejs\node.exe P:\testing\netcat9\srctest\projects\NewApps1\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ 'C:\Program Files\nodejs\node.exe', gyp verb cli 'P:\testing\netcat9\srctest\projects\NewApps1\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.6.2 gyp info using node@10.0.0 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:149:21)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "P:\testing\netcat9\srctest\projects\NewApps1\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd P:\testing\netcat9\srctest\projects\NewApps1\node_modules\node-sass
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.8.3 (node_modules\node-sass):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.8.3 postinstall:
which
failed Error: not found: python2 gyp verbwhich
failed at getNotFoundError (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:13:12) gyp verbwhich
failed at F (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:68:19) gyp verbwhich
failed at E (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:80:29) gyp verbwhich
failed at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:89:16 gyp verbwhich
failed at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\isexe\index.js:42:5 gyp verbwhich
failed at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\isexe\windows.js:36:5 gyp verbwhich
failed at FSReqWrap.oncomplete (fs.js:149:21) gyp verbwhich
failed python2 { Error: not found: python2 gyp verbwhich
failed at getNotFoundError (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:13:12) gyp verbwhich
failed at F (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:68:19) gyp verbwhich
failed at E (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:80:29) gyp verbwhich
failed at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:89:16 gyp verbwhich
failed at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\isexe\index.js:42:5 gyp verbwhich
failed at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\isexe\windows.js:36:5 gyp verbwhich
failed at FSReqWrap.oncomplete (fs.js:149:21) gyp verbwhich
failed stack: 'Error: not found: python2\n at getNotFoundError (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:13:12)\n at F (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:68:19)\n at E (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:80:29)\n at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\which\which.js:89:16\n at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\isexe\index.js:42:5\n at P:\testing\netcat9\srctest\projects\NewApps1\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:149:21)', gyp verbwhich
failed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verbwhich
succeeded python C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE gyp verb check python versionC:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE -c "import platform; print(platform.python_version());"
returned: "3.5.3\r\n" gyp verb could not find "C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE". checking python launcher gyp verb could not find "C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE". guessing location gyp verb ensuring that file exists: C:\Python27\python.exe gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "C:\Users\efremmc\AppData\Local\Programs\Python\Python35\python.EXE", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (P:\testing\netcat9\srctest\projects\NewApps1\node_modules\node-gyp\lib\configure.js:483:19) gyp ERR! stack at PythonFinder.node scripts/build.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1added 1167 packages in 125.069s 'git' is not recognized as an internal or external command, operable program or batch file. Project 'NewApps1' successfully created.
efremmc@Vulcan2 /cygdrive/p/testing/netcat9/srctest/projects $
===================== [See Test from NB]
From NB 9.0 create New Project->Clientside->(select) Angular CLI Application; click,
Message states aborting....
Error: Schematic input does not validate against the Schema: {"directory":".","name":"AngularCliApplicaton10","skipGit":false,"style":"css","version":"1.7.4","commit":{"message":"chore: initial commit from @angular/cli\n\n _ _\n / \ | | / | | | |\n / â–³ \ | ' \ / \` | | | | |/ \` | '| | | | | | |\n / \| | | | (| | || | | (| | | | |__| | | |\n// \\| ||\, |\,||\,|| \__|_||\n |/\n","name":"Angular CLI","email":"angular-cli@angular.io"},"path":"app","sourceDir":"src","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","skipTests":false,"skipInstall":false,"linkCli":false,"minimal":false,"serviceWorker":false} Errors: .directory should match format "path" Schematic input does not validate against the Schema: {"directory":".","name":"AngularCliApplicaton10","skipGit":false,"style":"css","version":"1.7.4","commit":{"message":"chore: initial commit from @angular/cli\n\n _ _\n / \ | | / | | | |\n / â–³ \ | ' \ / \` | | | | |/ \` | '| | | | | | |\n / \| | | | (| | || | | (| | | | |__| | | |\n// \\| ||\, |\,||\,|| \__|_||\n |/\n","name":"Angular CLI","email":"angular-cli@angular.io"},"path":"app","sourceDir":"src","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","skipTests":false,"skipInstall":false,"linkCli":false,"minimal":false,"serviceWorker":false} Errors: .directory should match format "path"