node package.json WARN engine express#2.5.9 - node.js

This is my package.json
{
"author": "***",
"name": "***",
"email": "***",
"url": "***",
"version": "***",
"homepage": "***",
"description": "***",
"bugs": "***",
"repository": {
"type": "git",
"url": "***"
},
"scripts": {
"start": "node server.js"
},
"license": "Apache License",
"dependencies": {
"bcrypt-nodejs": "0.0.3",
"body-parser": "^1.10.0",
"compression": "^1.2.2",
"connect-flash": "^0.1.1",
"connect-livereload": "^0.5.2",
"connect-mongo": "^0.4.2",
"consolidate": "^0.10.0",
"cookie-parser": "^1.3.3",
"ejs": "^1.0.0",
"errorhandler": "^1.3.2",
"express": "^4.10.6",
"express-jwt": "^1.0.0",
"express-logger": "0.0.3",
"express-session": "^1.9.3",
"express-validator": "^2.7.0",
"formidable": "^1.0.16",
"helmet": "^0.6.1",
"jsonwebtoken": "^3.2.2",
"lodash": "^2.4.1",
"method-override": "^2.3.0",
"mongoose": "^3.8.21",
"morgan": "^1.5.0",
"passport": "^0.2.1",
"passport-local": "^1.0.0",
"serve-favicon": "^2.2.0",
"socket.io": "^1.2.1",
"socketio-jwt": "^2.3.5"
},
"devDependencies": {
"del": "^0.1.3",
"expect.js": "^0.3.1",
"express": "^4.10.6",
"gulp": "^3.8.10",
"gulp-angular-templatecache": "^1.4.2",
"gulp-autoprefixer": "^1.0.1",
"gulp-concat": "^2.4.1",
"gulp-csso": "^0.2.9",
"gulp-express": "^0.1.2",
"gulp-if": "^1.2.5",
"gulp-jasmine": "^1.0.1",
"gulp-jshint": "^1.9.0",
"gulp-minify-html": "^0.1.6",
"gulp-mocha": "^2.0.0",
"gulp-ng-annotate": "^0.3.4",
"gulp-protractor": "0.0.11",
"gulp-rename": "^1.2.0",
"gulp-replace": "^0.5.0",
"gulp-ruby-sass": "^0.7.1",
"gulp-uglify": "^1.0.1",
"jasmine-core": "^2.1.2",
"jshint-stylish": "^1.0.0",
"karma": "^0.12.25",
"karma-chrome-launcher": "^0.1.5",
"karma-html-reporter": "^0.2.4",
"karma-jasmine": "^0.3.0",
"karma-phantomjs-launcher": "^0.1.4",
"karma-spec-reporter": "0.0.13",
"mocha": "^2.1.0",
"protractor": "^1.4.0",
"run-sequence": "^1.0.1",
"supertest": "^0.15.0",
"yargs": "^1.3.2"
},
"engines": {
"node": ">=0.10.x"
}
}
when I run
npm install
I've got :
npm WARN engine express#2.5.9: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.10.33","npm":"1.4.28"})
Does anyone know where the warning come from ?

Related

Issue "TypeError: external_defu_ is not a function" running generate on gitlab

