You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/blerf/package.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "blerf",
3
-
"version": "0.0.1",
3
+
"version": "0.0.2",
4
4
"description": "Blerf monorepo/solution/project management tool. Handle dependencies and run build tasks when source files change. Pack for publish, pack for deployment.",
// Workaround errors during npm install with file: references in package-lock.json, f.ex this error message:
97
+
// verbose stack Error: ENOENT: no such file or directory, rename 'd:\Code\festtest\lib-b\node_modules\.staging\lib-a-3f8fcb24\node_modules\@babel\code-frame' -> 'd:\Code\festtest\lib-b\node_modules\.staging\@babel\code-frame-7800f1dd'
98
+
// This occurs when installing a project which depends on a file:-based library, and dependencies were removed from the library.
99
+
// And this error message:
100
+
// npm ERR! Cannot read property 'match' of undefined
101
+
// This also occurs when installing a project which depends on a file:-based library, and there were changes in the library dependencies.
102
+
// Haven't been able to reproduce this. There were bogus entries for dependencies of a file:-based reference without version:
103
+
// "version": "file:../project",
104
+
// ...
105
+
// "dependencies": {
106
+
// ...
107
+
// "@babel/core": {
108
+
// "bundled": true
109
+
// },
110
+
111
+
// To resolve both of these, check for changes in the referenced package.json,
112
+
// remove such file:-based entries in the parent package-lock and run npm install.
0 commit comments