Unexptected reserved word "import".

I get an error coming from the webpack-isomorphic-tools-configuration.js file which is
[0] /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-isomorphic-tools-configuration.js:1
[0] (function (exports, require, module, __filename, __dirname) { import Webpack_i
[0]                                                               ^^^^^^
[0] SyntaxError: Unexpected reserved word
[0]     at exports.runInThisContext (vm.js:73:16)
[0]     at Module._compile (module.js:443:25)
[0]     at Object.Module._extensions..js (module.js:478:10)
[0]     at Module.load (module.js:355:32)
[0]     at Function.Module._load (module.js:310:12)
[0]     at Module.require (module.js:365:17)
[0]     at require (module.js:384:17)
[0]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack.client.js:4:75)
[0]     at Module._compile (module.js:460:26)
[0]     at Object.Module._extensions..js (module.js:478:10)

Tried to modify it with the require() method instead then got the same error but with the export word on line 3. I am probably doing something wrong.
This is the line 4 of my webpack.client.js file which is my webpack configuration.
var webpack_isomorphic_tools_plugin = new Webpack_isomorphic_tools_plugin(require('./webpack-isomorphic-tools-configuration')).development();

Any help would be appreciated!

Post here your ./webpack-isomorphic-tools-configuration.js to begin with

Almost copied and past the example you have here.
import Webpack_isomorphic_tools_plugin from 'webpack-isomorphic-tools/plugin'

export default
{
	assets:
	{
		style:
		{
			extensions: ['scss'],
			parser: Webpack_isomorphic_tools_plugin.url_loader_parser // see Configuration and API sections for more info on this parameter
		}
	}
}

Well, it has import on the top, but are you using Babel?
Maybe I don't and in that case you should change it to regular ES5
var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin')

module.exports =
{
    assets:
    {
        style:
        {
            extensions: ['scss'],
            parser: Webpack_isomorphic_tools_plugin.url_loader_parser // see Configuration and API sections for more info on this parameter
        }
    }
}

Tried that too, didn't have the reserved word error but couldn't import my .scss file either. Now I get the same error as before without the webpack-isomorphic-tools.
[1] [piping] can't execute file: /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/babel.server.js
[1] [piping] error given was: SyntaxError: /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/style/scss/test.scss: Unexpected token (1:0)
[1] > 1 | .container
[1]     | ^
[1]   2 | {
[1]   3 |       background-color: red;
[1]   4 | }

Well, post here your webpack-assets.json

This file is not created anywhere. Here's my webpack.configuration.js file.
var webpack = require("webpack");
var path = require("path");
var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin');
var webpack_isomorphic_tools_plugin = new Webpack_isomorphic_tools_plugin(require('./webpack-isomorphic-tools-configuration')).development();

module.exports = {
	target:  "web",
	cache:   false,
	context: __dirname,
	devtool: false,
	entry:   ["./src/config/client"],
	output:  {
		path:          path.join(__dirname, "build/dist"),
		filename:      "client.js",
		chunkFilename: "[name].[id].js",
		publicPath:    "dist/"
	},
	plugins: [
		new webpack.DefinePlugin({__CLIENT__: true, __SERVER__: false}),
		new webpack.DefinePlugin({"process.env": {NODE_ENV: '"production"'}}),
		new webpack.optimize.DedupePlugin(),
		new webpack.optimize.OccurenceOrderPlugin(),
		new webpack.optimize.UglifyJsPlugin(),
		webpack_isomorphic_tools_plugin
	],
	module:  {
		loaders: [
			{
				test: /\.json$/,
				loaders: ["json-loader"]
			},
			{
				test: webpack_isomorphic_tools_plugin.regular_expression('style'),
				loaders: ["style", "css", "sass"]
			},
			{
				test: /\.js$/,
				loaders: ["babel-loader?stage=0&optional=runtime&plugins=typecheck"], exclude: /node_modules/
			}
		]
	},
	resolve: {
		modulesDirectories: [
			"src",
			"node_modules",
			"web_modules",
			"style"
		],
		extensions: ["", ".json", ".js", ".scss"]
	},
	node:    {
		__dirname: true,
		fs:  "empty",
		net: "empty",
		tls: "empty"
	}
};

{
  "javascript": {
    "main": "http://localhost:8080/dist/client.js"
  },
  "styles": {},
  "assets": {
    "./style/scss/test.scss": "var __webpack_public_path__ = \"http://localhost:8080/dist/\";\n\n// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../node_modules/css-loader/index.js!./../../node_modules/sass-loader/index.js!./test.scss\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!./../../node_modules/style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../node_modules/css-loader/index.js!./../../node_modules/sass-loader/index.js!./test.scss\", function() {\n\t\t\tvar newContent = require(\"!!./../../node_modules/css-loader/index.js!./../../node_modules/sass-loader/index.js!./test.scss\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}",
    "./~/css-loader!./~/sass-loader!./style/scss/test.scss": "var __webpack_public_path__ = \"http://localhost:8080/dist/\";\n\nexports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".container {\\n  background-color: red; }\\n\", \"\"]);\n\n// exports\n"
  }
}

Now post here your server code where you create webpack-isomorphic-tools instance

Is this what you mean?
var webpack = require("webpack");
var path = require("path");
var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin');
var webpack_isomorphic_tools_plugin = new Webpack_isomorphic_tools_plugin(require('./webpack-isomorphic-tools-configuration')).development();

module.exports = {
	target:  "web",
	cache:   false,
	context: __dirname,
	devtool: false,
	entry:   ["./src/config/client"],
	output:  {
		path:          path.join(__dirname, "build/dist"),
		filename:      "client.js",
		chunkFilename: "[name].[id].js",
		publicPath:    "dist/"
	},
	plugins: [
		new webpack.DefinePlugin({__CLIENT__: true, __SERVER__: false}),
		new webpack.DefinePlugin({"process.env": {NODE_ENV: '"production"'}}),
		new webpack.optimize.DedupePlugin(),
		new webpack.optimize.OccurenceOrderPlugin(),
		new webpack.optimize.UglifyJsPlugin(),
		webpack_isomorphic_tools_plugin
	],
	module:  {
		loaders: [
			{
				test: /\.json$/,
				loaders: ["json-loader"]
			},
			{
				test: webpack_isomorphic_tools_plugin.regular_expression('styles'),
				loaders: ["style", "css", "sass"]
			},
			{
				test: /\.js$/,
				loaders: ["babel-loader?stage=0&optional=runtime&plugins=typecheck"], exclude: /node_modules/
			}
		]
	},
	resolve: {
		modulesDirectories: [
			"src",
			"node_modules",
			"web_modules",
			"style"
		],
		extensions: ["", ".json", ".js", ".scss"]
	},
	node:    {
		__dirname: true,
		fs:  "empty",
		net: "empty",
		tls: "empty"
	}
};

And change your configuration to
var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin')

module.exports =
{
    debug: true,

    assets:
    {
        style:
		{
			extension: 'scss',
			filter: function(module, regular_expression, options, log)
			{
				if (options.development)
				{
					return webpack_isomorphic_tools_plugin.style_loader_filter(module, regular_expression, options, log)
				}

				// in production there will be no .scss assets
				// because they will all be extracted by Extract Text Plugin,
				// and also because I don't use css-loader "modules" feature.

				// log.error(`Unexpected .scss asset (in production mode): ${module.name}`)
			},
			path: webpack_isomorphic_tools_plugin.style_loader_path_extractor,
			parser: webpack_isomorphic_tools_plugin.css_loader_parser
		}
    }
}

No, I didn't mean "webpack configuration", I meant "server code where you instantiate webpack-isomorphic-tools"

var Webpack_isomorphic_tools = require('webpack-isomorphic-tools')

var project_base_path = require('path').resolve(__dirname, '..')

global.webpack_isomorphic_tools = new Webpack_isomorphic_tools(require('./webpack-isomorphic-tools-configuration'))
	.development(process.env.NODE_ENV === 'development')
	.server(project_base_path, function()
	{
		require('./server')
	})

Now I get a bunch of errors. It looks like it is trying to go through all the import or require() of my app. Here is an example.
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'

Post the full log, I don't see it from this little piece of log

[0] [webpack-isomorphic-tools/plugin] [debug] running write assets webpack plugin
[0] [webpack-isomorphic-tools/plugin] [debug]  (development mode is on)
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack stats to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-stats.debug.json
[0] [webpack-isomorphic-tools/plugin] [debug] getting javascript and styles for chunk "main"
[0] [webpack-isomorphic-tools/plugin] [debug]  (got javascript)
[0] [webpack-isomorphic-tools/plugin] [debug] populating assets of type "style"
[0] [webpack-isomorphic-tools/plugin] [debug]  time taken: 0 ms
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack assets info to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-assets.json
[0] Hash: d8c6318f0af5860be4d8
[0] Version: webpack 1.12.2
[0] Time: 3492ms
[0]    [0] multi main 52 bytes {0} [built]
[0]     + 7 hidden modules
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/only-dev-server.js 4:14-104 13:2-17:4 14:20-110
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080
[0] Module build failed:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0] Error:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)-dev-server/client?http://localhost:8080 4:14-115 13:2-17:4 14:20-121
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[1] [piping] can't execute file: /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/babel.server.js
[1] [piping] error given was: SyntaxError: /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/style/scss/test.scss: Unexpected token (1:0)
[1] > 1 | .container
[1]     | ^
[1]   2 | {
[1]   3 |       background-color: red;
[1]   4 | }
[1]     at Parser.pp.raise (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/location.js:24:13)
[1]     at Parser.pp.unexpected (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/util.js:82:8)
[1]     at Parser.pp.parseExprAtom (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:425:12)
[1]     at Parser.parseExprAtom (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/plugins/jsx/index.js:412:22)
[1]     at Parser.pp.parseExprSubscripts (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:236:19)
[1]     at Parser.pp.parseMaybeUnary (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:217:19)
[1]     at Parser.pp.parseExprOps (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:163:19)
[1]     at Parser.pp.parseMaybeConditional (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:145:19)
[1]     at Parser.pp.parseMaybeAssign (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:112:19)
[1]     at Parser.pp.parseExpression (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:79:19)
[1] [piping] further repeats of this error will be suppressed...
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] http://localhost:8080/
[0] webpack result is served from http://localhost:8080/dist/
[0] content is served from ./build
[0] ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080
[0] Module build failed:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0] Error:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)-dev-server/client?http://localhost:8080 4:14-115 13:2-17:4 14:20-121
[0] ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[0] ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/only-dev-server.js 4:14-104 13:2-17:4 14:20-110
[0] ./~/css-loader!./~/sass-loader!(webpack)/hot/dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/dev-server.js 4:14-99 13:2-17:4 14:20-105
[0] [webpack-isomorphic-tools/plugin] [debug] running write assets webpack plugin
[0] [webpack-isomorphic-tools/plugin] [debug]  (development mode is on)
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack stats to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-stats.debug.json
[0] [webpack-isomorphic-tools/plugin] [debug] getting javascript and styles for chunk "main"
[0] [webpack-isomorphic-tools/plugin] [debug]  (got javascript)
[0] [webpack-isomorphic-tools/plugin] [debug] populating assets of type "style"
[0] [webpack-isomorphic-tools/plugin] [debug]  time taken: 0 ms
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack assets info to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-assets.json

That's weird.
I don't know what's going on there.
I can try to run your project tomorrow if you provide me with a link to it.

Repo
Instruction should be clear. If you have any questions hit me up.

Well, I see there's this file
https://github.com/raphaelparent/express-react-isomorphic/blob/express/src/config/webpack-isomorphic-tools-instance.js
But I don't see where it's imported.
Seems that it isn't used at all.
Second, when I run npm run watch  it does NODE_PATH="./src"
What does this mean?

Indeed the file is not imported, I've looked at your examples and can't get
how and where I should import it.
For the NODE_PATH thing, I don't know, I used a boilerplate with some stuff
and this was in it. Does it work?
On Fri, Oct 30, 2015 at 7:15 PM, Nikolay<EMAIL_ADDRESS>wrote:

Well, I see there's this file
https://github.com/raphaelparent/express-react-isomorphic/blob/express/src/config/webpack-isomorphic-tools-instance.js
But I don't see where it's imported.
Seems that it isn't used at all.
Second, when I run npm run watch it does NODE_PATH="./src"
What does this mean?
—
Reply to this email directly or view it on GitHub
https://github.com/halt-hammerzeit/webpack-isomorphic-tools/issues/13#issuecomment-152671760
.

--
Merci,
Raphaël Parent

@raphaelparent I thought the readme was clear about it
var Webpack_isomorphic_tools = require('webpack-isomorphic-tools')

// this must be equal to your Webpack configuration "context" parameter
var project_base_path = require('path').resolve(__dirname, '..')

// this global variable will be used later in express middleware
global.webpack_isomorphic_tools = new Webpack_isomorphic_tools(require('./webpack-isomorphic-tools-configuration'))
// enter development mode if needed
// (you may also prefer to use a Webpack DefinePlugin variable)
.development(process.env.NODE_ENV === 'development')
// initializes a server-side instance of webpack-isomorphic-tools
// (the first parameter is the base path for your project
//  and is equal to the "context" parameter of you Webpack configuration)
// (if you prefer Promises over callbacks
//  you can omit the callback parameter
//  and then it will return a Promise instead)
.server(project_base_path, function()
{
  // webpack-isomorphic-tools is all set now.
  // here goes all your web application code:
  require('./server')
})

See the last lines: here goes all your web application code
So, for example, if your Node.js application main file is called './server.js' then it will work.
Now you understand?

In my babel.server file I required that file. And I get that error.
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/only-dev-server.js 4:14-104 13:2-17:4 14:20-110
[0] ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080
[0] Module build failed:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0] Error:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)-dev-server/client?http://localhost:8080 4:14-115 13:2-17:4 14:20-121
[0] ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[0] [webpack-isomorphic-tools/plugin] [debug] running write assets webpack plugin
[0] [webpack-isomorphic-tools/plugin] [debug]  (development mode is on)
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack stats to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-stats.debug.json
[0] [webpack-isomorphic-tools/plugin] [debug] getting javascript and styles for chunk "main"
[0] [webpack-isomorphic-tools/plugin] [debug]  (got javascript)
[0] [webpack-isomorphic-tools/plugin] [debug] populating assets of type "style"
[0] [webpack-isomorphic-tools/plugin] [debug]  time taken: 0 ms
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack assets info to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-assets.json
[0] Hash: d8c6318f0af5860be4d8
[0] Version: webpack 1.12.2
[0] Time: 2300ms
[0]    [0] multi main 52 bytes {0} [built]
[0]     + 7 hidden modules
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/only-dev-server.js 4:14-104 13:2-17:4 14:20-110
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080
[0] Module build failed:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0] Error:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)-dev-server/client?http://localhost:8080 4:14-115 13:2-17:4 14:20-121
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[1] [piping] can't execute file: /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/babel.server.js
[1] [piping] error given was: Error: Cannot find module './webpack-isomorphic-tools-configuration'
[1]     at Function.Module._resolveFilename (module.js:336:15)
[1]     at Function.module._load (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/piping/lib/launcher.js:24:23)
[1]     at Module.require (module.js:365:17)
[1]     at require (module.js:384:17)
[1]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/webpack-isomorphic-tools-instance.js:5:64)
[1]     at Module._compile (module.js:460:26)
[1]     at normalLoader (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/lib/api/register/node.js:199:5)
[1]     at Object.require.extensions.(anonymous function) [as .js] (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/lib/api/register/node.js:216:7)
[1]     at Module.load (module.js:355:32)
[1]     at Module._load (module.js:310:12)
[1] [piping] further repeats of this error will be suppressed...
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] http://localhost:8080/
[0] webpack result is served from http://localhost:8080/dist/
[0] content is served from ./build
[0] ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080
[0] Module build failed:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0] Error:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)-dev-server/client?http://localhost:8080 4:14-115 13:2-17:4 14:20-121
[0] ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/only-dev-server.js 4:14-104 13:2-17:4 14:20-110
[0] ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[0] ./~/css-loader!./~/sass-loader!(webpack)/hot/dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/dev-server.js 4:14-99 13:2-17:4 14:20-105
[0] [webpack-isomorphic-tools/plugin] [debug] running write assets webpack plugin
[0] [webpack-isomorphic-tools/plugin] [debug]  (development mode is on)
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack stats to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-stats.debug.json
[0] [webpack-isomorphic-tools/plugin] [debug] getting javascript and styles for chunk "main"
[0] [webpack-isomorphic-tools/plugin] [debug]  (got javascript)
[0] [webpack-isomorphic-tools/plugin] [debug] populating assets of type "style"
[0] [webpack-isomorphic-tools/plugin] [debug]  time taken: 1 ms
[0] [webpack-isomorphic-tools/plugin] [debug] writing webpack assets info to /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack-assets.json

@raphaelparent I don't see where you require it in the file
https://github.com/raphaelparent/express-react-isomorphic/blob/express/babel.server.js
The errors, according to the log, are from Webpack and aren't related to webpack-isomorphic-tools
"Module build failed:" is a webpack error.

The code is pushed now you can see it.
Do the webpack-ismorphic-tool should work with webpack version 1.12.0 ?

Now it seems correct.
webpack-ismorphic-tools should work with any webpack.
You can try to disable webpack-ismorphic-tools while you are debugging your Webpack build.
When you've fixed your Webpack build, then you can enable webpack-ismorphic-tools again

When I remove everything from the webpack-isomorphic-tools my webpack work correctly.

@raphaelparent you mean your Webpack build finishes correctly when you run Webpack build?

 And when I run npm run watch my app is working fine.

The feeling that I have is that it's trying to parse every require as a require to a .scss file instead of considering only the sass file. Maybe there's an error with the regex somewhere and I can't see it.

@raphaelparent
Well, as far as I see, all the errors are the same:
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[0] ./~/css-loader!./~/sass-loader!(webpack)/hot/dev-server.js

And from what I can read from error text, it's happening inside webpack hot reloading dev server.

@raphaelparent Currently I think that the cause of the error is somewhere in webpack and not in webpack-isomorphic-tools. I don't see any error from webpack-isomorphic-tools so far.
And also what's that?
[1] [piping] error given was: Error: Cannot find module './webpack-isomorphic-tools-configuration'
[1]     at Function.Module._resolveFilename (module.js:336:15)
[1]     at Function.module._load (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/piping/lib/launcher.js:24:23)
[1]     at Module.require (module.js:365:17)
[1]     at require (module.js:384:17)
[1]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/webpack-isomorphic-tools-instance.js:5:64)
[1]     at Module._compile (module.js:460:26)
[1]     at normalLoader (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/lib/api/register/node.js:199:5)
[1]     at Object.require.extensions.(anonymous function) [as .js] (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/babel-core/lib/api/register/node.js:216:7)
[1]     at Module.load (module.js:355:32)
[1]     at Module._load (module.js:310:12)

Moved some file around and corrected some path issue like the above. I still get the module build failed error, which occurs only when I try to use webpack-isomorphic-tools. But I also get that now
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080
[0] Module build failed:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0] Error:
[0] var url = require('url');
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was "url = require('..."
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-dev-server/client/index.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)-dev-server/client?http://localhost:8080 4:14-115 13:2-17:4 14:20-121
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js
[0] Module build failed:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0] Error:
[0]     var lastData;
[0] ^
[0]       Property "var" must be followed by a ':'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack/hot/only-dev-server.js (line 7, column 2)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ (webpack)/hot/only-dev-server.js 4:14-104 13:2-17:4 14:20-110
[0]
[0] ERROR in ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
[0] Module build failed:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0] Error:
[0] import React from "react";
[0] ^
[0]       Invalid CSS after "": expected 1 selector or at-rule, was '"use strict";'
[0]       in /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/src/config/client.js (line 1, column 1)
[0]     at options.error (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/node-sass/lib/index.js:277:32)
[0]  @ ./src/config/client.js 4:14-207 13:2-17:4 14:20-213
[1] [webpack-isomorphic-tools] [debug] instantiated webpack-isomorphic-tools with options {
[1]   "debug": true,
[1]   "assets": {
[1]     "style": {
[1]       "extensions": [
[1]         "scss"
[1]       ]
[1]     }
[1]   },
[1]   "webpack_assets_file_path": "webpack-assets.json"
[1] }
[1] [webpack-isomorphic-tools] [debug] entering production mode
[1] [webpack-isomorphic-tools] [debug] registering require() hooks for assets
[1] [webpack-isomorphic-tools] [debug]  registering a require() hook for *.scss
[1] [webpack-isomorphic-tools] [debug] (/Users/rparent/Documents/CTSProjects/webpack-assets.json not found)
[1] [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
[1] [webpack-isomorphic-tools] [debug] (/Users/rparent/Documents/CTSProjects/webpack-assets.json not found)
[1] [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[1] [webpack-isomorphic-tools] [debug] (/Users/rparent/Documents/CTSProjects/webpack-assets.json not found)
[1] [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
[0] [webpack-isomorphic-tools/plugin] [debug] entering development mode
[0] http://localhost:8080/
[0] webpack result is served from http://localhost:8080/dist/
[0] content is served from ./build

entering production mode why are you instatiating it in production mode when you're in development mode?

I still think that Module build failed: errors are not related to webpack-isomorphic-tools.

Where is that? Because I didn't explicitely wrote that I wanted it in production mode.
If you dont believe me try it. When I remove the things related to webpack-isomorphic-tools everthing works fine.

These lines are new to the error log
[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)-dev-server/client?http:/localhost:8080

[0] ERROR in ./~/css-loader!./~/sass-loader!(webpack)/hot/only-dev-server.js

[0] ERROR in ./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js

When I remove the things related to webpack-isomorphic-tools everthing works fine.
I believe that it works, I just don't know what's the cause of the error and I think it's unrelated to webpack-isomorphic-tools
Where is that?  It's in the documentation.
https://github.com/halt-hammerzeit/webpack-isomorphic-tools#developmenttrue-or-false-or-undefined---true

I get the same log with .development(true).
Well it can't be completely unrelated since it works fine without it. What version of webpack did you test the isomorphic-tools with?

@raphaelparent Well, mine says ^1.12.2 but it must not make any difference.
By the way, what is this?
./~/css-loader!./~/sass-loader!./~/babel-loader?stage=0&optional=runtime&plugins=typecheck!./src/config/client.js
Why are you loading your .js files with css-loader?
I guess your css-loader config is wrong.
What regexp are you using in webpack.config.json?

module:  {
		loaders: [
			{
				test: /\.json$/,
				loaders: ["json-loader"]
			},
			{
				test: webpack_isomorphic_tools_plugin.regular_expression('styles'),
				loaders: ["style", "css", "sass"]
			},
			{
				test: /\.js$/,
				loaders: ["babel-loader?stage=0&optional=runtime&plugins=typecheck"], exclude: /node_modules/
			}
		]
	},

Try to replace that regular_expression with /.scss$/

Ok yeah that seems to work.
Maybe theres is a problem with the webpack_isomorphic_tools_plugin.regular_expression method?
I'll do more testing and confirm everything works fine.
Thanks for all the help!

@raphaelparent Yeah, that's a weird bug.
You can start by outputting it to console.
console.log(webpack_isomorphic_tools_plugin.regular_expression('styles').toString())

I get that
 /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/plugin.js:92
[0]             matcher = '(' + extensions.join('|') + ')';
[0]                                        ^
[0] TypeError: undefined is not a function
[0]     at Function.Plugin.regular_expression (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/plugin.js:92:30)
[0]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack.client.js:7:45)
[0]     at Module._compile (module.js:460:26)
[0]     at Object.Module._extensions..js (module.js:478:10)
[0]     at Module.load (module.js:355:32)
[0]     at Function.Module._load (module.js:310:12)
[0]     at Module.require (module.js:365:17)
[0]     at require (module.js:384:17)
[0]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack.client-watch.js:2:14)
[0]     at Module._compile (module.js:460:26)

@raphaelparent because you need to call it not on plugin class but on plugin isntance

[0] /Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack.client.js:7
[0] ole.log(webpack_isomorphic_tools_plugin.regular_expression('styles').toString(
[0]                                                                     ^
[0] TypeError: Cannot read property 'toString' of undefined
[0]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack.client.js:7:73)
[0]     at Module._compile (module.js:460:26)
[0]     at Object.Module._extensions..js (module.js:478:10)
[0]     at Module.load (module.js:355:32)
[0]     at Function.Module._load (module.js:310:12)
[0]     at Module.require (module.js:365:17)
[0]     at require (module.js:384:17)
[0]     at Object.<anonymous> (/Users/rparent/Documents/CTSProjects/isomorphic-boiler-plate/webpack.client-watch.js:2:14)
[0]     at Module._compile (module.js:460:26)
[0]     at Object.Module._extensions..js (module.js:478:10)
[0]

Ok, try this:
console.log(webpack_isomorphic_tools_plugin.regular_expressions)
console.log(webpack_isomorphic_tools_plugin.regular_expressions.map(function(x) { return x.toString() }).join())

Ok I get what happened. In the isomorphic-tools configuration the asset type is name style and I was trying to get styles with the regex.
An improvement would be to log something like Invalid regular expression "styles" or something like that.

@raphaelparent oh, really.
will implement this warning.

Yep, I did some more testing and now it works with that.
module:  {
		loaders: [
			{
				test: /\.json$/,
				loaders: ["json-loader"],
				exclude: [
					'./webpack-assets.json',
					'./webpack-stats.debug.json'
				]
			},
			{
				test: webpack_isomorphic_tools_plugin.regular_expression('style'),
				loaders: ["style", "css", "sass"]
			},
			{
				test: /\.js$/,
				loaders: ["babel-loader?stage=0&optional=runtime&plugins=typecheck"],
				exclude: /node_modules/
			}
		]
	},

@halt-hammerzeit Do you still need my repo? If not I'm going to delete it.

@raphaelparent You can delete it

FYI
I'm posting this in every issue and PR to notify whoever may be interested:
today I've released an alternative helper library called universal-webpack.
It takes a different approach than webpack-ismorphic-tools and instead of hacking Node.js require() calls it just compiles all code with target: 'node' webpack configuration option.
As a result, all Webpack plugins and features are supported.
If you think you might need that here's an example project:
https://github.com/halt-hammerzeit/webpack-react-redux-isomorphic-render-example


AWS lambda

Could this also be used as an AWS lambda? How das this module persist which reviews have already been posted?

It only persists in memory so this won't really work as a lambda.

I am able to work it on the lambda. I set the run time of the lambda 59 seconds and used CloudWatch alarm to run it every minute. I also had write a handler function to start reviewme.

@oshamahue can you walk me through the process to run it on lambda?


Switch to subplots for line graph

Instead of generating 4 different graphs, we should use subplot

Hello, I can look into this @keenanjohnson . Anything I should keep in mind before I get started?

Okay, I have started work on this! I will keep the loading animations and mobile in mind. Not sure how you test mobile, but I plan on using the mobile mode in Firefox - let me know if there is a more sophisticated tool!
Do you have thoughts on Plotly express vs using the low level functions(e.g. go.line) ? It looks like using Plotly express doesn't play too well with subplots (https://github.com/plotly/plotly_express/issues/83). I created a mock-up using a "long" dataframe
df1 = pd.DataFrame({"Time":[1,2,3,1,2,3], "y":["CO₂ (PPM)", "CO₂ (PPM)", "CO₂ (PPM)", 'Temperature (°C)', 'Temperature (°C)', 'Temperature (°C)'],
    "Value":[1,2,3,4,5,6]})

We can resolve the CO2 (PPM) and Temperature (C) appearing on the right by using Plotly low level functions at the cost of having more bloated code. Let me know what you think @keenanjohnson !

Yeah I think testing via the mobile browser should be fine :)
I'm definitely not an expert on Plotly express vs the low-level functions, so happy to take a look at whichever direction you feel is best.

@allcontributors please add @sriki18 for his great code contributions!
Thanks @spestana for the review!


[SlateAX] Wi-Fi client mode affecting WAN ports

Discussed in https://github.com/orgs/SmoothWAN/discussions/115

Originally posted by meassick February 25, 2023
I have an ethernet connection and a wireless connection being combined in Speedify.  This seems to work just fine in version 0.99.8  which seems very stable.  However in version 0.99.9 invariably one of the two connections will disconnect and be greyed out in the status window after a period of time.  I have re-installed the firmware from scratch and it makes no difference.  If I use only one or the other connection, it stays connected to that single connection.

Fixed in HF2 by disabling hotplug renamer


PeriodicRestart not working for App Service configs

My customer is testing updates to applicationhost.config using XDT trasforms per this documentation: https://github.com/projectkudu/kudu/wiki/Xdt-transform-samples
and had some questions as it doesn’t appear to be working as expected. Here is the existing config for their test site:

  <add name="mgb-cps-test1-dev-e2-app" managedRuntimeVersion="v4.0">
    <processModel identityType="ApplicationPoolIdentity" />
    <recycling logEventOnRecycle="Schedule">
      <periodicRestart>
        <schedule>
          <clear />
          <add value="19:04:00" />
        </schedule>
      </periodicRestart>
    </recycling>
  </add>
  <add name="~1mgb-cps-test1-dev-e2-app" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated">
    <processModel identityType="ApplicationPoolIdentity" />
    <recycling logEventOnRecycle="Schedule">
      <periodicRestart>
        <schedule>
          <clear />
          <add value="19:04:00" />
        </schedule>
      </periodicRestart>
    </recycling>
  </add>
</applicationPools>

Questions:
Does setting this periodicRestart actually work for App Service configs?
How can we confirm? I was expecting to find something in Logfiles\eventlog.xml and there’s nothing.

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


How to treat ECLASS Quantity Concept in AAS?

The metamodel of the AAS (status: V3.0RC01) does not explicitly support the concept of quantities. This means, in case properties are not defined in ECLASS or in any other standardized dictionary it is not possible to specify the quantity of this proprietary property. In case the property is defined in ECLASS then the quantity is defined in ECLASS itself but the corresponding IRDI is not available in the AAS serialization.
Future versions of the AAS might support quantities:

by IRDI reference only in the concept descriptions of property
by providing a corresponding data specification for quantieis conformant to IEC61360

The metamodel of the AAS (status: V3.0RC01) does not explicitly support the concept of quantities. This means, in case properties are not defined in ECLASS or in any other standardized dictionary it is not possible to specify the quantity of this proprietary property. In case the property is defined in ECLASS then the quantity is defined in ECLASS itself but the corresponding IRDI is not available in the AAS serialization.
Future versions of the AAS might support quantities:

by IRDI reference only in the concept descriptions of property
by providing a corresponding data specification for quantieis conformant to IEC61360


Assertion `(op.access_type == 0)' failed

Aim
Try to generate a proof for this code.
Expected Behavior
A proof should be generated.
Bug
We get the following error:
nargo: /build/cpp/src/barretenberg/dsl/acir_format/block_constraint.cpp:41: void acir_format::create_block_constraints(acir_format::Composer &, const acir_format::BlockConstraint, bool): Assertion `(op.access_type == 0)' failed.

To Reproduce

Clone this repo.
Navigate to tests/depth_8.
Run nargo prove.

Installation Method
Compiled from source
Nargo Version
nargo 0.6.0 (git version hash: 242f07b513c0f7141c0c661e6c7913db04eeccef, is dirty: false)
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Copying Ahmad's extra context here:

Here's a slightly simpler example (assuming you include my repo as a dependency):
use dep::trie;
use dep::trie::{get_fixed32, key_as_nibbles, KEY_LENGTH, NIBBLE_LENGTH, TrieProof32};

global N = 2;

fn main(root_hash: pub [u8; 32], trie_proof: trie::TrieProof32<100>) {
    let _r = root_hash;

    let key = trie_proof.key;

    let key_nibbles: [u4; NIBBLE_LENGTH] = key_as_nibbles(key);

    let mut key_offset = 0;

    let path = trie_proof.proof; // Proof path

    let depth = trie_proof.depth; // Depth of proof path

    for i in 0..N
    {
	    if (i as u8) < (depth as u8)
	    {
 	        let _lookup = get_fixed32(key_nibbles, key_offset, path); // Follow node
	    }
    }
}

The error goes away if N = 1. (get_fixed32 is called in one_level and the error does not occur there.)


Sample prompt doesn't work in Word

Module: 03
Lab/Demo: 01
Task:  Edit-transform-content-with-microsoft-copilot-microsoft-365 > Text to table
Step: 03
Description of issue
The prompt "Visualize as a table" is not selectable and nor does it work when keyed in manually.  The following error is encountered.

Suggest changing the prompt to "Visualize /Graphic Design Institute - Employee benefits.doc as a table" instead.  The following is the output.

@MSFT-mengchong Issue acknowledged.
The "Visualize as a table" option is only available after selecting a block of text on the contents of the Word document, not the text from the Copilot results.  The exercise has you copy the results from Copilot into the Word document and then highlight it to visualize as a table.
Can you confirm if that is the issue or another issue?  Thanks!


Web sites updates for release on May 8

Updated  "howto-configure-websites.md" handler mappings description per RD781084.
Updated the following web-related pages to change "Preview Management Portal" to "Windows Azure Management Portal":
create-php-website.md
deployWAWebSiteThatConnectsToMongo.md
website-mysql.md
website-mysql-ftp.md
website-mysql-git.md
website-sqlazure-git.md
website-storage.md
web-site-with-sql.md

@timamm  Thank you for raising this issue.  We're closing old issues.  If you feel this issue should remain open, please comment to let us know that the issue should be reopened.


Adds random loading sentences

@CartoDB/frontend: can you review this, please?
I implemented this using a function instead of a backbone model or a backbone view.
@CartoDB/design: can you review this too, please?
You can see the sentences we'll be using here.

Ups, I need to update some specs…

Yep, all good!  :+1:  (except for the broken specs :wink:)

Frontend tests were OK :+1: (details)

@viddo, @xavijam: thanks!

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

@CartoDB/design ?

Looks awesome :)

<3

retest this please

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


Hipify revamp changes for apex extensions on ROCm.

Hipify changes based on upstream pytorch PR : https://github.com/pytorch/pytorch/pull/48715
Had changes for backward compatibility when the torch version >= 1.5 && < 1.8
cc: @jithunnair-amd @jeffdaily @sunway513

jenkins: retest this please

