You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details:
my-pc$ npm i sails && npm i sails-mysql-transactions
npm WARN gentlyRm not removing /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails/node_modules/.bin/grunt as it wasn't installed by /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails/node_modules/grunt-cli
sails-mysql-transactions: WARNING - detected sails-mysql.
sails-mysql-transactions: You may face unexpected behaviour.
sails-mysql-transactions: Preferably remove sails-mysql from packages before using this in production.
sails-mysql-transactions: Injecting waterline into sails...
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated geojsonhint@1.2.1: This module is now under the @mapbox namespace: install @mapbox/geojsonhint instead
npm WARN deprecated native-or-bluebird@1.1.2: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global jsonlint-lines@1.7.1 should be installed with -g
npm notice created a lockfile as package-lock.json. You should commit this file.
added 752 packages, removed 1 package and updated 1 package in 99.333s
npm WARN checkPermissions Missing write access to /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/async
npm WARN checkPermissions Missing write access to /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/bluebird
npm WARN checkPermissions Missing write access to /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules
npm ERR! path /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/async
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access '/Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/async'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/annuay/.npm/_logs/2017-06-07T14_22_18_390Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 254
npm ERR! sails-mysql-transactions@0.8.3-hotfix.1 postinstall: scripts/postinstall.sh
npm ERR! Exit status 254
npm ERR!
npm ERR! Failed at the sails-mysql-transactions@0.8.3-hotfix.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/annuay/.npm/_logs/2017-06-07T14_22_34_986Z-debug.log
The text was updated successfully, but these errors were encountered:
I do not have a real fix to the issue. However, I feel that it is related to npm version. I downgraded the npm version to 4.1.2 (and node 8.1.1) and it installed fine.
NPM error while running the postinstall script.
Details:
my-pc$ npm i sails && npm i sails-mysql-transactions
npm WARN gentlyRm not removing /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails/node_modules/.bin/grunt as it wasn't installed by /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails/node_modules/grunt-cli
Sails.js Installation: Checking npm-version successful
sails-mysql-transactions: WARNING - detected sails-mysql.
sails-mysql-transactions: You may face unexpected behaviour.
sails-mysql-transactions: Preferably remove sails-mysql from packages before using this in production.
sails-mysql-transactions: Injecting waterline into sails...
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated geojsonhint@1.2.1: This module is now under the @mapbox namespace: install @mapbox/geojsonhint instead
npm WARN deprecated native-or-bluebird@1.1.2: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global jsonlint-lines@1.7.1 should be installed with -g
npm notice created a lockfile as package-lock.json. You should commit this file.
added 752 packages, removed 1 package and updated 1 package in 99.333s
npm WARN checkPermissions Missing write access to /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/async
npm WARN checkPermissions Missing write access to /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/bluebird
npm WARN checkPermissions Missing write access to /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules
npm ERR! path /Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/async
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access '/Users/annuay/Kapitalwise/sailsmysqltesting/versions_of_code/kw_web_services_version_3/node_modules/sails-mysql-transactions/waterline/node_modules/async'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/annuay/.npm/_logs/2017-06-07T14_22_18_390Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 254
npm ERR! sails-mysql-transactions@0.8.3-hotfix.1 postinstall:
scripts/postinstall.sh
npm ERR! Exit status 254
npm ERR!
npm ERR! Failed at the sails-mysql-transactions@0.8.3-hotfix.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/annuay/.npm/_logs/2017-06-07T14_22_34_986Z-debug.log
The text was updated successfully, but these errors were encountered: