Git Product home page Git Product logo

Comments (5)

Sean-Snow avatar Sean-Snow commented on August 18, 2024

update to 0.0.9

from jspos.

mahalamobile avatar mahalamobile commented on August 18, 2024

C:\Program Files\nodejs\node_modules\jspos>npm install

[email protected] prepublish C:\Program Files\nodejs\node_modules\jspos
npm run compile

[email protected] compile C:\Program Files\nodejs\node_modules\jspos
babel src -d lib --only src

src doesn't exist

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\User\AppData\R
oaming\npm\node_modules\npm\bin\npm-cli.js" "run" "compile"
npm ERR! node v5.6.0
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] compile: babel src -d lib --only src
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] compile script 'babel src -d lib --on
ly src'.
npm ERR! This is most likely a problem with the jspos package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel src -d lib --only src
npm ERR! You can get their info via:
npm ERR! npm owner ls jspos
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Program Files\nodejs\node_modules\jspos\npm-debug.log

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\User\AppData\R
oaming\npm\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v5.6.0
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prepublish: npm run compile
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'npm run compile'.
npm ERR! This is most likely a problem with the jspos package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run compile
npm ERR! You can get their info via:
npm ERR! npm owner ls jspos
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Program Files\nodejs\node_modules\jspos\npm-debug.log

from jspos.

Sean-Snow avatar Sean-Snow commented on August 18, 2024

delete package.json "prepublish": "npm run compile"

from jspos.

mahalamobile avatar mahalamobile commented on August 18, 2024

npm install works, but npm test fails now

thanks

C:\Program Files\nodejs\node_modules\jspos>npm install

C:\Program Files\nodejs\node_modules\jspos>npm test

[email protected] test C:\Program Files\nodejs\node_modules\jspos
babel-node tests/index.js

module.js:341
throw err;
^

Error: Cannot find module 'C:\Program Files\nodejs\node_modules\jspos__tests__
index.js'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Function.Module.runMain (module.js:447:10)
at C:\Program Files\nodejs\node_modules\jspos\node_modules\babel-cli\lib_ba
bel-node.js:161:27
at Object. (C:\Program Files\nodejs\node_modules\jspos\node_modul
es\babel-cli\lib_babel-node.js:162:7)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
npm ERR! Test failed. See above for more details.

C:\Program Files\nodejs\node_modules\jspos>

from jspos.

Sean-Snow avatar Sean-Snow commented on August 18, 2024

cd jspos
babel-node tests/index.js

from jspos.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.