Comments (5)
@michaelkrog did you run the latest version npx [email protected]
? What is the exact command (incl. parameters) you used? Which nodejs version are you using?
from xliff-simple-merge.
I am on Mac with Node 18.
$ node -v
v18.18.2
$ npx xliff-simple-merge
Need to install the following packages:
[email protected]
Ok to proceed? (y)
node:internal/modules/cjs/loader:1080
throw err;
^
Error: Cannot find module './merge'
Require stack:
- /Users/michael/.npm/_npx/e03d4c773e3b6fa8/node_modules/xliff-simple-merge/dist/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/Users/michael/.npm/_npx/e03d4c773e3b6fa8/node_modules/xliff-simple-merge/dist/src/index.js:10:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/michael/.npm/_npx/e03d4c773e3b6fa8/node_modules/xliff-simple-merge/dist/src/index.js'
]
}
Node.js v18.18.2
from xliff-simple-merge.
Looking at the contents of the release, isn't merge.js missing?
https://cdn.jsdelivr.net/npm/[email protected]/dist/src/
from xliff-simple-merge.
@michaelkrog Thanks for finding the cause for this. Not sure why this happens, though.. I'll try to cut another release and see if it is correct..
from xliff-simple-merge.
@michaelkrog not sure why it ever worked before (maybe depending on OS where release was created..). Please let me know if 1.2.2 does not resolve this!
from xliff-simple-merge.
Related Issues (12)
- Support XLIFF 1.2
- xliff-simple-merge fails on unix host HOT 2
- Failure on 1.1.0
- [Bug] The --exclude-file value is interpreted as the file content instead of the file path HOT 2
- No way to prevent newlines being added to the merged output HOT 3
- Support note tags
- support translation state for xliff 1.2
- Prevent replacement of apostrophes with html character entities HOT 4
- TypeError: Cannot read properties of undefined (reading 'attr') HOT 3
- Merge changes to notes HOT 3
- Not copying source to target when "newTranslationTargetsBlank" is true and "sourceLanguage" is also true HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xliff-simple-merge.