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.
Summary: | NPM & Gulp don't work | ||
---|---|---|---|
Product: | javascript | Reporter: | hartey11 |
Component: | Node.js | Assignee: | Tomas Mysik <tmysik> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | tmysik |
Priority: | P2 | ||
Version: | 8.1 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
hartey11
2016-02-03 23:35:45 UTC
(In reply to hartey11 from comment #0) > [23:27:19] Local gulp not found in ~ > [23:27:19] Try running: npm install gulp This message tells you that you must have Gulp installed also locally in your project. It means that you need to have it in your project's package.json (as a dependency). You don't have it so right now, right? > npm ERR! package.json npm can't find a package.json file in your current > directory. This message tells you that you did not create package.json file in your project directory. Feel free to attach your project here but creating package.json in your project directory (NetBeans can help with that, see File > New File > HTML5/JavaScript > package.json) and adding a dependency on Gulp to it (again, NetBeans can help - open Project Properties dialog and select JavaScript Libraries > npm) should solve your problem. You can also create a NetBeans' sample application and have a look at the project directory structure, its package.json etc. Just invoke File > New Project > Samples > HTML5/JavaScript > Knockout Messages Sample (or the Angular one) and investigate it a bit. Thanks for reporting. |