I thought the point of the hipify revamp was to not need to call hipify explicitly any longer?  The source lists for both before and after the hipify revamp change contain "hip" in their names -- I thought CUDAExtension was auto-hipifying as needed?  Is that not working?
Having to support backward-compat in this PR is quite inelegant.  Ugly really.  Wondering if we can't just rip off the bandaid and be done with it.  Move forward with the hipify revamp.  We have complete control over our APEX fork, we aren't trying to upstream.  How strong is our need for backwards-compat here?

We're okay to drop backward-compatibility for APEX on the master branch if needed; however, we do need to document this change in README.

Sure, I'm okay to drop the backward compatibility. The ugliness is created due to the backward compatibility issues. If any of the internal teams doesn't want to use any older versions, I'm ready to drop it off.

@jeffdaily @sunway513 Ready for review based on latest hipify changes. Deprecated the older style, and added a note in ReadMe.

Nit: we can get rid of from torch.utils.hipify import hipify_python in setup.py.

Nit: we can get rid of from torch.utils.hipify import hipify_python in setup.py.

@lcskrishna please do this, as well.

@jeffdaily @jithunnair-amd updated as per the comments before.


Introduce Cross Plattform Nativ Applications

Favorit Reason
OCaml. Reason's just a syntax and toolchain layer on top of OCaml. The OCaml<->Reason interop should be seamless since we share the same abstract syntax tree. BuckleScript works fine in OCaml, naturally. Js_of_ocaml too.
Rust. Close cousin of ours. Not garbage collected, focused on speed & safety.
Elm. Another cousin of ours! Make clean, fun webapps.
PureScript. Inspired by Haskell, compiles to the web.
Fable. Based on F#, which is closely related to OCaml.
ClojureScript. Nothing in common with us on the surface, but prioritizes simplicity & great interop too.
Swift. Fruit-flavored OCaml!
Haxe. Compiles to basically anything.

This should get moved ?!?


RFC: add nextafter

This RFC proposes adding nextafter function
Overview
Based on array comparison data, the API is available in most array libraries. The main exception is MXNet which doesn't implement it.
Prior art

NumPy: https://numpy.org/doc/stable/reference/generated/numpy.nextafter.html#numpy.nextafter
PyTorch: https://pytorch.org/docs/stable/generated/torch.nextafter.html
TensorFlow: https://www.tensorflow.org/api_docs/python/tf/math/nextafter
CuPy: https://docs.cupy.dev/en/stable/reference/generated/cupy.nextafter.html
Dask: https://docs.dask.org/en/stable/generated/dask.array.nextafter.html
JAX: https://jax.readthedocs.io/en/latest/_autosummary/jax.numpy.nextafter.html

MXNet doesn't have an implementation for nextafter

Proposal
This proposal follows similar element-wise APIs,
def nextafter(x1: array, x2: array, /) -> array

Related

https://github.com/data-apis/array-api/issues/187#issuecomment-1638963751
nextafter is available as part of C99.
nextafter has equivalent APIs in the IEEE 754 specification as nextUp/nextDown.
Julia includes nextfloat and prevfloat.

A few questions come to mind:

Is C99 preferred here (nextafter/nexttoward) or would following IEEE 754 (nextUp/nextDown) be better?

In SciPy use case, IEEE 754 nextDown is what is desired: https://github.com/scipy/scipy/blob/422ae7150123feb11b1deb83c6bad61ed3055251/scipy/stats/_axis_nan_policy.py#L203

how should type promotion behave? Should x1 and x2 participate in type promotion? Should x2 be converted to x1's type? If not converted, then nextafter is actually more like C99's nexttoward.

My thoughts:

The Julia API is nicest and usually what you want. However, I don't really have much of a desire to see a new function here that doesn't have precedent in all existing Python libraries. It's a pretty simple API with no keywords, so it doesn't really matter that it's not completely optimal.
The proposal say array not array | scalar. This function is used with scalars a lot. array is consistent with our whole API design though, and PyTorch does not support scalars. On the other hand, this is going to cause a lot of churn for array-consuming code, where for example np.nextafter(x, -np.inf) has to become np.nextafter(x, np.array(-np.inf, dtype=x.dtype)) or some such thing. This is the trickiest thing to decide. I think we may consider allowing x2 to be a scalar.
Type promotion: normal type promotion rules between x1 and x2 for floating-point dtypes - that's what I expect, and I just checked that NumPy, JAX and PyTorch all support it.
Integer x1 dype: it's ambiguous and at least PyTorch does not support it, so undefined behavior (may raise an exception).
Integer x2 dtype should be allowed, since it's just indicating the direction.

Type promotion: normal type promotion rules between x1 and x2 for floating-point dtypes - that's what I expect, and I just checked that NumPy, JAX and PyTorch all support it.

To my eyes, that is weird behavior. I would think that what you usually want is the next value before/after an element in x1 with the same dtype. To provide a float32 array for x1 and, e.g., a float64 array for x2 and get back a float64 array strikes me as not what is usually wanted, as the entire point of nextafter is to get the nearest floating-point value to an input. If you want the next float64 value, IMO, you should provide a float64 input array for x1.

To my eyes, that is weird behavior. I would think that what you usually want is the next value before/after an element in x1 with the same dtype.

On second thought, I agree with you there.


Sample cards don't render as cards in gchat

I set up a pipeline to publish the sample cards you have in this repo...
---
groups:
- name: testing
  jobs:
    - test-card

resource_types:
- name: google-chat-notify-resource
  type: registry-image
  source:
    repository:  us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/springio/google-chat-notify-resource
    username: _json_key
    password: ((REDACT))
    tag: 0.0.1-SNAPSHOT

resources:
- name: gchat-notification
  type: google-chat-notify-resource
  source:
    url: ((REDACT))

- name: gchat-notification-github-repo
  type: git
  icon: source-branch
  source:
    uri: git@github.com:spring-io/google-chat-notify-resource.git
    private_key: ((REDACT))
    branch: main

jobs:
- name: test-card
  plan:
  - get: gchat-notification-github-repo
  - put: gchat-notification
    params:
      text_file: gchat-notification-github-repo/samples/simple/notify/card-success.json

This results in the following being published to gchat...

❓ Can you confirm that there is a bug with cards or provide a sample pipeline that publishes these cards correctly?
I would love to be able to use cards to do some nice gchat things, but haven't been able to figure it out.

To use a card, you should set the card_file input parameter instead of text_file. The text_file parameter should be used to include text in a card, not to provide the card itself. See the sample pipeline config here.

😳 ty! got it working!
please admire my beautiful card.


Add function to make a JPG from a singleband image

Not sure this is the right approach, and this really needs a better example dataset, but I wanted to push this up anyway.
The goal is to make it possible to product a simple thumbnail from a single image, rather than three images.
Another approach would be to do a palleted image... not sure if that'll work. This way is simple.

Looks okay to me (once the build passes). Ideally we do these in-memory when possible, but the other thumbnail function doesn't currntly.
For most of the test data we're using tinier images (eg.  real datasets cropped to 20x20 pixels) to minimise bloating of the repo, and to make them fast when the extra data doesn't matter to the test.

Looks okay to me (once the build passes). Ideally we do these in-memory when possible, but the other thumbnail function doesn't currntly.

I tried fairly hard to use in-memory files, but I think they're failing in the other methods.
I'll look into the sample image and see if I can do something better. I'd like a more clear example of water to highlight, so that it's obvious that it works!

Works now on a tiny image. Do you think we should actually compare the output to something, rather than just asserting that it's a file? Not sure what a good test is. We can't really test data, since the JPG ends up blurring things due to compression.

Coverage increased (+0.1%) to 86.999% when pulling 6725dbea4071b9e519d4953e4108eae80e5047de on add-thumbnail-bitflag into fab96dfc51e2755e46160fd5ce3a2e8a44d00a90 on eodatasets3.

Works now on a tiny image. Do you think we should actually compare the output to something, rather than just asserting that it's a file? Not sure what a good test is. We can't really test data, since the JPG ends up blurring things due to compression.

That would be neat to do. A fuzzy-match pixel within a threshold (or something)? We're not doing it elsewhere in the repo, though we do try to check that it's loadable and of expected shape+properties. Eg https://github.com/GeoscienceAustralia/eo-datasets/blob/fab96dfc51e2755e46160fd5ce3a2e8a44d00a90/tests/integration/test_packagewagl.py#L460-L463 and https://github.com/GeoscienceAustralia/eo-datasets/blob/fab96dfc51e2755e46160fd5ce3a2e8a44d00a90/tests/integration/test_packagewagl.py#L469-L476

The actual data is easier than thumbnails in this regard... in those cases we know the pixels shouldn't change at all, so we test their checksum:
https://github.com/GeoscienceAustralia/eo-datasets/blob/fab96dfc51e2755e46160fd5ce3a2e8a44d00a90/tests/integration/test_packagewagl.py#L433-L436

