Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Npm install failing after cloning from source #68

Closed
w0w opened this issue Jan 2, 2017 · 3 comments
Closed

Npm install failing after cloning from source #68

w0w opened this issue Jan 2, 2017 · 3 comments

Comments

@w0w
Copy link

w0w commented Jan 2, 2017

$ npm install

node-sass@4.1.1 install /opt/kong-dashboard/node_modules/node-sass
node scripts/install.js

Cached binary found at /home/ubuntu/.npm/node-sass/4.1.1/linux-x64-46_binding.node

node-sass@4.1.1 postinstall /opt/kong-dashboard/node_modules/node-sass
node scripts/build.js

Binary found at /opt/kong-dashboard/node_modules/node-sass/vendor/linux-x64-46/binding.node
Testing binary
Binary is fine

kong-dashboard@1.2.1 install /opt/kong-dashboard
node ./bin/kong-dashboard build

Generating css files
Generating js files...
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open './node_modules/jquery/dist/jquery.min.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at addFile (/opt/kong-dashboard/node_modules/uglify-js/tools/node.js:70:22)
at /opt/kong-dashboard/node_modules/uglify-js/tools/node.js:81:17
at Array.forEach (native)
at Object.exports.minify (/opt/kong-dashboard/node_modules/uglify-js/tools/node.js:79:26)
at /opt/kong-dashboard/lib/kong-dashboard.js:85:32
at f (/opt/kong-dashboard/node_modules/glob/node_modules/once/once.js:25:25)
at Glob. (/opt/kong-dashboard/node_modules/glob/glob.js:151:7)

@PGBI
Copy link
Owner

PGBI commented Jan 2, 2017

what's your npm version?

@w0w
Copy link
Author

w0w commented Jan 2, 2017

2.14.7

@PGBI
Copy link
Owner

PGBI commented Jan 3, 2017

Should be fixed with kong-dashboard v1.3.0

@PGBI PGBI closed this as completed Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants