Code Monkey home page Code Monkey logo

persistent-package-linker's People

Contributors

ryb73 avatar ties-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ryb73

persistent-package-linker's Issues

Error while linking : path.split is not a function

Hi,
I got this error since upgrading node and npm :

Node: v13.9.0
npm: 6.13.7
ZSH 5.7.1 on OSX. 

Log:

$:~/app$ ppl link-file
[INFO] Re-linking all packages from package-links.json
[ERROR] Error while linking:
 TypeError: path.split is not a function
    at Object.projectRoot (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/actions/paths.js:7:18)
    at JSONFile.path (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:47:24)
    at JSONFile.<anonymous> (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:55:29)
    at step (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:32:23)
    at Object.next (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:13:53)
    at /Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:3:12)
    at JSONFile.get (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/json-file.js:51:16)
    at Command.<anonymous> (/Users/user/.nvm/versions/node/v13.9.0/lib/node_modules/persistent-package-linker/dist/actions/relink.js:47:52)
[SUCCESS] Done!
[root-path] resolved: /app

package-links.json:

{
	"isLinked": null,
	"links": [
		"package1",
		"package2"
	]
}

Both package1 and package2 are built and linked (npm link locally).

Any idea what the problem might be?

Thanks!!

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.