You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to build the examples in tests folder for spark following the readme document but failed using node version v10.15.3 and npm version 6.11.1.
I have successfully installed the dependencies using npm i in \tests\sparkgl\text folder with the package.json available there.
Then the running of release-spark was success using command
npm run release-spark
Then I moved to dist/spark folder and installed the dependencies with package.json in dist/spark folder using command
npm i
This results in generation of lightning-demo-spark.js file in dist/spark folder
But when I run lighning-demo-spark.js from the \tests\sparkgl\text folder it fails.It show the error that the script lightning-demo-spark.js is missing.The command used is
npm run dist/spark/lightning-demo-spark.js
Here is the output from npm run dist/spark/lightning-demo-spark.js
D:\project\Lightning-PlusPlus\tests\sparkgl\text>npm run dist\spark\lightning-demo-spark.js
npm ERR! missing script: dist\spark\lightning-demo-spark.js
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\deepak.p\AppData\Roaming\npm-cache\_logs\2020-02-12T09_24_17_290Z-debug.log
The complete log of this run is as:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\deepak.p\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dist\\spark\\lightning-demo-spark.js' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: dist\spark\lightning-demo-spark.js
4 verbose stack at run (C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:155:19)
4 verbose stack at C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:63:5
4 verbose stack at C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:116:5
4 verbose stack at C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:435:5
4 verbose stack at checkBinReferences_ (C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:391:45)
4 verbose stack at final (C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:433:3)
4 verbose stack at then (C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:161:5)
4 verbose stack at C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:281:12
4 verbose stack at C:\Users\deepak.p\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:115:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
5 verbose cwd D:\project\Lightning-PlusPlus\tests\sparkgl\text
6 verbose Windows_NT 10.0.16299
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\deepak.p\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "dist\\spark\\lightning-demo-spark.js"
8 verbose node v10.15.3
9 verbose npm v6.11.1
10 error missing script: dist\spark\lightning-demo-spark.js
11 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered:
I have tried to build the examples in tests folder for spark following the readme document but failed using node version v10.15.3 and npm version 6.11.1.
I have successfully installed the dependencies using npm i in \tests\sparkgl\text folder with the package.json available there.
Then the running of release-spark was success using command
npm run release-spark
Then I moved to dist/spark folder and installed the dependencies with package.json in dist/spark folder using command
npm i
This results in generation of lightning-demo-spark.js file in dist/spark folder
But when I run lighning-demo-spark.js from the \tests\sparkgl\text folder it fails.It show the error that the script lightning-demo-spark.js is missing.The command used is
npm run dist/spark/lightning-demo-spark.js
Here is the output from npm run dist/spark/lightning-demo-spark.js
The complete log of this run is as:
The text was updated successfully, but these errors were encountered: