Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in building for spark #4

Open
ponnathdeepak opened this issue Feb 12, 2020 · 0 comments
Open

Failure in building for spark #4

ponnathdeepak opened this issue Feb 12, 2020 · 0 comments

Comments

@ponnathdeepak
Copy link

ponnathdeepak commented Feb 12, 2020

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 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant