mpsbhat
mpsbhat

Reputation: 2773

Unable to build nw.js hello world application

Myself trying to build a hello world application for Linux using nw-builder. It runs when I execute the run command nwbuild -r /path/to/myapp but when i am trying to build it for linux version it gives the following error.

 { [Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/nw-builder/cache/0.13.0-beta4/linux32/nw.pak']
  errno: 34,
  code: 'ENOENT',
  path: '/usr/local/lib/node_modules/nw-builder/cache/0.13.0-beta4/linux32/nw.pak',
  syscall: 'lstat' }

When I checking the path for directory in cache folder, instead of nw.pk file i found nw_100_percent.pak and resources.pak files.

How can i solve the same? Also is it possible to avoid the downloading of nw.js each time when I run or build the application? I tried it with giving the version number but not succeeded.

Upvotes: 0

Views: 792

Answers (1)

Build the application is using the old version

nwbuild ./ -p linux64 /path/to/myapp -v v0.12.3

Upvotes: 2

Related Questions