This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271605 - Built in npm module adds strange characters to package names
Summary: Built in npm module adds strange characters to package names
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@javascript
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 10:49 UTC by manofunknown
Modified: 2018-01-10 08:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshots of the npm module search results and error msg after I added the jquery library (299.83 KB, image/jpeg)
2017-10-09 10:49 UTC, manofunknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manofunknown 2017-10-09 10:49:33 UTC
Created attachment 165259 [details]
Screenshots of the npm module search results and error msg after I added the jquery library

Dear All!

When I search for a package in the built in npm module, netbeans add vertical bars to the name and version fields, probably from the description fields. When I add these packages, the npm throws an error that the name contains error. See attached image for detailed info.
Installing npm packages from the windows console works great, so I'm thinking it's not the node.js / npm fault. Btw I'm using the latest node.js (v8.6.0) and npm (v5.4.2). I tried reinstalling everything from scratch, even with different versions (node.js v6.11.4), but the results was the same.
It works like this at the company and also at home. For the past two weeks I searched for solutions, but with no luck. All I found is this: https://stackoverflow.com/questions/42223815/cant-add-npm-libraries-with-netbeans

Thank you in advance.
Comment 1 fedd 2018-01-10 08:59:46 UTC
First worked OK, then I reinstalled Node and now I experience this, Ubuntu 17.10. I reinstalled Node because my Gruntfile did just nothing, now this =(