Can you turn on squash and merge, @jeremyh? It'll be good to get rid of the noise I created :-)
(Or are you happy for me to?)

I usually leave it off because people accidentally kill good history sometimes choosing the wrong one... but feel free to turn it on temporarily if it's easy.
(I usually squash locally and force-push to the branch, as it allows for more control. Such as only squashing certain commits.)


Error code is managed with constants (#10549)

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

有个想法，就是不知道能不能把不同模块的错误码作为一个个内部类，这样子是不是更好找点？比如这样：
另外，这边认为用 final 类 + 私有构造器更好些，因为这边让其他类去 “实现” 这个接口不太合适。
public final class LoggerCodeConstants {
    private LoggerCodeConstants() {
        throw new UnsupportedOperationException("...");
    }
    // 下面的内部类的私有构造器省略。

    public static final class CommonModuleErrorCodeConstants {
        // common module 0-1 ~ 0-4
        public static final String COMMON_THREAD_POOL_EXHAUSTED = "0-1";

        public static final String COMMON_PROPERTY_MISSPELLING = "0-2";

        public static final String COMMON_CACHE_PATH_INACCESSIBLE = "0-3";

        public static final String COMMON_CACHE_FILE_EXCEED_MAXIMUM_LIMIT = "0-4";
    }

    public static final class RegistryModuleErrorCodeConstants {
        // registry module
        public static final String REGISTRY_ADDRESS_INVALID = "1-1";

        public static final String REGISTRY_ABSENCE = "1-2";

        public static final String REGISTRY_FAILED_URL_EVICTING = "1-3";
    }

    // .....
}

Codecov Report

Merging #10599 (5fe3fb2) into 3.1 (eeac1c3) will decrease coverage by 0.36%.
The diff coverage is 40.51%.

@@             Coverage Diff              @@
##                3.1   #10599      +/-   ##
============================================
- Coverage     64.76%   64.39%   -0.37%
+ Complexity      397      395       -2
============================================
  Files          1331     1331
  Lines         56564    56525      -39
  Branches       8377     8348      -29
============================================
- Hits          36632    36400     -232
- Misses        15987    16159     +172
- Partials       3945     3966      +21

Impacted Files
Coverage Δ

...e/dubbo/rpc/cluster/directory/StaticDirectory.java
65.11% <0.00%> (ø)

...apache/dubbo/rpc/cluster/merger/MergerFactory.java
71.42% <0.00%> (ø)

...router/condition/config/ListenableStateRouter.java
69.64% <0.00%> (ø)

...rpc/cluster/router/mesh/route/MeshRuleManager.java
95.45% <0.00%> (ø)

.../rpc/cluster/router/mesh/route/MeshRuleRouter.java
94.23% <0.00%> (ø)

...bo/rpc/cluster/support/AbstractClusterInvoker.java
79.47% <0.00%> (-0.67%)
:arrow_down:

...ava/org/apache/dubbo/config/DubboShutdownHook.java
38.88% <0.00%> (ø)

...ubbo/config/deploy/DefaultApplicationDeployer.java
73.26% <0.00%> (-0.26%)
:arrow_down:

...che/dubbo/config/deploy/DefaultModuleDeployer.java
67.53% <0.00%> (ø)

...spring/context/DubboDeployApplicationListener.java
75.00% <0.00%> (ø)

... and 107 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


This checkin provides support to cleam up the /tmp direcotry

on both the remote and local directory of all the temporary files
are created. Please refer to the github issue for more details
https://github.com/ilogue/fexpect/issues/25

Hi Vinay,
Sorry for the very late response. I like this functionality, but it should probably be optional. Could you make it dependent on some sort of flag passed? I suspect some users won't want us to do sudo stuff implicitly.
Thanks,
Jasper


community: fix AttributeError: 'YandexGPT' object has no attribute '_grpc_metadata'

Description: When accessing the yandexgpt api, the user could encounter the error “ ‘YandexGPT’ object has no attribute ‘_grpc_metadata’ ”. The problem was that the initialization of this protected field was incorrect and it was impossible to get the value of this attribute. I made such changes in the _BaseYandexGPT base class that now everything works correctly.
Issue: langchain-ai#24049
Dependencies: None
Twitter handle: None

@ccurme

@efriis


Refactor CLI to use Boxen + create utils file

Splits up the CLI tool into an index and utils file
Introduces Boxen to make the success message a bit more aesthetic:

I'm having some problems with prettier removing whitespace/newlines, not sure how to fix atm..

Had to remove the mouse emoji because of some annoying whitespace issues 😖


Silent Renew issue

Hey @brockallen I have an issue with silent renewal of access token using implicit flow.  I had set access token life time to 2 min, intially I am getting the new access token from addUserLoaded method. But after around 30 min I see silent renewal stopped working.
I see the logs as
Showing error: prompt=none was requested but user is not authenticated.
Here is my config
var config = {
authority: "http://localhost:5000",
client_id: "jswebclient",
redirect_uri: "http://localhost:60194/App/callback.html",
response_type: "id_token token",
scope: "openid profile api1",
post_logout_redirect_uri: "http://localhost:60194/App/loggedout.html",
automaticSilentRenew: true,
silent_redirect_uri: "http://localhost:60194/App/silentrenew.html"
};
I am confused could you help it out where to check?

Showing error: prompt=none was requested but user is not authenticated.

This means your cookie at the token server is no longer valid. You need to debug more into why that is.

Showing error: prompt=none was requested but user is not authenticated.

This means your cookie at the token server is no longer valid. You need to debug more into why that is.

yes, I had set the cookie life time to 1 day
identityServerOptions.Authentication.CookieLifetime = new System.TimeSpan(1,2, 3, 0);
identityServerOptions.Authentication.CookieSlidingExpiration = true;
and also configured in services ConfigureApplicationCookie for cookie life time for 1 day. Need to debug it more now

@muralisambu and @brockallen I have same problem with last version of IS4 and OIDCJS.
Have another IS4 at 2.1.0 version and don't have any problem.
It's this really a bug or what?
@muralisambu I will do that you said above.

@muralisambu doesn't works

A cat some issue at log:
dbug: IdentityServer4.Services.DefaultClaimsService[0]
Getting claims for identity token for subject<EMAIL_ADDRESS>and client: account
dbug: IdentityServer4.Services.DefaultClaimsService[0]
In addition to an id_token, an access_token was requested. No claims other than sub are included in the id_token. To obtain more user claims, either use the user info endpoint or set AlwaysIncludeUserClaimsInIdToken on the client configuration.

@alexsandro-xpt  I was able to solve the issue by loading the  Idsvr cookie scheme for Authentication middleware.
services.AddAuthentication(x=>x.DefaultAuthenticateScheme = IdentityServer4.IdentityServerConstants.DefaultCookieAuthenticationScheme)
with this the cookie was retaining and was able to do silent renew

@muralisambu doesn't works for me, after that code, the authentication stop to work.
Some time the oidc.js give me a Frame window timed out at console log in Chrome Dev Tools.
SilentRenewService._tokenExpiring: Error from signinSilent: Frame window timed out
Here is my Startup.cs  https://gist.github.com/alexsandro-xpt/5ebe79fd63134b0b60305504231677ae

Closing. If you still have issues, feel free to reopen.

@alexsandro-xpt did you find any solution? Please share

@muralisambu doesn't works for me, after that code, the authentication stop to work.
Some time the oidc.js give me a Frame window timed out at console log in Chrome Dev Tools.
SilentRenewService._tokenExpiring: Error from signinSilent: Frame window timed out
Here is my Startup.cs https://gist.github.com/alexsandro-xpt/5ebe79fd63134b0b60305504231677ae

this is becuase when the client is trying to renew is taking more than the default time , you can increase the time and it should work.
In the client part add silentRequestTimeout(ms) , increase the value here default will be 5 sec, that should work out.

I encountered something similar and for me the issue was I was trying to silenRenew but didn't include offline_access as a scope prior. This might only be applicable for authorization_code with PKCE.

I encountered something similar and for me the issue was I was trying to silenRenew but didn't include offline_access as a scope prior. This might only be applicable for authorization_code with PKCE.

Sorry for posting a thank you reply but I can't stress this enough - I've been spending over 7 hours on this issue and tearing my hair off, and THIS is the only thing that worked. And it also makes sense. but it's not written in the docs!!!

Thank you @muralisambu
For me, the solution was definitely this line for the session renewal problem. My session was renewed perfectly well during the first 30 minutes. After that it stopped for no reason.
This was the fix after block services.AddIdentityServer(...). I add this line:
services.AddAuthentication(x => x.DefaultAuthenticateScheme = IdentityServer4.IdentityServerConstants.DefaultCookieAuthenticationScheme);
I spent a full day analyzing the oidc-client.js logs and the problem on github and stackoverflow.
import { Log, UserManagerSettings } from 'oidc-client';
Log.logger = console;
Log.level = Log.DEBUG;
At the end, everyone manages to solve their problem with this same trick. See all the other issues here :
https://github.com/IdentityServer/IdentityServer4/issues/3960
https://github.com/IdentityServer/IdentityServer4/issues/1625
and the docs:
http://docs.identityserver.io/en/latest/topics/signin.html

Running into this same issue. The root cause is that the browser is not attaching the identity cookie with the request for renewal. I have explicitly set this cookie to SameSite=None but the browser is still not attaching the cookie to the GET request to /connect/authorize. Anyone have any ideas what might be causing this cookie to get dropped? It is a cross origin request... When running both the identity server and the application off of localhost (same origin) it works fine, but as when we run in production on different hosts with different addresses the cookie is not included resulting in an error renewing...

https://leastprivilege.com/2020/03/31/spas-are-dead/


Log duration of calls to S3

Summary
We think we have some performance issues with calls to S3 on certain
views. This replaces the existing logs for these calls and inserts the
duration of the call so that we can start to investigate the issue more
thoroughly.
It also adds logs/durations to any calls out to S3 that were missing
them, with a more restrictive condition that the call must be 'slow' or
sampled.
This PR also defines a 'slow' request to an external provider as one
that takes 250ms or longer.

Open to conversation on where to draw the line for a 'slow' request, but this feels like a reasonable (if not generous) limit to set in the first instance.

Updating the log_context dict after the s3 call means that the information won't get passed through in the exception case. On that matter, if you're going to have an unconditional log message it should probably try and cope better with the exception case and not output a line that implies it succeeded. Or just skip the exception case by checking if sys.exc_info()[0] is None.

(wonder if there's a good solution to making a log line "explain" why it logged - in order to avoid situations where someone's going "wtf well this time the view ran it didn't make that call at all" not realizing the 250ms thing...)

Have re-ordered to insert the context before the call to S3, good spot.

(...whatif the return value of the condition callable were exposed as a logReason? The truthiness of the value would still serve to signal the decision, signalling "no" would just be like returning a falsey "log reason")

good spot

:dog2:

@risicle added a function that allows logging different messages based on success/failure and moved the logged_duration call to the correct part of the s3.list call, as the earlier parts are just generators.

@risicle updated tests


RuntimeError: tensorflow/lite/kernels/pad.cc:79 SizeOfDimension(op_context->paddings, 0) != op_context->dims (3 != 4)Node number 21 (PAD) failed to prepare.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version 2.4

I have converted the mobilebert model to tflite and now I want to perform inference on that, for a single value, it works fine but for a batch, I am reshaping the input size of the tensor. I am running the following lines of code but it gives me the dimension error.
Code I am running:
input_data10 = np.expand_dims(input_text[1:1001], axis=1)
interpreter.resize_tensor_input(input_details[0]['index'], [1000, 1, 100])
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]['index'], input_data10)
interpreter.allocate_tensors()
interpreter.invoke()

