log file
0 info it worked if it ends with ok
1 verbose cli [ 'd:\program\nodejs\node.exe',
1 verbose cli 'C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'create-bundles' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'precreate-bundles', 'create-bundles', 'postcreate-bundles' ]
5 info lifecycle [email protected]~precreate-bundles: [email protected]
6 info lifecycle [email protected]~create-bundles: [email protected]
7 verbose lifecycle [email protected]~create-bundles: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~create-bundles: PATH: C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Yarn\bin;C:\Program Files\Git\cmd;d:\Program\nodejs;C:\Users\nishi\AppData\Local\Microsoft\WindowsApps;C:\Users\nishi.dotnet\tools;C:\Users\nishi\AppData\Local\Yarn\bin;d:\Program\Microsoft VS Code\bin;C:\Users\nishi\AppData\Local\atom\bin;C:\Users\nishi\AppData\Roaming\npm
9 verbose lifecycle [email protected]~create-bundles: CWD: D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc
10 silly lifecycle [email protected]~create-bundles: Args: [ '/d /s /c',
10 silly lifecycle 'webpack --progress --profile --watch --mode=development' ]
11 silly lifecycle [email protected]~create-bundles: Returned: code: 1 signal: null
12 info lifecycle [email protected]~create-bundles: Failed to exec create-bundles script
13 verbose stack Error: [email protected] create-bundles: webpack --progress --profile --watch --mode=development
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc
16 verbose Windows_NT 10.0.17134
17 verbose argv "d:\program\nodejs\node.exe" "C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "create-bundles"
18 verbose node v10.16.0
19 verbose npm v6.10.1-next.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] create-bundles: webpack --progress --profile --watch --mode=development
22 error Exit status 1
23 error Failed at the [email protected] create-bundles script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
i have run npm update and then again create-bundles
D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:93 throw err; ^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:125:11)
at Object.join (path.js:427:7)
at fillScriptMappings (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\webpack.config.js:151:39)
at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\webpack.config.js:158:1)
at Module._compile (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:116:13)
at requireConfig (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:118:6)
at D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:125:17
at Array.forEach (<anonymous>)
at module.exports (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:123:15)
at yargs.parse (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:71:45)
at Object.parse (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\yargs\yargs.js:567:18)
at D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:49:8
at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:365:3)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack\bin\webpack.js:156:2)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] create-bundles: webpack --progress --profile --watch --mode=development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] create-bundles script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\nishi\AppData\Roaming\npm-cache_logs\2019-07-17T01_58_20_163Z-debug.log
this is the log file output
0 info it worked if it ends with ok
1 verbose cli [ 'd:\program\nodejs\node.exe',
1 verbose cli 'C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'create-bundles' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'precreate-bundles', 'create-bundles', 'postcreate-bundles' ]
5 info lifecycle [email protected]~precreate-bundles: [email protected]
6 info lifecycle [email protected]~create-bundles: [email protected]
7 verbose lifecycle [email protected]~create-bundles: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~create-bundles: PATH: C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Yarn\bin;C:\Program Files\Git\cmd;d:\Program\nodejs;C:\Users\nishi\AppData\Local\Microsoft\WindowsApps;C:\Users\nishi.dotnet\tools;C:\Users\nishi\AppData\Local\Yarn\bin;d:\Program\Microsoft VS Code\bin;C:\Users\nishi\AppData\Local\atom\bin;C:\Users\nishi\AppData\Roaming\npm
9 verbose lifecycle [email protected]~create-bundles: CWD: D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc
10 silly lifecycle [email protected]~create-bundles: Args: [ '/d /s /c',
10 silly lifecycle 'webpack --progress --profile --watch --mode=development' ]
11 silly lifecycle [email protected]~create-bundles: Returned: code: 1 signal: null
12 info lifecycle [email protected]~create-bundles: Failed to exec create-bundles script
13 verbose stack Error: [email protected] create-bundles: webpack --progress --profile --watch --mode=development
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc
16 verbose Windows_NT 10.0.17134
17 verbose argv "d:\program\nodejs\node.exe" "C:\Users\nishi\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "create-bundles"
18 verbose node v10.16.0
19 verbose npm v6.10.1-next.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] create-bundles: webpack --progress --profile --watch --mode=development
22 error Exit status 1
23 error Failed at the [email protected] create-bundles script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
that is resolved .bundle.json has bracket missing .but run create bundles giving further error
[email protected] create-bundles D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc webpack --progress --profile --watch --mode=development
D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:93 throw err; ^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:125:11)
at Object.join (path.js:427:7)
at fillScriptMappings (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\webpack.config.js:151:39)
at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\webpack.config.js:158:1)
at Module._compile (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:116:13)
at requireConfig (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:118:6)
at D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:125:17
at Array.forEach (<anonymous>)
at module.exports (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:123:15)
at yargs.parse (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:71:45)
at Object.parse (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\yargs\yargs.js:567:18)
at D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:49:8
at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:365:3)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack\bin\webpack.js:156:2)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] create-bundles: webpack --progress --profile --watch --mode=development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] create-bundles script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\nishi\AppData\Roaming\npm-cache_logs\2019-07-17T01_27_21_756Z-debug.log
deleted all node modules but still getting errors
npm run build
[email protected] build D:\OneDrive\software\diamCopy\src\ni.diam.web.mvc webpack --mode=production
npm : D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:93 At line:1 char:1
+ CategoryInfo : NotSpecified: (D:\OneDrive\sof...i\bin\cli.js:93:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
throw err;
^
SyntaxError: D:\OneDrive\software\diamCopy\src\ni.diam.web.mvc\bundles.json: Unexpected end of JSON input at JSON.parse (<anonymous>) at Object.Module._extensions..json (internal/modules/cjs/loader.js:795:27) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at require (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:161:20) at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.web.mvc\webpack.config.js:6:20) at Module._compile (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:192:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17) at require (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\v8-compile-cache\v8-compile-cache.js:161:20) at WEBPACK_OPTIONS (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:116:13) at requireConfig (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:118:6) at D:\OneDrive\software\diamCopy\src\ni.diam. Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:125:17 at Array.forEach (<anonymous>) at module.exports (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\utils\convert-argv.js:123:15) at yargs.parse (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:71:45) at Object.parse (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\yargs\yargs.js:567:18) at D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:49:8 at Object.<anonymous> (D:\OneDrive\software\diamCopy\src\ni.diam.Web.Mvc\node_modules\webpack-cli\bin\cli.js:365:3) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:690:17)
npm
ERR!
code ELIFECYCLE
npm
ERR!
errno 1
npm
ERR!
[email protected] build: webpack --mode=production
npm
ERR! Exit status 1
npm
ERR!
npm
ERR! Failed at the [email protected] build script.
npm
ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm
ERR! A complete log of this run can be found in:
npm
ERR! C:\Users\nishi\AppData\Roaming\npm-cache_logs\2019-07-15T17_19_54_441Z-debug.log
both are 0.9.1.0
hope we get the reply soon :)
I was using the database generated unique index for id .But I have a following scenario
Every Tenant have unique InvoiceNo
Tenant 1 --- invoice 001 Tenant 2 --- invoice 001
if i make TenantID and InvoiceNo as composite primary key then I dont need to write much code if I use id then every time i have to check that Tenant in use have this invoice or not before entrying the new invoice .
please let me know the better way to implement the above condition
thanks
can u be more specific on "<span style="color:#FF0000">not easy</span>" part .Is there any example?