sebastian-software / prepublish Goto Github PK
View Code? Open in Web Editor NEWSimplifies the prepare step (bundling, transpiling, rebasing) during publishing NPM packages.
License: Apache License 2.0
Simplifies the prepare step (bundling, transpiling, rebasing) during publishing NPM packages.
License: Apache License 2.0
After running 'npm run prepare' I'm getting this error:
module.js:549
throw err;
^
Error: Cannot find module '../build/Release/hash'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\dev\react-projects\shared\gw-style- tools\node_modules\xxhash\lib\xxhash.js:4:13)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
I just had a package.json, and a src folder with index.js, and then followed the readme file, and the Install section. I work on a Windows computer, with a PowerShell terminal.
Have u seen this error before? Does the package run well on Windows? Can u suggest a remedy?
The current code base uses some series
helpers and Promises. This leads to some pretty deeply structured code. I figure with the current solutions in place something based around async-await would be nicer.
With libraries like chokidar it should be relatively easy to add a development mode where we watch the source files for any changes to trigger a rebuild. This is especially useful when the project is linked into other projects during development e.g. because of using npm/yarn link or because some Lerna multi repository setup is used.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.