Error I am receiving
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-65-7d35ed1dfe14> in <module>
----> 1 interpreter.invoke()

/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/interpreter.py in invoke(self)
    538     """
    539     self._ensure_safe()
--> 540     self._interpreter.Invoke()
    541
    542   def reset_all_variables(self):

RuntimeError: tensorflow/lite/kernels/pad.cc:79 SizeOfDimension(op_context->paddings, 0) != op_context->dims (3 != 4)Node number 21 (PAD) failed to prepare.

``

Please make sure that the above TFLite model is capable of handling multiple batch inputs. Looks like the above model is designed and converted to handle only one input. However, due to a lack of information about the model details, it is really hard to give any other suggestions. If possible, please share a minimal and reproducible step for the above issue or the above TFLite model for debugging purpose.

It is possible to see the input tensor spec by printing the input tensor details. E.g., interpreter.get_input_details()

Hey @abattery, So when I go interpreter.get_input_details(), I get the following results.
[{'name': 'input_ids',
'index': 0,
'shape': array([1000,    1,  100], dtype=int32),
'shape_signature': array([ -1, 100], dtype=int32),
'dtype': numpy.int32,
'quantization': (0.0, 0),
'quantization_parameters': {'scales': array([], dtype=float32),
'zero_points': array([], dtype=int32),
'quantized_dimension': 0},
'sparsity_parameters': {}}]
Here the shape is [1000, 1,100] since I resized it to pass it 1000 inputs at once where each input is of the shape (1,100) but I dont know why on interpreter.invoke, it gives the following error:

RuntimeError                              Traceback (most recent call last)
 in
----> 1 interpreter.invoke()
/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/interpreter.py in invoke(self)
831     """
832     self._ensure_safe()
--> 833     self._interpreter.Invoke()
834
835   def reset_all_variables(self):
RuntimeError: tensorflow/lite/kernels/pad.cc:79 SizeOfDimension(op_context->paddings, 0) != op_context->dims (3 != 4)Node number 21 (PAD) failed to prepare.

Also to add one more thing, I used TFMobileBertModel for this text classification model and then I converted that model using tflite and then I am performing inferece on that, for a single input its working fine but when i resize the input tensor to pass 1000 inputs, it gives the error.

Looks like the above model requires the following shape restrictions:
'shape_signature': array([ -1, 100], dtype=int32),
Probably, the right input shape is [1000, 100] for the batch case.

So how should i resize the input tensor then?
Currently I am doing it as:
interpreter.resize_tensor_input(input_details[0]['index'], [1000, 1, 100])
What would be the right way of doing it?
Also is this model to support a batch of input to be inferenced?

According to the shape_signature field, the batched input size should be resized as follows:
interpreter.resize_tensor_input(input_details[0]['index'], [1000, 100])
The batched input should be prepared to follow the above shape [1000, 100].

Okay I entered the line that you mentioned and I got the following error:

ValueError                                Traceback (most recent call last)
 in