every time I try to launch the generate for my nuxt project on gitlab, I get back for every page generated a strange error,
[error] /Dashboard
TypeError: external_defu_ is not a function
at server.js:12669:45
at Array.reduce (<anonymous>)
at new runtime_BaseScheme (node_modules/#nuxtjs/auth-next/dist/runtime.mjs:883:0)
at new runtime_Oauth2Scheme (node_modules/#nuxtjs/auth-next/dist/runtime.mjs:1137:0)
at auth (node_modules/.cache/nuxt/auth.js:45:0)
at createApp (node_modules/.cache/nuxt/index.js:291:0)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:526:9)
at processTimers (node:internal/timers:500:7)
at async module.exports.__webpack_exports__.default (node_modules/.cache/nuxt/server.js:85:0)
This prevents the page from generating itself correctly.
While if I launch the project locally, with the same version of node, it generates everything correctly.
Do you know how I can solve the problem?
In gitlab's docker I'm using node v12.16.3.
This is my package.json
{
"name": "xxx",
"version": "1.0.0",
"description": "xxx",
"author": "Alessandro",
"private": true,
"scripts": {
"generate": "ENV=production nuxt generate",
generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
},
"dependencies": {
"#nuxtjs/auth": "^4.9.1",
"#nuxtjs/auth-next": "5.0.0-1613647907.37b1156",
"#nuxtjs/axios": "^5.13.1",
"#nuxtjs/pwa": "^3.3.4",
"#vue/composition-api": "^0.6.7",
"aws-sdk": "^2.610.0",
"axios": "^0.21.1",
"bcryptjs": "^2.4.3",
"browser-image-compression": "^1.0.14",
"caniuse-lite": "^1.0.30001257",
"chart.js": "^2.9.3",
"child_process": "^1.0.2",
"compass": "^0.1.1",
"cookie": "^0.4.0",
"cookie-universal-nuxt": "^2.1.4",
"cors": "^2.8.5",
"cross-fetch": "^3.1.5",
"file-saver": "^2.0.2",
"fs": "0.0.1-security",
"gapi-script": "^1.2.0",
"install": "^0.13.0",
"js-cookie": "^2.2.1",
"kaleidoscopejs": "1.0.18",
"leaflet": "^1.6.0",
"lodash": "^4.17.15",
"md5": "^2.2.1",
"moment": "^2.29.3",
"multer": "^1.4.2",
"net": "^1.0.2",
"node-fetch": "^2.6.7",
"node-orientdb-http": "^0.1.1",
"npm": "^8.13.1",
"nuxt": "^2.15.0",
"nuxt-gmaps": "^1.2.10",
"nuxt-i18n": "^6.3.0",
"nuxt-leaflet": "0.0.19",
"nuxt-sass-resources-loader": "^2.0.5",
"p-iteration": "^1.1.8",
"pannellum": "github:saidmoya12/pannellum",
"panolens": "^0.12.1",
"proxy": "^1.0.2",
"readline": "^1.3.0",
"simple-analytics-vue": "^1.1.5",
"tls": "0.0.1",
"videojs": "^1.0.0",
"videojs-panorama": "^0.1.7",
"vue": "2.6.14",
"vue-chartjs": "^3.5.0",
"vue-cookie-accept-decline": "^5.3.1",
"vue-expandable-image": "^0.1.0",
"vue-google-login": "^2.0.3",
"vue-pannellum": "^0.5.3",
"vue-plausible": "^1.2.1",
"vue-rangedate-picker": "^1.0.0",
"vue-rangedate-picker-winslow": "^1.0.8",
"vue-server-renderer": "^2.6.12",
"vue-template-compiler": "^2.6.12",
"vue-tooltipster": "^1.2.0",
"vue-upload-multiple-image": "^1.1.4",
"vue2-google-maps": "^0.10.7",
"vue2-leaflet": "^2.6.0",
"vuedraggable": "^2.23.2",
"vuejs-panorama": "^1.1.9",
"vuejs-vr": "^1.2.2",
"vuetify": "^2.5.12",
"vuex-persistedstate": "^3.0.1",
"webpack": "^4.45.0"
},
"devDependencies": {
"#aceforth/nuxt-optimized-images": "^1.4.0",
"#nuxt/bridge": "npm:#nuxt/bridge-edge#^3.0.0-27268729.5b8e10f",
"#nuxt/image": "^0.7.1",
"#nuxt/types": "^2.14.12",
"#nuxtjs/dotenv": "^1.4.1",
"#nuxtjs/eslint-config": "^3.1.0",
"#nuxtjs/eslint-module": "^2.0.0",
"#nuxtjs/google-analytics": "^2.4.0",
"#nuxtjs/vuetify": "^1.12.3",
"babel-eslint": "^10.0.1",
"eslint": "^7.5.0",
"eslint-plugin-nuxt": ">=0.4.2",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^9.0.0",
"lqip-loader": "^2.2.1",
"responsive-loader": "^2.3.0",
"rimraf": "^3.0.2",
"sharp": "^0.30.7",
"sqip-loader": "^1.0.0",
"webp-loader": "^0.6.0"
}
}
Thank you very much
Alessandro
I also had this issue on Nuxt2 Bridge using #nuxtjs/auth-next. The solution is to transpile defu during the build:
nuxt.config.js
export default defineNuxtConfig({
// ...
build: {
transpile: [
'defu',
],
},
})
The issue and possible solutions are described in the docs: https://v3.nuxtjs.org/guide/going-further/esm/

How to fix “Npm ERR! JSON.parse Unexpected string in JSON at position 5096”

I'm very new and I'm trying to stick to the steps followed by an instructor in Coursera. And I get an error after doing several steps and trying to run lite-server with npm run dev command in CMD:
C:\Users\Spifet\Documents\guia-hoteles>npm run dev
npm ERR! code EJSONPARSE
npm ERR! path C:\Users\Spifet\Documents\guia-hoteles/package.json
npm ERR! JSON.parse Unexpected string in JSON at position 5096 while parsing '{
npm ERR! JSON.parse "devDependencies": {
npm ERR! JSON.parse "lite-serve'
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Spifet\AppData\Local\npm-cache\_logs\2020-11-01T03_21_13_999Z-debug.log
This is how my package.json currently looks like:
{
"devDependencies": {
"lite-server": "^2.5.4"
},
"name": "guia-hoteles",
"version": "1.0.0",
"main": "index.js",
"dependencies": {
"after": "^0.8.2",
"arraybuffer.slice": "^0.0.7",
"accepts": "^1.3.7",
"anymatch": "^3.1.1",
"async": "^1.5.2",
"async-each-series": "^0.1.1",
"ansi-regex": "^2.1.1",
"backo2": "^1.0.2",
"async-limiter": "^1.0.1",
"ansi-styles": "^2.2.1",
"base64id": "^1.0.0",
"batch": "^0.6.1",
"better-assert": "^1.0.2",
"balanced-match": "^1.0.0",
"binary-extensions": "^2.1.0",
"axios": "^0.19.0",
"blob": "^0.0.5",
"brace-expansion": "^1.1.11",
"base64-arraybuffer": "^0.1.5",
"braces": "^3.0.2",
"browser-sync": "^2.26.13",
"browser-sync-client": "^2.26.13",
"browser-sync-ui": "^2.26.13",
"bs-recipes": "^1.3.4",
"callsite": "^1.0.0",
"camelcase": "^5.3.1",
"bytes": "^3.1.0",
"bs-snippet-injector": "^2.0.1",
"color-name": "^1.1.3",
"cliui": "^6.0.0",
"color-convert": "^1.9.3",
"component-bind": "^1.0.0",
"component-inherit": "^0.0.3",
"commander": "^2.20.3",
"component-emitter": "^1.3.0",
"chokidar": "^3.4.3",
"concat-map": "^0.0.1",
"connect": "^3.6.6",
"connect-logger": "^0.0.1",
"cookie": "^0.3.1",
"debug": "^2.6.9",
"depd": "^1.1.2",
"connect-history-api-fallback": "^1.6.0",
"dev-ip": "^1.0.1",
"destroy": "^1.0.4",
"chalk": "^1.1.3",
"decamelize": "^1.2.0",
"dlv": "^1.1.3",
"eazy-logger": "^3.1.0",
"emoji-regex": "^8.0.0",
"ee-first": "^1.1.1",
"escape-html": "^1.0.3",
"easy-extender": "^2.3.4",
"engine.io": "^3.2.1",
"escape-string-regexp": "^1.0.5",
"engine.io-client": "^3.4.4",
"etag": "^1.8.1",
"encodeurl": "^1.0.2",
"finalhandler": "^1.1.0",
"engine.io-parser": "^2.1.3",
"fill-range": "^7.0.1",
"fresh": "^0.5.2",
"eventemitter3": "^4.0.7",
"follow-redirects": "^1.13.0",
"get-caller-file": "^2.0.5",
"find-up": "^4.1.0",
"glob-parent": "^5.1.1",
"fsevents": "^2.1.3",
"has-ansi": "^2.0.0",
"has-binary2": "^1.0.3",
"fs-extra": "^3.0.1",
"graceful-fs": "^4.2.4",
"immutable": "^3.8.2",
"http-proxy": "^1.18.1",
"iconv-lite": "^0.4.24",
"indexof": "^0.0.1",
"inherits": "^2.0.4",
"is-binary-path": "^2.1.0",
"http-errors": "^1.7.3",
"is-extglob": "^2.1.1",
"is-number": "^7.0.0",
"is-buffer": "^2.0.4",
"is-glob": "^4.0.1",
"is-fullwidth-code-point": "^3.0.0",
"has-cors": "^1.1.0",
"is-number-like": "^1.0.8",
"is-wsl": "^1.1.0",
"jsonfile": "^3.0.1",
"locate-path": "^5.0.0",
"limiter": "^1.1.5",
"localtunnel": "^2.0.0",
"lodash.isfinite": "^3.3.2",
"mime": "^1.4.1",
"mime-db": "^1.44.0",
"micromatch": "^4.0.2",
"isarray": "^2.0.1",
"minimatch": "^3.0.4",
"mime-types": "^2.1.27",
"mitt": "^1.2.0",
"object-component": "^0.0.3",
"ms": "^2.0.0",
"normalize-path": "^3.0.0",
"openurl": "^1.1.1",
"on-finished": "^2.3.0",
"negotiator": "^0.6.2",
"opn": "^5.3.0",
"p-locate": "^4.1.0",
"parseqs": "^0.0.6",
"parseuri": "^0.0.6",
"parseurl": "^1.3.3",
"p-try": "^2.2.0",
"p-limit": "^2.3.0",
"picomatch": "^2.2.2",
"path-exists": "^4.0.0",
"minimist": "^1.2.0",
"qs": "^6.2.3",
"portscanner": "^2.1.1",
"range-parser": "^1.2.1",
"readdirp": "^3.5.0",
"raw-body": "^2.4.1",
"resp-modifier": "^6.0.2",
"requires-port": "^1.0.0",
"require-main-filename": "^2.0.0",
"rx": "^4.1.0",
"require-directory": "^2.1.1",
"rxjs": "^5.5.12",
"serve-index": "^1.9.1",
"safer-buffer": "^2.1.2",
"send": "^0.16.2",
"serve-static": "^1.13.2",
"server-destroy": "^1.0.1",
"safe-buffer": "^5.1.2",
"socket.io-adapter": "^1.1.2",
"socket.io": "^2.1.1",
"socket.io-parser": "^3.2.0",
"setprototypeof": "^1.1.1",
"statuses": "^1.3.1",
"strip-ansi": "^3.0.1",
"stream-throttle": "^0.1.3",
"socket.io-client": "^2.3.1",
"supports-color": "^2.0.0",
"symbol-observable": "^1.0.1",
"string-width": "^4.2.0",
"set-blocking": "^2.0.0",
"toidentifier": "^1.0.0",
"to-regex-range": "^5.0.1",
"tfunk": "^4.0.0",
"to-array": "^0.1.4",
"unpipe": "^1.0.0",
"ua-parser-js": "^0.7.22",
"universalify": "^0.1.2",
"ultron": "^1.1.1",
"utils-merge": "^1.0.1",
"which-module": "^2.0.0",
"wrap-ansi": "^6.2.0",
"ws": "^3.3.3",
"yargs-parser": "^18.1.3",
"y18n": "^4.0.0",
"yeast": "^0.1.2",
"lodash": "^4.17.20",
"xmlhttprequest-ssl": "^1.5.5",
"moment": "^2.29.1",
"yargs": "^15.4.1"
},
"scripts": {
"dev" : "lite-server",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://Spifet#bitbucket.org/Spifet/guia-hoteles.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"homepage": "https://bitbucket.org/Spifet/guia-hoteles"
"description": ""
}
Could anyone please tell me how to fix it?
Thanks in advance!

Errors prevented bundling: While processing files with ecmascript (for target web.browser):

I tried to run the command meteor build --directory . to build a bundle directory for the meteor app then I got errors like as follows:
Errors prevented bundling:
While processing files with ecmascript (for target web.browser):
/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/
#babel/core/lib/config/validation/option-assertions.js:146:13:
[BABEL] bundle/programs/web.browser/app/scripts/vendor/modernizr.js: .plugins[0] may only be a two-tuple or three-tuple
at assertPluginItem
(/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules
/#babel/core/lib/config/validation/option-assertions.js:146:13)
at
/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/
#babel/core/lib/config/validation/option-assertions.js:132:14
at Array.forEach (<anonymous>)
at assertPluginList
(/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules
/#babel/core/lib/config/validation/option-assertions.js:131:9)
at
/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/
#babel/core/lib/config/validation/options.js:83:20
at Array.forEach (<anonymous>)
at validate
(/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules
/#babel/core/lib/config/validation/options.js:61:21)
at
/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/
#babel/core/lib/config/index.js:246:36
at cachedFunction
(/home/takhi_abed/.meteor/packages/ecmascript/.0.10.2.113xul7.mfme++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules
/#babel/core/lib/config/caching.js:40:17)
at loadPresetDescriptor...and more lines like these. I looked into some issues on stackoverflow and github and found some commands like meteor npm install --save babel-runtime and tried them but still the same errors show up. It would be great if someone can help.
Here is the .babelrc file:
```
{
"presets": [
],
"plugins": [
[
"transform-class-properties",
"babel-plugin-inline-import",
"babel-plugin-inline-import-graphql-ast",
{
"extensions": [
".graphqls",
".graphql"
]
}
]
]
}```
and here is package.json file:
```{
"name": "enliven-frontend",
"version": "1.8.9",
"engines": {
"npm": "^3.0"
},
"scripts": {
"prestart": "sh prestart_vulcan.sh",
"start": "meteor --settings settings-development.json",
"start-the-show": "meteor --settings settings-production.json",
"lint": "eslint --cache --ext .jsx,js packages"
},
"dependencies": {
"#babel/runtime": "^7.0.0-beta.55",
"analytics-node": "^2.4.1",
"apollo-client": "^1.9.1",
"apollo-engine": "^0.5.4",
"apollo-errors": "^1.4.0",
"apollo-server-express": "^1.3.2",
"bcrypt": "^1.0.3",
"body-parser": "^1.18.2",
"chalk": "2.2.0",
"classnames": "^2.2.5",
"cloudflare": "^2.4.1",
"compression": "^1.7.1",
"cookie-parser": "^1.4.3",
"cross-fetch": "^0.0.8",
"crypto-js": "^3.1.9-1",
"dataloader": "^1.3.0",
"deepmerge": "^1.5.0",
"escape-string-regexp": "^1.0.5",
"express": "^4.15.4",
"flat": "^4.0.0",
"formsy-react": "^0.19.5",
"formsy-react-components": "^0.11.1",
"graphql": "^0.10.5",
"graphql-anywhere": "^3.0.1",
"graphql-date": "^1.0.2",
"graphql-tag": "^2.0.0",
"graphql-tools": "^2.19.0",
"graphql-type-json": "^0.1.4",
"handlebars": "^4.0.10",
"he": "^1.1.1",
"history": "^3.3.0",
"html-to-text": "^2.1.3",
"immutability-helper": "^2.3.1",
"import": "0.0.6",
"install": "^0.10.1",
"intl": "^1.2.5",
"intl-locales-supported": "^1.0.0",
"isomorphic-fetch": "^2.2.1",
"json-path": "^0.1.3",
"juice": "^1.11.0",
"lodash": "^4.17.5",
"mailchimp": "^1.2.0",
"marked": "^0.3.9",
"metascraper": "^1.0.7",
"meteor-node-stubs": "^0.3.2",
"mingo": "^0.8.1",
"moment": "^2.18.1",
"new-relic-agent-react": "^2.0.1",
"optics-agent": "^1.1.6",
"photoswipe": "^4.1.2",
"prop-types": "^15.5.10",
"rangy": "^1.3.0",
"react": "^16.2.0",
"react-addons-pure-render-mixin": "^15.6.0",
"react-apollo": "^1.4.15",
"react-bootstrap": "^0.32.0",
"react-bootstrap-datetimepicker": "0.0.22",
"react-cookie": "^0.4.9",
"react-country-region-selector": "^1.1.0",
"react-datetime": "^2.11.1",
"react-dfp": "^0.7.5",
"react-dom": "^16.2.0",
"react-dropzone": "^3.13.4",
"react-flexview": "^1.0.13",
"react-headroom": "^2.2.1",
"react-helmet": "^5.2.0",
"react-image-smooth-loading": "^2.0.0",
"react-intl": "^2.3.0",
"react-lazyload": "^2.3.0",
"react-load-script": "0.0.6",
"react-loadable": "^4.0.4",
"react-masonry-component": "^5.0.7",
"react-places-autocomplete": "^5.4.2",
"react-progressive-image-loading": "^3.0.2",
"react-redux": "^5.0.6",
"react-router": "^3.2.0",
"react-router-bootstrap": "^0.23.3",
"react-router-scroll": "^0.4.4",
"react-sidebar": "^2.3.2",
"react-stripe-checkout": "^2.4.0",
"react-swipeable": "^4.3.0",
"recompose": "^0.26.0",
"redux": "^3.7.2",
"rss": "^1.2.2",
"sanitize-html": "^1.16.3",
"sendy-api": "^0.1.0",
"simpl-schema": "^0.2.3",
"sitemap": "^1.13.0",
"speakingurl": "^9.0.0",
"stripe": "^4.24.0",
"styled-components": "^2.1.2",
"tracker-component": "^1.3.21",
"twit": "^2.2.9",
"underscore": "^1.8.3",
"url": "^0.11.0"
},
`` "private": true,
"devDependencies": {
"autoprefixer": "^7.1.2",
"babel-eslint": "^7.0.0",
"babel-plugin-inline-import": "^2.0.6",
"babel-plugin-inline-import-graphql-ast": "^2.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"compass-sass-mixins": "^0.12.7",
"eslint": "^3.10.1",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-meteor": "0.0.9",
"eslint-import-resolver-meteor": "^0.3.3",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-meteor": "^4.0.1",
"eslint-plugin-prettier": "^2.5.0",
"eslint-plugin-react": "^6.7.1"
},
"postcss": {
"plugins": {
"postcss-easy-import": {
"extensions": [
".css",
".scss",
".import.css"
],
"prefix": "_"
},
"postcss-simple-vars": {},
"postcss-sassy-mixins": {},
"postcss-nested": {},
"autoprefixer": {
"browsers": [
"last 2 versions"
]
}
},
"parser": "postcss-scss"
},
"cssModules": {
"ignorePaths": [
"node_modules",
"bower_components"
]
},
"description": "## Requirements",
"main": "mobile-config.js",
"repository": {
"type": "git",
"url": "git+ssh://git#gitlab.com/enliven/enliven-frontend.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://gitlab.com/enliven/enliven-frontend/issues"
},
"homepage": "https://gitlab.com/enliven/enliven-frontend#README"
}```
I don’t think that you are able to create a bundle into the . folder.
You are meant to pass it the folder in which to store the bundled files which must be different. I would suggest that you create a .bundle folder and pass that to the bundle command. The dot is important because meteor will ignore folders and files beginning with a dot

Project is not running in node latest version

i have been working on a project, previously i was fine but after upgraded to node v8.9.4 my project is not working, it does not showing any errors none of the api's are running can please some one help
here is my package.json
{
"name": "v2",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "nodemon -e html,css,js -i node_modules bin/server.js"
},
"dependencies": {
"async": "^1.4.2",
"aws-sdk": "^2.5.1",
"body-parser": "~1.12.4",
"bson": "^0.4.23",
"compression": "^1.5.2",
"connect-mongo": "~0.8.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"email-existence": "^0.1.5",
"express": "^4.12.4",
"express-session": "~1.11.3",
"fb": "^1.1.1",
"gm": "^1.18.1",
"html-pdf": "^2.0.1",
"image-size": "^0.5.0",
"jimp": "^0.2.24",
"jsonwebtoken": "^7.0.1",
"mailcomposer": "^3.10.0",
"mailgun": "^0.5.0",
"mailgun-js": "^0.7.10",
"mime": "^1.3.4",
"moment": "^2.13.0",
"mongodb": "^1.4.38",
"mongoskin": "^1.4.13",
"morgan": "~1.5.3",
"multer": "^1.0.3",
"node-schedule": "^1.1.1",
"nodemailer": "v0.7.1",
"paperwork": "^2.1.1",
"paypal-rest-sdk": "^1.6.8",
"qs": "^4.0.0",
"quick-pay": "^1.2.0",
"serve-favicon": "~2.2.1",
"sharp": "^0.15.1",
"swig": "^1.4.2",
"underscore": "^1.8.3"
},
"devDependencies": {
"request": "^2.58.0",
"striptags": "^2.0.2"
}
}

lodash is not in the npm registry - MEAN.io

I´m simply trying to configure MEAN.io (also tried MEAN.js), but npm always fails on update because of the module loadash. It says
Error 404 - Module lodash is not in the npm registry
How can I solve this dependency issue?
{
"name": "MyWebApp",
"description": "MEAN.io: A fullstack JavaScript framework powered by MongoDB, ExpressJS, AngularJS, NodeJS.",
"version": "0.4.3",
"private": false,
"author": "Linnovate <mean#linnovate.net>",
"contributors": "https://github.com/linnovate/mean/graphs/contributors",
"mean": "0.4.3",
"repository": {
"type": "git",
"url": "https://github.com/linnovate/mean.git"
},
"engines": {
"node": "0.10.x",
"npm": "1.3.x"
},
"scripts": {
"start": "node server",
"mocha": "node node_modules/.bin/mocha packages/**/server/tests/**/*.js -R spec -r tools/test/mocha-req.js",
"karma": "node node_modules/karma/bin/karma start",
"test": "npm run mocha && npm run karma",
"postinstall": "node node_modules/meanio/node_modules/mean-cli/bin/mean-postinstall"
},
"dependencies": {
"assetmanager": "1.1.2",
"async": "0.9.0",
"body-parser": "1.10.0",
"compression": "1.2.1",
"connect-flash": "0.1.1",
"consolidate": "0.10.0",
"cookie-parser": "1.3.3",
"errorhandler": "1.3.0",
"express": "4.11.1",
"forever": "0.11.1",
"gridfs-stream": "0.5.3",
"lodash": "3.3.0",
"meanio": "linnovate/meanio",
"mongoose": "3.8.21",
"morgan": "1.5.0",
"ms": "0.6.2",
"nodemailer": "1.2.2",
"passport-facebook": "1.0.3",
"passport-github": "0.1.5",
"passport-google-oauth": "0.1.5",
"passport-linkedin": "0.1.3",
"passport-local": "1.0.0",
"passport-twitter": "1.0.2",
"serve-favicon": "2.2.0",
"swig": "1.4.2",
"time-grunt": "^1.0.0",
"view-helpers": "0.1.5",
"grunt-cli": "^0.1.13",
"grunt-hook": "~0.3.0",
"grunt-concurrent": "^1.0.0",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-csslint": "^0.3.1",
"grunt-contrib-cssmin": "^0.10.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.5.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-env": "^0.4.1",
"grunt-nodemon": "^0.3.0",
"load-grunt-tasks": "^0.6.0"
},
"devDependencies": {
"expect.js": "0.3.1",
"grunt-karma": "^0.8.2",
"grunt-mocha-test": "^0.10.2",
"karma": "0.12.28",
"karma-chrome-launcher": "0.1.7",
"karma-coffee-preprocessor": "0.2.1",
"karma-coverage": "0.2.7",
"karma-firefox-launcher": "0.1.3",
"karma-html2js-preprocessor": "0.1.0",
"karma-jasmine": "0.2.3",
"karma-ng-html2js-preprocessor": "0.1.2",
"karma-ng-scenario": "0.1.0",
"karma-phantomjs-launcher": "0.1.4",
"karma-requirejs": "0.2.2",
"karma-script-launcher": "0.1.0",
"mocha": "2.1.0",
"requirejs": "2.1.15",
"supertest": "0.11.0",
"del": "^0.1.3",
"gulp": "^3.8.8",
"gulp-concat": "^2.4.1",
"gulp-csslint": "^0.1.5",
"gulp-cssmin": "^0.1.6",
"gulp-jshint": "^1.8.5",
"gulp-less": "^1.3.6",
"gulp-livereload": "^2.1.1",
"gulp-load-plugins": "^0.7.0",
"gulp-mocha": "^1.1.0",
"gulp-nodemon": "^1.0.4",
"gulp-rimraf": "^0.1.1",
"gulp-uglify": "^1.0.1",
"gulp-util": "^3.0.1",
"jshint-stylish": "^1.0.0",
"through": "^2.3.6"
}
}

Resources