I am experiencing 2 errors in my current build, these appear to be CssSyntaxErrors. Could this be due to deprecated modules? Also, the terminal output seems to be pointing to src/index.tsx Unknown word I'm unsure where the error lies here. I understand that "use strict"; is used in the modules in question but is this causing a problem in my .tsx file within my src folder? Any help is greatly appreciated, thank you.
Here is my terminal output:
blakelucey#Blakes-Air fsd-next % yarn run build
yarn run v1.22.15
warning ../../package.json: No license field
$ webpack --progress
BUILD_DIR /Users/blakelucey/Desktop/fsd-next/build
SRC_DIR /Users/blakelucey/Desktop/fsd-next/src
assets by status 19.2 KiB [cached] 2 assets
runtime modules 41 KiB 15 modules
orphan modules 39 bytes [orphan] 1 module
./src/index.tsx 39 bytes [built] [code generated]
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
ERROR in ./src/index.tsx (./src/index.tsx.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js!./node_modules/ts-loader/index.js!./src/index.tsx)
Module build failed (from ./node_modules/css-loader/dist/cjs.js):
CssSyntaxError
(1:1) /Users/blakelucey/Desktop/fsd-next/src/index.tsx Unknown word
> 1 | "use strict";
| ^
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var React = require("react");
# ./src/index.tsx
ERROR in ./src/index.tsx
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
CssSyntaxError
(1:1) /Users/blakelucey/Desktop/fsd-next/src/index.tsx Unknown word
> 1 | "use strict";
| ^
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var React = require("react");
at tryRunOrWebpackError (/Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/HookWebpackError.js:88:9)
at __webpack_require_module__ (/Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4966:12)
at __webpack_require__ (/Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4923:18)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4994:20
at symbolIterator (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3485:9)
at done (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3527:9)
at Hook.eval [as callAsync] (eval at create (/Users/blakelucey/Desktop/fsd-next/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4901:43
at symbolIterator (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3482:9)
at timesSync (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:2297:7)
at Object.eachLimit (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3463:5)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4866:16
at symbolIterator (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3485:9)
at timesSync (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:2297:7)
at Object.eachLimit (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3463:5)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4834:15
-- inner error --
Error: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
CssSyntaxError
(1:1) /Users/blakelucey/Desktop/fsd-next/src/index.tsx Unknown word
> 1 | "use strict";
| ^
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var React = require("react");
at Object.<anonymous> (/Users/blakelucey/Desktop/fsd-next/node_modules/css-loader/dist/cjs.js!/Users/blakelucey/Desktop/fsd-next/node_modules/ts-loader/index.js!/Users/blakelucey/Desktop/fsd-next/src/index.tsx:1:7)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js:432:11
at Hook.eval [as call] (eval at create (/Users/blakelucey/Desktop/fsd-next/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4968:39
at tryRunOrWebpackError (/Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/HookWebpackError.js:83:7)
at __webpack_require_module__ (/Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4966:12)
at __webpack_require__ (/Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4923:18)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4994:20
at symbolIterator (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3485:9)
at done (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3527:9)
at Hook.eval [as callAsync] (eval at create (/Users/blakelucey/Desktop/fsd-next/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4901:43
at symbolIterator (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3482:9)
at timesSync (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:2297:7)
at Object.eachLimit (/Users/blakelucey/Desktop/fsd-next/node_modules/neo-async/async.js:3463:5)
at /Users/blakelucey/Desktop/fsd-next/node_modules/webpack/lib/Compilation.js:4866:16
Generated code for /Users/blakelucey/Desktop/fsd-next/node_modules/css-loader/dist/cjs.js!/Users/blakelucey/Desktop/fsd-next/node_modules/ts-loader/index.js!/Users/blakelucey/Desktop/fsd-next/src/index.tsx
1 | throw new Error("Module build failed (from ./node_modules/css-loader/dist/cjs.js):\nCssSyntaxError\n\n(1:1) /Users/blakelucey/Desktop/fsd-next/src/index.tsx Unknown word\n\n\u001b[1m\u001b[31m>\u001b[39m\u001b[22m\u001b[90m 1 | \u001b[39m\u001b[32m\"use strict\"\u001b[39m\u001b[33m;\u001b[39m\n \u001b[90m | \u001b[39m\u001b[1m\u001b[31m^\u001b[39m\u001b[22m\n \u001b[90m 2 | \u001b[39m\u001b[36mObject.defineProperty\u001b[39m\u001b[36m(\u001b[39mexports, \u001b[32m\"__esModule\"\u001b[39m, \u001b[33m{\u001b[39m value\u001b[33m:\u001b[39m true \u001b[33m}\u001b[39m\u001b[36m)\u001b[39m\u001b[33m;\u001b[39m\n \u001b[90m 3 | \u001b[39mvar React = \u001b[36mrequire\u001b[39m\u001b[36m(\u001b[39m\u001b[32m\"react\"\u001b[39m\u001b[36m)\u001b[39m\u001b[33m;\u001b[39m\n");
webpack 5.58.2 compiled with 2 errors and 1 warning in 8550 ms
error Command failed with exit code 1.
Related
I am trying to get #next/mdx running with the new app directory. I followed the setup in the Readme of the package but i get the following error message when I try to render an mdx page. I can not find any information on this package what so ever.
Module not found: Can't resolve 'next-mdx-import-source-file'
1 | import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
> 2 | import { useMDXComponents as _provideComponents } from "next-mdx-import-source-file";
3 | function _createMdxContent(props) {
4 | const _components = Object.assign({
5 | h1: "h1",
This error occurs if the file mdx-components.js is not present in the project root directory.
This dependency is not an actual package but rather some next magic which actually imports the mdx-components.js file. In my case I missed out on on the plural.
Version:
symfony v5.2.7
symfony/webpack-encore-bundle v1.11.2
I want to set the name of my assets with my real version name.
My prefered way would be to use enableVersioning and generate the hash myself, but i didn't find how.
The hack i found is by replacing .enableVersioning(Encore.isProduction()) with :
.configureFilenames({
js: '[name].js?version=' + version,
css: '[name].css?version=' + version
})
Here is my webpack.config.js file
var Encore = require('#symfony/webpack-encore');
// var version = require('./package.json').version;
// Manually configure the runtime environment if not already configured yet by the "encore" command.
// It's useful when you use tools that rely on webpack.config.js file.
if (!Encore.isRuntimeEnvironmentConfigured()) {
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
}
Encore
// directory where compiled assets will be stored
.setOutputPath('public/build/')
// public path used by the web server to access the output path
.setPublicPath('/build')
// only needed for CDN's or sub-directory deploy
.setManifestKeyPrefix('build/')
/*
* ENTRY CONFIG
*
* Add 1 entry for each "page" of your app
* (including one that's included on every page - e.g. "app")
*
* Each entry will result in one JavaScript file (e.g. app.js)
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
*/
.addEntry('app', './assets/app.js')
.addEntry('login', './assets/js/scenes/login.js')
.addEntry('home', './assets/js/scenes/home.js')
.addEntry('container', './assets/js/scenes/container.js')
.addEntry('aside', './assets/js/component/containerGroupSelector.js')
.addEntry('chart', './assets/js/component/containerMeasuresChart.js')
.addEntry('alerts', './assets/js/scenes/alertsList.js')
.addEntry('createAlert', './assets/js/scenes/createAlert.js')
.addEntry('profile', './assets/js/scenes/profile.js')
.addEntry('sensor', './assets/js/scenes/sensorList.js')
.addEntry('sensorShow', './assets/js/scenes/sensorShow.js')
//.addEntry('page2', './assets/page2.js')
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
//.splitEntryChunks()
// will require an extra script tag for runtime.js
// but, you probably want this, unless you're building a single-page app
.enableSingleRuntimeChunk()
//.disableSingleRuntimeChunk()
/*
* FEATURE CONFIG
*
* Enable & configure other features below. For a full
* list of features, see:
* https://symfony.com/doc/current/frontend.html#adding-more-features
*/
.cleanupOutputBeforeBuild()
.enableBuildNotifications()
.enableSourceMaps(!Encore.isProduction())
// enables hashed filenames (e.g. app.abc123.css)
.enableVersioning(Encore.isProduction())
// .configureFilenames({
// js: '[name].js?version=' + version,
// css: '[name].css?version=' + version
// })
// enables #babel/preset-env polyfills
.configureBabelPresetEnv((config) => {
config.useBuiltIns = 'usage';
config.corejs = 3;
})
// refresh browser
.configureWatchOptions(function(watchOptions) {
// enable polling and check for changes every 250ms
// polling is useful when running Encore inside a Virtual Machine
watchOptions.poll = 250;
})
// enables Sass/SCSS support
.enableSassLoader()
.copyFiles({
from: './assets/images',
to: 'images/[path][name].[ext]',
pattern: /\.(png|jpg|jpeg|svg)$/
})
.copyFiles({
from: './assets/icon',
to: 'icon/[path][name].[ext]',
pattern: /\.(png|jpg|jpeg|svg)$/
})
// uncomment if you use TypeScript
//.enableTypeScriptLoader()
// uncomment to get integrity="..." attributes on your script & link tags
// requires WebpackEncoreBundle 1.4 or higher
//.enableIntegrityHashes(Encore.isProduction())
// uncomment if you're having problems with a jQuery plugin
//.autoProvidejQuery()
// uncomment if you use API Platform Admin (composer req api-admin)
//.enableReactPreset()
//.addEntry('admin', './assets/admin.js')
;
module.exports = Encore.getWebpackConfig();
If I uncomment var version = require('./package.json').version; and replace enableVersioning by configureFilenames (see above) I get the following error when building assets :
panel | (node:74) UnhandledPromiseRejectionWarning: Error: Problem deleting JS entry for _tmp_copy: 0 files were deleted
panel | at /var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:41:27
panel | at Array.forEach (<anonymous>)
panel | at emit (/var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:19:28)
panel | at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:65:1)
panel | at AsyncSeriesHook.lazyCompileHook (/var/www/panel/node_modules/tapable/lib/Hook.js:154:20)
panel | at Compiler.emitAssets (/var/www/panel/node_modules/webpack/lib/Compiler.js:491:19)
panel | at onCompiled (/var/www/panel/node_modules/webpack/lib/Compiler.js:278:9)
panel | at /var/www/panel/node_modules/webpack/lib/Compiler.js:681:15
panel | at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:4:1)
panel | at AsyncSeriesHook.lazyCompileHook (/var/www/panel/node_modules/tapable/lib/Hook.js:154:20)
panel | at /var/www/panel/node_modules/webpack/lib/Compiler.js:678:31
panel | at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
panel | at AsyncSeriesHook.lazyCompileHook (/var/www/panel/node_modules/tapable/lib/Hook.js:154:20)
panel | at /var/www/panel/node_modules/webpack/lib/Compilation.js:1423:35
panel | at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
panel | at AsyncSeriesHook.lazyCompileHook (/var/www/panel/node_modules/tapable/lib/Hook.js:154:20)
panel | at /var/www/panel/node_modules/webpack/lib/Compilation.js:1414:32
panel | at eval (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:17:1)
panel | (node:74) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
panel | (node:74) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
UPDATE:
After Upgrading the node package#symfony/webpack-encore to 1.3.0, here is the new error message:
[webpack-cli] HookWebpackError: Problem deleting JS entry for _tmp_copy: 0 files were deleted ()
at makeWebpackError (/var/www/panel/node_modules/webpack/lib/HookWebpackError.js:49:9)
at /var/www/panel/node_modules/webpack/lib/Compilation.js:2496:12
at eval (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:79:1)
at fn (/var/www/panel/node_modules/webpack/lib/Compilation.js:427:17)
at Hook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:76:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/www/panel/node_modules/tapable/lib/Hook.js:18:14)
at cont (/var/www/panel/node_modules/webpack/lib/Compilation.js:2493:34)
at /var/www/panel/node_modules/webpack/lib/Compilation.js:2539:10
at /var/www/panel/node_modules/neo-async/async.js:2830:7
at Object.each (/var/www/panel/node_modules/neo-async/async.js:2850:39)
-- inner error --
Error: Problem deleting JS entry for _tmp_copy: 0 files were deleted ()
at /var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:49:27
at Set.forEach (<anonymous>)
at deleteEntries (/var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:18:28)
at /var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:59:17
at /var/www/panel/node_modules/webpack/lib/Compilation.js:531:56
at fn (/var/www/panel/node_modules/webpack/lib/Compilation.js:425:10)
at Hook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:76:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/www/panel/node_modules/tapable/lib/Hook.js:18:14)
at cont (/var/www/panel/node_modules/webpack/lib/Compilation.js:2493:34)
at /var/www/panel/node_modules/webpack/lib/Compilation.js:2539:10
caused by plugins in Compilation.hooks.processAssets
Error: Problem deleting JS entry for _tmp_copy: 0 files were deleted ()
at /var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:49:27
at Set.forEach (<anonymous>)
at deleteEntries (/var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:18:28)
at /var/www/panel/node_modules/#symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:59:17
at /var/www/panel/node_modules/webpack/lib/Compilation.js:531:56
at fn (/var/www/panel/node_modules/webpack/lib/Compilation.js:425:10)
at Hook.eval [as callAsync] (eval at create (/var/www/panel/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:76:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/www/panel/node_modules/tapable/lib/Hook.js:18:14)
at cont (/var/www/panel/node_modules/webpack/lib/Compilation.js:2493:34)
at /var/www/panel/node_modules/webpack/lib/Compilation.js:2539:10
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I'm on win 7.
Code:
// #flow
import React from 'react';
import styled from 'styled-components';
Errors:
... many lines of errors
Error: node_modules/styled-components/lib/utils/create-broadcast.js.flow:20
20: listeners.forEach(listener => listener(currentValue))
^^^^^^^^^^^^ unused
function argument
10: subscribe: (listener: () => void) => () => void
^^^^^^^^^^ function type expects no arguments
Error: node_modules/styled-components/lib/utils/create-broadcast.js.flow:26
26: listener(currentValue)
^^^^^^^^^^^^ unused function argument
10: subscribe: (listener: () => void) => () => void
^^^^^^^^^^ function type expects no arguments
Error: node_modules/styled-components/lib/utils/getComponentName.js.flow:4
4: export default function getComponentName(target: ReactClass<*>): string {
^^^^^^^^^^^^^ identifier `ReactClass`. Could not resolve name
Found 24 errors
error Command failed with exit code 2
.flowconfig:
[ignore]
./build/.*
./node_modules/.*
[include]
[libs]
[lints]
[options]
suppress_comment=.*\\$FlowFixMe
[strict]
The package.json file is below:
"flow-typed": "^2.2.3",
"flow-bin": "^0.59.0",
"styled-components": "2.0.0",
Used project scaffold from https://github.com/react-boilerplate/react-boilerplate # 3.5.0
I saw in a comment to use libdef 1.4, but when I run yarn add --dev flow-typed#1.4 I only get version 1 or version 2.x.x, but no 1.4.
What to do next?
If you want flow to stop checking node_modules you can either ignore them in .flowconfig or include only your source files.
To ignore everything in node_modules:
[ignore]
.*/node_modules/.*
Pay attention:
These regular expressions match against absolute paths. They probably should start with .*
More info here
I am attempting to do a static build Asterisk 11 under Debian 8. I have downloaded the sources etc. and think I have satisfied all the packages required for the various dependencies, but am getting the following when I make
...
[CC] recno/rec_delete.c -> recno/rec_delete.o
[CC] recno/rec_get.c -> recno/rec_get.o
[CC] recno/rec_open.c -> recno/rec_open.o
[CC] recno/rec_put.c -> recno/rec_put.o
[CC] recno/rec_search.c -> recno/rec_search.o
[CC] recno/rec_seq.c -> recno/rec_seq.o
[CC] recno/rec_utils.c -> recno/rec_utils.o
[AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a
[LD] astdb2sqlite3.o db1-ast/libdb1.a -> astdb2sqlite3
[CC] astdb2bdb.c -> astdb2bdb.o
[LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb
[CC] chan_local.c -> chan_local.o
[LD] chan_local.o -> chan_local.so
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginT.o: relocation R_X86_64_32 against `__TMC_END__' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginT.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
/usr/src/asterisk-11/Makefile.rules:170: recipe for target 'chan_local.so' failed
make[1]: *** [chan_local.so] Error 1
Makefile:397: recipe for target 'channels' failed
make: *** [channels] Error 2
I am really struggling to understand what is happening here. Any suggestions?
I have started getting errors when I launch a brand new default Meteor app.
$ meteor --version
Meteor 1.2
Here are my steps to reproduce on Mac OS 10.10.5:
Reboot the computer, open a Terminal window and run...
$ meteor create test
$ cd test
$ meteor
Open a browser window at http://localhost:3000
Server error:
=> App running at: http://localhost:3000/
Internal exception while processing message { msg: 'connect',
version: '1',
support: [ '1', 'pre2', 'pre1' ] } Cannot read property '_CurrentInvocation' of undefined TypeError: Cannot read property '_CurrentInvocation' of undefined
at withoutInvocation (packages/meteor/packages/meteor.js:404:1)
at bindAndCatch (packages/meteor/packages/meteor.js:414:1)
at Object._.extend.setInterval (packages/meteor/packages/meteor.js:441:1)
at [object Object]._.extend._startHeartbeatIntervalTimer (packages/ddp-common/packages/ddp-common.js:71:1)
at [object Object]._.extend.start (packages/ddp-common/packages/ddp-common.js:66:1)
at new Session (livedata_server.js:312:20)
at [object Object]._.extend._handleConnect (livedata_server.js:1427:29)
at livedata_server.js:1356:18
Browser error:
Uncaught TypeError: Cannot read property '_CurrentInvocation' of undefinedwithoutInvocation # meteor.js:407bindAndCatch # meteor.js:417_.extend.setInterval # meteor.js:444_.extend._startHeartbeatIntervalTimer # ddp-common.js:71_.extend.start # ddp-common.js:66_.extend._livedata_connected # ddp-client.js:4158onMessage # ddp-client.js:3310(anonymous function) # ddp-client.js:2704_.each._.forEach # underscore.js:134_.extend._launchConnection.self.socket.onmessage # ddp-client.js:2703REventTarget.dispatchEvent # ddp-client.js:143SockJS._dispatchMessage # ddp-client.js:1128SockJS._didMessage # ddp-client.js:1186SockJS.websocket.that.ws.onmessage # ddp-client.js:1333
meteor.js:862 Received error from server: Must connect first
meteor.js:864 For: Object {msg: "sub", id: "ARDnnLu2X7G7WfWgx", name: "meteor_autoupdate_clientVersions", params: Array[0]}id: "ARDnnLu2X7G7WfWgx"msg: "sub"name: "meteor_autoupdate_clientVersions"params: Array[0]length: 0__proto__: Array[0]__proto__: Object
The app seems to run normally. What does this error mean?
Run meteor update to update Meteor to version 1.2.0.1.
Read more about this error.