----> 1 interpreter.set_tensor(input_details[0]['index'], input_data10)
/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/interpreter.py in set_tensor(self, tensor_index, value)
570       ValueError: If the interpreter could not set the tensor.
571     """
--> 572     self._interpreter.SetTensor(tensor_index, value)
573
574   def resize_tensor_input(self, input_index, tensor_size, strict=False):
ValueError: Cannot set tensor: Dimension mismatch. Got 3 but expected 2 for input 0.
The reason is because the input is (1,100) initially for 1 input i.e. in other words, 1 row and 100 columns but I needed to pass 1000 inputs at once.
Let me be a little more detailed here:
This was the initial code and it gave me the shape as:
input_data = np.expand_dims(input_text[0], axis=0)
(1,100)
but I wanted to pass 1000 values and changed the above code to
input_data = np.expand_dims(input_text[0:1000], axis=0)
which gave me the following shape:
for axis =0: (1, 1000, 100)
and gave me
for axis =1: (1000, 1, 100)
Now I understood your point where you said to pass [1000,100] to resize the tensor because obviously intially it was [1,100] for 1 input but for 1000 inputs, I had to change it to [1000,100] but the problem arise from the input_data where I assign 1000 values and expand them using np.expands.

This is an intended behavior. You need to provide the input with [1000, 100] not [1000, 1, 100]. As the error described, the set_tensor method invocation needs 2 dimension but the given tensor data has 3 dimension.

Perfect! I got it working from that cell, some how, I tried to change the shape to [1000, 100] and now when I run interpreter.invoke(), It did show me result, but now I tried it and it killed the kernel. I closed all the kernels and ran this one again and on interpreter.invoke(), it kills the kernel again, Idk why it is happening now.

Great to hear that the interpreter works for you. Please upload a new issue to keep each issue focused.

I am using DenseNet-121 model and converted it to model.tflite to perform inference and i am experiencing following error:          java.lang.IllegalStateException: Internal error: Unexpected failure when preparing tensor allocations: tensorflow/lite/kernels/pad.cc:79 SizeOfDimension(op_context->paddings, 0) != op_context->dims (4 != 1)
Node number 0 (PAD) failed to prepare.
at org.tensorflow.lite.NativeInterpreterWrapper.allocateTensors(Native Method)
at org.tensorflow.lite.NativeInterpreterWrapper.allocateTensorsIfNeeded(NativeInterpreterWrapper.java:308)
at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:248)
at org.tensorflow.lite.InterpreterImpl.runForMultipleInputsOutputs(InterpreterImpl.java:101)
at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:77)
at org.tensorflow.lite.InterpreterImpl.run(InterpreterImpl.java:94)
at org.tensorflow.lite.Interpreter.run(Interpreter.java:77)
at com.example.appleleafdiseasedetection.DiseaseDetector$2.onClick(DiseaseDetector.java:72)
at android.view.View.performClick(View.java:7743)
at android.view.View.performClickInternal(View.java:7720)
at android.view.View.access$3700(View.java:854)
at android.view.View$PerformClick.run(View.java:29111)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8309)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1038) ,plz suggest me some solutions


Fix backup import

This fixes #5446

jenkins: test this please

All done

jenkins: test this please


Fix response status code

Fix response status code to unauthorized when the request is not signed properly
Signed-off-by: Liran Funaro<EMAIL_ADDRESS>

@liran-funaro please rebase

@tock-ibm rebased


(PE-11124) Define env cache structure

I think another operation we might eventually need is some sort of remove-environment-info.  For example, I could see a call being made to get-environment(env) for an environment that may exist in the cache but that no longer exists on disk on the master.  In that case, I think we'd want to end up removing the environment from the cache.

I think another operation we might eventually need is some sort of remove-environment-info.

This has been added.

:+1:
Sorry, just realized that it would have been better for this work to be done for a SERVER ticket instead of a PE one.  Would you mind moving the JIRA ticket to the SERVER project and revising the commit message to have the SERVER ticket in the description.
Also, work on SERVER-828 (branch renaming) will be starting soon.  This is work that we'll only want to have in be in the "new" master branch and not the "new" stable branch.  @nwolfe - given that, do you think would it be better to hold off on letting this be merged until you have SERVER-828 done?

So many whats

So many whats

Sorry you're having trouble with this.

Sorry you're having trouble with this.

Haha yeah sorry about that...Friday code review and all.  I later realized we're basically defining an API (schemas+functions) with an initial, simple implementation using a map.  The API part is what's more important right now.
:gemini: :+1: :money_with_wings:

:gemini: :+1: :money_with_wings:

I understand the :+1:  and the :money_with_wings:.. but :gemini: ?


reactplayer playlist previous button ?

reactplayer playlist previous button ?

I've started to work on a ReactPlaylister, a playlist wrapper for ReactPlayer.  You can see a demo here.
It is not finished yet, I still have to work on it..


Fix updating props.predefinedPlaces

Since const [dataSource, setDataSource] = useState(buildRowsFromResults([])); only init once, so the later update on the props.predefinedPlaces will not make it rerender.

Thanks for the PR!
Released as v2.2.0


Node.js support

Matter.js does not currently support node.js

Since matter.js supports multiple rendering backends, it would make sense for it to work in node.js

At the beginning of your node project you can set window as empty object.
var window = {};

I would really like to be able to run matter.js headless (without any rendering) on node.js too. Without having to hack stuff like the above post mentioned.

This has now been resolved in #101, please refer to my latest comment in that thread, thanks.


Switch to FastAPI

Flask has been giving me too many headaches lately, and I've been wanting to learn/use FastAPI.
I'm going to rewrite the internals of localtileserver to strip out flask and use fastapi. The average user will see not change in the Python API, but any projects using the flask blueprint (I think I'm the only person doing that) will no longer be supported.
When this lands, it will completely change the dependencies (hopefully making them lighter).

It seems there's at least one stakeholder project using the flask app: https://github.com/supervisionearth/svs-tileserver
But they seem to be using a fork so I may go ahead and do this change when I have free time

Dear @banesullivan where is the difference between localtileserver and https://developmentseed.org/titiler/ ? They are using FastAPI as backend.

@meteoDaniel Titiler uses rio-tiler/rasterio for data access while localtileserver uses the large-image module.

Exactly correct, @vincentsarago! Thanks for chiming in!
localtileserver is honestly a hobby/toy project of mine, and I never thought it would get as many users as it has. I'm hoping to refactor this entirely to only support Jupyter and CLI usage which would drop support for using localtileserver as microservivce in favor of titiler.
Then I also want to experiment with using rio-tiler as the backend for this... but maybe it makes more sense for me to just contribute to rio-viz


Update to version 1.14.0-beta2

This PR has been created automatically by the CI
Updating from version 1.14.0-beta1 to version 1.14.0-beta2: diff

Codecov Report

Merging #115 (72851ce) into develop (c7a470c) will decrease coverage by 0.19%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop     #115      +/-   ##
=============================================
- Coverage      87.45%   87.26%   -0.19%
+ Complexity       169      168       -1
=============================================
  Files             21       21
  Lines            526      526
  Branches          65       65
=============================================
- Hits             460      459       -1
  Misses            42       42
- Partials          24       25       +1

Impacted Files
Coverage Δ

...com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt
74.14% <0.00%> (-0.86%)
:arrow_down:


Disabling IHaskell widget support

I am running jupyter-lab in a nix shell. I don't have ghc installed outside of my nix shell so I have no idea what this is telling me
Disabling IHaskell widget support due to an encountered error:
The installed IHaskell support libraries do not match the instance of IHaskell you are running.
This *may* cause problems with functioning of widgets or rich media displays.
This is most often caused by multiple copies of IHaskell being installed simultaneously in your environment.
To resolve this issue, clear out your environment and reinstall IHaskell.
If you are installing support libraries, make sure you only do so once:
    # Run this without first running `stack install ihaskell`
    stack install ihaskell-diagrams
If you continue to have problems, please file an issue on Github.

What is it that knows about kernels?

Thanks for opening an issue. What Nix shell are you running in? The IHaskell nix develop shell?

Closing, please reopen if required.


Streamgraph: Date field only works with strict dates

The date field only works if it parses dates (it doesn't create the visualization with numbers as it used to)
Moreover, only a few dates are now supported compared from the previous version:

in v2 now works also with numbers, accepted date format are the following


Negative tests clCommandSvmMem[cpy, Fill]KHR

According to description https://github.com/KhronosGroup/OpenCL-CTS/issues/1668

Discussed in the May 21st teleconference and agreed to merge once the conflicts are resolved.


update to handle .bundle files

my.vmware.com only hosts .bundle files, not .zip.  make sure we can install from either.

closed by #10


Roll a new release

Are there plans for a new release/tag for conda users so dask-ml installs cleanly with recent versions of scikit-learn
https://github.com/dask/dask-ml/issues/908
Thanks

I can click a couple buttons to make a release, but I think https://github.com/dask/dask-ml/pull/921 needs to be reviewed first. Can anyone take a look at that?

I think #914 is ready for merge too. I'd like to see it in the next release.
I think it should be merged if there are no objections (as expressed in https://github.com/dask/dask-ml/pull/914#issuecomment-1133760219).

https://pypi.org/project/dask-ml/2022.5.27/ is up on PyPI. Thanks all for help with the PRs!

Also on conda-forge: https://github.com/conda-forge/dask-ml-feedstock/pull/34


README.md: add improvements about building using Docker

Signed-off-by: Piotr Król<EMAIL_ADDRESS>

Thank you for your contribution!
Yes, chroot in the build directory and the chroot setting should be created by each user if this is the first time for them to setup the build environment, so these artifacts should be removed from the docker.
First, I would like to merge this PR to fix the setup instruction, then will update the docker image.

@zuka0828 thank for merging.


Add KakDecomposition type

Rewrite existing code using the big-complicated-tuple to instead use the named type
Implement _unitary_ on KakDecomposition

Automerge: started


Hash in NuxtLink don't work with LocalePath

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.8.0
CLI Version:      3.9.1
Nitro Version:    2.7.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, build, modules, i18n
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-ynzoxn
Describe the bug
When you add a hash to a link with localePath like this:
<NuxtLink :to="localePath({ name: 'about', hash: '#myHash' })">
  My link with a hash
</NuxtLink>

The Hash of link is not add to the generated tag
My link with a hash // #myHash is missing

Additional context
No response
Logs
No response

This issue should be fixed upstream when https://github.com/intlify/routing/pull/78 is merged and the dependency is updated.
The issue only happens for links without query parameters so it's possible to add query parameters to the link for the hash to work. In the meantime a better workaround would be to pin vue-i18n-routing to its previous version 1.1.1, which doesn't have this issue.

Thx for your precision !

reopen, so We have not still integrate vue-i18n-routing  latest version


Update de.yml

Harmonize and correct some terms, spelling fixes:

Consistently use Konto instead of Account for all translations
Consistently translate email_changed.message and password_change.message
Consistently translate current_sign_in_ip and last_sign_in_ip
Spelling fix: E-Mail-Adresse ("Durchkopplung")
More precise translation for unhappy

Danke!


countries information wrong

countries.dart => "code": "HK" =>  max_length is 8 ,not 9

Cyprus countries length is  8 digits without country code. Please fix @vanshg395 .

The Hong Kong and Cyprus countries length have been update with #103 and #137 PRs respectively. Stay tuned for the upcoming release.


Added translations for Mace enchantments

Hi!
As you can see I added the translation for the new items added in the recent update. I also added the possibility to enchant the mace with Curse of Vanishing (https://minecraft.wiki/w/Mace#Enchantments).
Let me know if there are some problems and thank you :)

Thanks!